Skip to main content
saxtonstudio
Inspiring
September 24, 2024
Question

How to Align Page Numbers in the Table of Contents

  • September 24, 2024
  • 1 reply
  • 9588 views

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 has been closed for replies.

1 reply

Willi Adelberger
Community Expert
Community Expert
September 24, 2024

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. 

saxtonstudio
Inspiring
September 25, 2024

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!

James Gifford—NitroPress
Legend
September 25, 2024

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.