Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Table of Contents: how to make page reference align with first line

Contributor ,
Feb 23, 2024 Feb 23, 2024

Hi all,

 

InDesign CC latest version. MacOS

 

The TOC I'm working has certain lines that run longer than single line, which causes the page number reference to not align with the first line, which is what I want. What should I do? See below screencaps for details:

 

Screenshot 2024-02-24 at 11.11.17.pngScreenshot 2024-02-24 at 11.18.20.pngScreenshot 2024-02-24 at 11.11.32.png

 

 

TOPICS
How to
543
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Feb 23, 2024 Feb 23, 2024

I don't think this can be done automatically, but you could manually apply a child character style that shifts that number up one line height. It should be based on the style defined for the TOC numbers.

Translate
Community Expert ,
Feb 23, 2024 Feb 23, 2024

I don't think this can be done automatically, but you could manually apply a child character style that shifts that number up one line height. It should be based on the style defined for the TOC numbers.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Feb 24, 2024 Feb 24, 2024

Thank you for your reply James. Ended up doing it manually like you said.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 24, 2024 Feb 24, 2024

If the TOC is 'one and done' and having to infrequently update it, then fix these lines is not a huge task, that's one approach. But I did think of an alternate approach —

 

  • Create a secondary style for those very long headings (e.g. Heading2-wrap).
  • Assign that heading level to the same TOC level as the base style.
  • Create secondary Character Styles that bump the page number (and, if desired, leader) by one line-height (eg. TOCleader-bump and TOCnum-bump).
  • Assign those styles to TOC entries collected using the alternate style.

 

The leader in particular might be tricky unless you use the Balance Ragged Lines option, and even then. But the number alone should work perfectly, and automatically:

 

JamesGiffordNitroPress_1-1708793678026.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Feb 25, 2024 Feb 25, 2024
LATEST

Thank you James, nice one

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines