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

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

Contributor ,
Feb 23, 2024 Feb 23, 2024

Copy link to clipboard

Copied

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

Views

141

Translate

Translate

Report

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.

Votes

Translate

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

Copy link to clipboard

Copied

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.


┋┊ InDesign to Kindle (& EPUB): A Professional Guide, v3.0 ┊ (Amazon) ┊┋

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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


┋┊ InDesign to Kindle (& EPUB): A Professional Guide, v3.0 ┊ (Amazon) ┊┋

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

Thank you James, nice one

Votes

Translate

Translate

Report

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