Skip to main content
likeafox2k
New Participant
June 11, 2018
Question

How to align TOC text after section number

  • June 11, 2018
  • 2 replies
  • 1791 views

Hello Friends,

I'm trying to spruce up my TOC and I can't figure out how to line up the align the text after the section numbers.

For Example:

Notice that the letters are not aligned. There must be a way to do this. Anyone know how?

Thanks for your help.

    This topic has been closed for replies.

    2 replies

    Scott Citron
    Brainiac
    June 12, 2018

    As was noted in Scott Falkner's reply (5.) you MUST use tabular figures instead of proportional figures. Tabular figures all occupy the same width, which allows them to align in a way that's not possible when using proportional figures.

    Mike Witherell
    Community Expert
    June 11, 2018

    There should be a Tab character after the number and before the text. Are you using Layout > Table of Contents generator?

    Mike Witherell
    likeafox2k
    New Participant
    June 11, 2018

    Yes, I'm using Layout > Table of Contents.

    I've added the 2 paragraph styles I wish to include in the TOC. The section numbers are generated by the paragraph styles, not the TOC though.

    Here is the table of contents settings panel.

    Should I be using different paragraph styles without section numbering for the TOC, then have the TOC settings regenerate the section numbers somehow?

    likeafox2k
    New Participant
    June 12, 2018

    Between entry and number you want a tab, which looks like this:

    You also need to set up your TOC style with a tab stop. Turn on the Tab ruler and position a tab where you want, then redefine the style. You also might want to use tabular figures if the font supports this. This way the digits before the tab will line up.


    This changes the space between the text on each line and the page number that comes after it. This s not what I am trying to modify.

    I would like to modify the space between the section numbers that come before the text and the test so that the text is aligned.

    Here is an example:

    Notice that the pages number on the far right are properly aligned, the section numbers on the left are properly aligned, but the text itself is not.

    I have a feeling I may need to change the paragraph style used for each line to achieve this.