Skip to main content
saxtonstudio
Inspiring
Sep 24, 2024 11:41 PM UTC
Question

How to Align Page Numbers in the Table of Contents

What am I doing / not doing to cause the page numbers to fall on the second line? I seem to recall something about adding tab settings...? (Another thread I saw suggeated "right indent tab" after the Between Entry and Number, but that didn't change things.) Two screenshots attached for reference.

 

 

<Title renamed by MOD>

This topic is closed to new replies. Start a new post to keep the conversation going.

48 replies

Willi Adelberger
Community Expert
Community Expert
Sep 24, 2024 11:52 PM UTC

Do not use a tabulator and a stop for those numbers, use a right aligned tabulator instead. When you write you would write shift-tabulator, in the dialog of the toc setup it is represented with a y instead of the t. ^t > ^y. 

Translate
saxtonstudio
Inspiring
Sep 25, 2024 12:05 AM UTC

I must be doing it wrong. When I put in ^t > ^y I got two lines before the number (see screenshot). I'm not using the tab function at all - trying to set it all up in the TOC style box. 

 

ALSO, two more related issues:

1. TOC comes in indented. I don't want that. 

2. Style used for chapters (which drives the TOC numbering) has an 18 pt. leading, and that is being translated here so I have to manually bring up each line. Not a smart way to do this I'm sure!

Translate
James Gifford—NitroPress
Legend
Sep 25, 2024 12:24 AM UTC

The format of the TOC is entirely controlled by the paragraph styles you assign to it. All you can assign in the TOC setup is the structure — i.e. where a tab goes, etc. — but not the line spacing or formatting.

 

Create a separate TOC style (you would need one per hierarchical level, but let's assume just one level). Assign that to your TOC entries. Use a simple right-align tab before the page number. Generate your TOC.

 

Now adjust the TOC style to position and format everything as you like — indent, no indent, font, spacing, tabs, etc.

Translate