How do I Right-align TOC numbers if they're not

Hello, i'm talking from Italy.
I've a little question about TOC.
I wrote my thesis for my degree, placing the TOC at page 5. Since this... no problems.
Right now i finished writing and wanted to update the TOC. But... surprise... the page numbers doesn't right align as i would!!!
I'd like to have this,
| Title ...................1 |
| Subtitle............2 |
| Subtitle............6 |
| Title..................19 |
| Subtitle..........22 |
( Even without dots if it's not possible. The numbers should be aligned but here you can't see this. )
But... i have this!!!
| Title 1 |
| Subtitle2 |
| Subtitle6 |
| Title19 |
| Subtitle22 |
it's such a DISASTER!
Can i solve this problem? My university requires page numbers.
Thank you.
Message was edited by: giggionline

Select the TOC by clicking in it. It will help you if you have Show invisibles on.
Now you can align the number by pulling the small blue triangle on the ruler.
!http://img686.imageshack.us/img686/7861/tocp.jpg!
Now open the Inspector > T tab > Tabs > click on Leader button> choose leader

Similar Messages

  • Right-align footnote numbers

    Is there a way to right-align footnote numbers so that they will align like this:
      1. Text of footnote
    12. Text of footnote
    123. Text of footnote
    instead of like this (an abomination):
    1.   Text of footnote
    12.  Text of footnote
    123. Text of footnote
    The obvious way would seem to be to add a tab as prefix (in Document Footnote Options|Numbering and Formatting) and set the tab as right-aligned in the paragaph style, but the dialog will not accept a tab (^t).
    I can't see any way to set the alignment in the para style options either.
    At the moment I use three paragraph styles Fn #, Fn ## and Fn ### with varying indents, but it’s cumbersome and unreliable having to reassign styles when footnotes are added or deleted.

    In 2006-2007 I converted 32 publications from Ventura to InDesign. From 200 pages to 3,200 pages. I feel your pain. Ventura was a crazy program. I was updating things in Ventura. I'd save it and go home and then the next day half the book (not the changes just literally half the text from the book) had disappeared. Gone. So frustrating.
    Regarding indexing:
    We outsourced our indexing to an indexer, we just gave him/her a pdf of the book and we a got an index back.
    Similar to yourself, it has cases and statutes in all the books. So I've never really used the indexing feature, I have ledt that to a pro indexer. Hopefully someone else can you point you on that.
    But if you need any more help converting from Ventura to InDesign let me know. I did a lot of automating of the books, chapter numbers, pages, numbered paragraphs, TOCs etc.
    My proudest moment was using GREP to apply styles to the 3,200 page book. I opened all the chapters and applied master pages with variables for running heads (as they changed each page (cs3 came along just at the right time ). I then proceeded to GREP find and replace millions of text across literally thousands of pages. I applied all the styles to all the text in the right places in 2 days. It then took me 2 weeks to proofread my new document. Which had a few hic-ups but sorted quite easily.
    So hopefully my little success story will inspire you some how.

  • Right align page numbers that are to the left of TOC entries

    I posted a similar question about a year ago that I believe Harbs or Peter answered, but darned if I can find the thread. At that time they provided a script that did a GREP search, finding a sentence that starts with a digit and replacing it with a tab. I still have the script, but for some reason it is not working correctly with my new TOC layout.It should insert a tab to the left of the page number (page numbers are to the left of the TOC entries), and force the numbers to right align so that a single digit page number right aligns with the right edge of a double-digit page number.
    Find: ^(\d+)
    Change to: \t$1
    What happens in the new TOC is the script finds a digit and inserts a tab to the left of the page number. The page numbers move to the right, but they don't right align. They are further to the right, but they numbers themselves are still left aligned.
    I'm mystified as to why the script doesn't work on this new layout. I'm using CS4 now, and it still works on the old layout. There is nothing terribly different about the new layout except that the column is much narrower, and there are several threaded colums in the TOC instead of one long column, and the chapter titles don't have page numbers (but all other entries do have page numbers.)

    Peter,
    Thanks for your reply. Between the page number and the entry is an en-space.
    I started with these settings:
    I then changed the left aligned tab to a right aligned tab:
    But still no luck.

  • Right align all numbers in table of contents

    One of the entries in my table of contents has the page number right beside the entry. The rest of the page numbers are right aligned.
    When I "Show Invisibles", an arrow is in the single space between the entry and the page number. For the remaining entries, it is in the middle of the page.
    I've tried redoing the heading on the page in question about 100 times. I cannot figure out what is different about that heading that is screwing the ToC up.
    Thanks.

    Hey
    I'm really struggling with my pages as I have created a table of contents for iWork09 but it's defaulted for the pages numbers to sit directly after the chapter rather than face the opposing side like your picture shows. I tried changing the tabs and then the text layout from left to across the page but all it does it push the numbering to the next line (for the longer titles) and push the numbers across (for the shorter named titles). I can't even get the lines to appear so that the chapter title appears, then some dots leading to the number. Any ideas?

  • How can I right-align a table header?

    Does anyone know a way to right-align a table header?
    For example, in the table below I want the word 'Price' to be right-aligned. I could set the table's 'header renderer' to be a right-aligned DefaultTableCellRenderer, but then the header would look like a cell, not a header. Why can't swing be simple, like table.getColumn(1).setAlignment(Column.RIGHT) ????
    public class TestTableHeader {
         public static void main(String[] args) throws Exception {
              JFrame frame = new JFrame("Test");
              Object[][] rowData = new Object[][] { { "General Electric", "$100.60" },
                        { "IBM", "$5.20" }, { "Wal-mart", "$17.00" } };
              JTable table = new JTable(rowData, new Object[] { "Name", "Price" });
              DefaultTableCellRenderer renderer = new DefaultTableCellRenderer();
              renderer.setHorizontalAlignment(DefaultTableCellRenderer.RIGHT);
              table.getColumnModel().getColumn(1).setCellRenderer(renderer);
              frame.getContentPane().add(new JScrollPane(table));
              frame.setSize(400, 300);
              frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
              frame.setVisible(true);
    }

    I modified your code an came up with a solution to the problem.
    import java.awt.Component;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.table.DefaultTableCellRenderer;
    public class TestTableHeader {     
         public static void main(String[] args) throws Exception {
              JFrame frame = new JFrame("Test");
              Object[][] rowData = new Object[][] {
                        { "General Electric", "$100.60" }, { "IBM", "$5.20" },
                        { "Wal-mart", "$17.00" } };
              JTable table = new JTable(rowData, new Object[] { "Name", "Price" });
              RightAlignRender right = new TestTableHeader().new RightAlignRender();
              table.getColumnModel().getColumn(0).setHeaderRenderer(right);
              table.getColumnModel().getColumn(1).setHeaderRenderer(right);
              frame.getContentPane().add(new JScrollPane(table));
              frame.setSize(400, 300);
              frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
              frame.setVisible(true);
         public class RightAlignRender extends DefaultTableCellRenderer {
              public Component getTableCellRendererComponent(JTable table,
                        Object arg1, boolean arg2, boolean arg3, int arg4, int column) {
                   Component toReturn = table.getTableHeader().getDefaultRenderer().getTableCellRendererComponent(table,
                             arg1, arg2, arg3, arg4, column);
                   switch (column) {
                   case 0:
                        ((JLabel) toReturn).setHorizontalAlignment(DefaultTableCellRenderer.CENTER);
                        break;
                   case 1:
                        ((JLabel) toReturn).setHorizontalAlignment(DefaultTableCellRenderer.RIGHT);
                        break;
                   return toReturn;
    }

  • How do I right align the component af:navigationPane?

    First I should say that I use Jdeveloper Studio Edition Version 11.1.1.0.1.
    I have a template that in one place in the template contain these components
    <afh:cellFormat halign="right">
    <af:navigationPane>
    <af:commandNavigationItem/>
    <af:commandNavigationItem/>
    <af:commandNavigationItem/>
    <af:commandNavigationItem/>
    </af:navigationPane>
    </afh:cellFormat>
    I want to right align the cellformat and navigationPane which has the hint property set to bar. I have tried to set the Halign property of the cellFormat to right and if I have an outputText inside the cellformat it gets right aligned so I guess that works but I cant get the commandNavigationItems to right align inside the navigationPane. I have tried to set the the text-align:right; in the navigationPane but that doesn´t work. The only thing that seems to work is to set the width of the last cellformat but since the width of one of the commandNavigationItems varies it isnt a good solution either. Can´t right alignment be done with a navigationPane? Should I choose some other component instead? In case I could use another component instead, which component has similar functionality and can be right aligned?
    Atlantic Viking
    Edited by: Atlantic Viking on Feb 3, 2009 7:22 AM

    Hi,
    I have tried the sample for this :
    <af:panelGroupLayout id="pgl41" layout="horizontal" halign="right">
    <af:navigationPane id="np1" hint="tabs">
    <af:commandNavigationItem id="cn1" text="Test1"/>
    <af:commandNavigationItem id="cn2" text="Test2"/>
    <af:commandNavigationItem id="cn3" text="Test3"/>
    <af:commandNavigationItem id="cn4" text="Test4"/>
    </af:navigationPane>
    </af:panelGroupLayout>
    It works fine.
    Is it af:navigationPage(new tag) or af:navigationPane.

  • How to set Right Alignment for a JTable column

    Hi,
    I am using a JTable for displaying database records using AbstractTableModel. It works fine. But, for the numeric fields I want to make records right aligned using setHorizontalAlignment. I tested with TableColumn.setHorizontalAlignment but it ends up with an error. Is there a solution? Please help me. Thanks in advance.
    bhuvana.

    In you table cell renderer you can specify the alignment of the text.
    public class MyTableCellRenderer extends JLabel implements TableCellRenderer
    public MyTableCellRenderer
    setOpaque(true);
    setBackground(Color.white);
    public Component getTable.....(JTable table,Object value,......) //fill all these things
    setFont(table.getFont());
    if(value instanceof Float)
    setHorizontalAlignment(SwingConstants.RIGHT);
    setText(value);
    return this;
    This would set all the Floats to RIGHT alignment.
    Thanks,
    Kalyan

  • I have deleted bookmarks, but they still show up in the 'unorganized bookmarks', how do I get rid of them? They do not show up on the bookmarks menu or toolbar, or 'organize bookmarks' Please help

    There is a total of three. I have tried many different ways, but can't get rid of them. They are not bookmarked on Firefox, but in the past there was a person on this computer that used my 'side' of the home computer without authorization. I will try erasing history next, other than that, haven't the slightest idea of how to get rid of them. I don't go to those sites, and want them gone (as does my wife).

    A possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox

  • How do I access templates in InDesign?  They are not listed on the welcome screen.

    How do I access the templates in InDesign?  They are not listed on my "welcome screen". 

    There are no templates with recent versions of InDesign.
    However, the website InDesignSecrets.com has rescued the old ones from vintage CS4 days and has posted them on their website:
    http://indesignsecrets.com/indesign-templates

  • HT5902 how to I put in my iCloud so they do not delete

    I am new to this Icloud thing and have about 10 questions so let me start here. If photos are in my stream, how do I put the photos in my cloud? I know they delete after 30 days or 1000 photos which ever is first. But I am not good about syncing things

    You could actually move it to the camera roll, but that might be a mute point now given the following.
    If you want to use iCloud to keep photos synced between your devices permanently you should put them into a photo stream shared stream, they are not subject to a 30 day limit.
    The reason I didn't suggest it originally is because it reduces the resolution of your photos (not so you'd notice on a mobile device), but if you have the originals on either the camera roll or your mackbook, you should be OK.

  • How do you get songs to work when they will not work..

    How do you get songs you bought on the ipod when they will not play..

    Talk to the iTunes Store support and/or contact the publisher.
    tt2

  • Once more on right-aligning footnote numbers with GREP

    For some jobs I want the footnote numbers in the notes to align on the period that I have IDCS4's Footnote Options add (along with an en-space) as the Separator between the note number and the text of the note.  No big deal if I define the footnote paragraph style with an "Align to Decimal" tab and then insert that tab at the start of the note.  I recently bumped into this thread from 2009 where RodneyA described this in more detail, and Eugene Tyson added a GREP search to automate adding the tab: replace (~F) with \t$1.
    I cannot get this to work in IDCS4.  Did it work in earlier versions?  Earlier this year Jongware explained that GREP cannot replace a footnote marker, only look ahead or behind the marker to replace whatever.  Unfortunately, in my footnotes there's nothing ahead of the footnote marker for GREP to replace until I manually put my tab there.  Adding those tabs to hundreds of notes by hand isn't so bad (jumping with Ctrl + arrow keys), and ID's propensity for occasionally eating a note means I need to check them all anyway.  But am I wrong in thinking that if I want to automate adding the tabs I'll need to do so via JSX?
    Thanks,
    David

    David, when stating you cannot get something to work it's important you also tell why
    But when I tried your "replace (~F) with \t$1" for myself it became real obvious straight away: the code ~F does not only indicate "the footnote reference number" but also the footnote itself in the text. So, while it works in the sense that you get a tab before the footnote number code, you get loads of extra tabs in your text as a bonus.
    There are several ways to circumvent this. The most obvious is to limit the replace operation to just the paragraphs styled with your footnote style. If that's a unique one (mine usually is), it'll work straight away. That's Eugene's first answer in the previous thread -- possiblly you forgot to set this Paragraph style in the Find Format field.
    Another way is to only add a tab when the footnote number code is at the start of a line:
    ^~F
    replace with
    \t$0
    (You are correct in noticing the "lookbehind" trick cannot be reversed to a lookahead for just 'start of line followed by the footnote number code'. It's a Limitation of InDesign's particular flavor of GREP.)
    This one may fail if you ever have a footnote at the start of a paragraph
    Yet another way is to try to make use of the vertical position of the footnote number code. If your references are in superscript (which is fairly regular) and the numbers in the notes themselves are not (which they may or may not be), you can look for
    ~F (+ position: normal)
    and replace with itself plus a tab before, as above. (A variant could be to use a character style for the superscripted references and look for [None] character style to pick up the ones inside the footnotes.)

  • My apps that are stored in itunes, how do I delete some of them so they do not show up anymore when I restore my phone?

    In the itunes store where I have my apps and contacts "stored", how can I delete the ones I do not want anymore.  I just restored my phone and it had items on it that I do not need or use anymore

    The restore should only have restored onto your phone what you had on it when you last backed up. You can delete apps from your phone by pressing and holding them for a couple of seconds until they shake, and they should then get an 'x' on their top corner - then back up again. You can also delete them from the Apps part of your computer's iTunes library by selecting them and pressing the delete key on your keyboard.
    You can't permanently delete any items from your purchase history, all you can do is hide them via your computer's iTunes so they don't show in the Purchased links for redownloading : http://support.apple.com/kb/HT4919
    If your phone is on iOS 7 then after hiding them on your computer's iTunes you might need to log out and back into your iTunes account on your phone for them to be hidden from the Purchased tab in the App Store app on it
    Message was edited by: King_Penguin

  • How do I get my itunes certificate if they do not send it to me.

    I purchased an itunes certificate last night and I never received my confromation number. I don't know if this is the email address problem or what. I was charged but can not get to my money. Please advise.

    Restore from your most recent backup.
    You did backup your device beofre updating the software, right?

  • How do i erase my purchaced aps so they do not appear on my phone?

    When i got into my app store, all of my apps that I have previously purchased show up for me to quick download then. how do I erase these?

    to hide em from purchases see this
    http://support.apple.com/kb/HT4919?viewlocale=en_US
    Peace, Clyde

Maybe you are looking for

  • Cannot open links in Mail--error message "IMDontAskAgainBigNoCancel.nib"

    All of a sudden, I get the following error message when I try and open a link sent to me in Mac Mail---"IMDontAskAgainBigNoCancel.NIB". I downloaded Thunderbird thinking that it was a Mac Mail problem, but the same thing is happening. The error messa

  • CLIENT_RECEIVE_FAILED Error in Client Java Proxy

    Hi. All.. Do you experience CLIENT_RECEIVE_FAILED Error ? This pattern is java proxy -> xi -> abap proxy. It's occurring in xi server ( QAS ) . ( I guess that is internal error. ) I did refresh CPACache. but I don't solve. This interface is very good

  • Where to find bi11.1.1.5

    Hello, I just want to know only one thing by any chance is it possbile to download obiee 11.1.1.5 version for linux machine -64 bit? In the oracle.com its not available its avialble for HP machine. In the edelivary also i tried but somehow not able t

  • Change ITEM value:  VARAD

    Hi, My question is: When page is populated the project_id is equal to 8, when I change project_id to 5 and click Submit button it updates the record with project_id 8 and not 5. Is there a way to change this so that it gets the current value.... Than

  • IMac auto start up

    My iMac occasionally starts up by itself - how do I ensure it does not do this after I have shut it down? (apart from unplugging it!)