Skip to main content
Inspiring
October 20, 2022
Answered

Table of contents page number vertical alignment

  • October 20, 2022
  • 2 replies
  • 323 views

When I have entry in Table of Contents in two lines, can I have page number follow the first line not the last line without manually editing TOC.

 

This topic has been closed for replies.
Correct answer Peter Kahrel

To position the blue page number 21 at the end of the first line, you'd have to move it up using baseline shift. Apply a value equal to the entry's leading. You can create a character style for it, but you'd have to apply that manually. If there are many entries like that a simple script can handle that.

2 replies

Peter KahrelCommunity ExpertCorrect answer
Community Expert
October 20, 2022

To position the blue page number 21 at the end of the first line, you'd have to move it up using baseline shift. Apply a value equal to the entry's leading. You can create a character style for it, but you'd have to apply that manually. If there are many entries like that a simple script can handle that.

Willi Adelberger
Community Expert
Community Expert
October 20, 2022
  1. Use tabulators between 6. and Lisa
  2. Use shift tab (code ^y instead of ^t for normal tabulator)
  3. Create a character style for page numbers