Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Wrapping long chapter titles in table of contents

Return to Member Forum

  • Author
    Posts
    • #14356480
      Nick B
      Participant

      Hi

      I produce a range of academic books and sometimes the chapter titles are quite long. When I generate the TOC the text will run to the right margin then wrap to the next line but now the page number sits under text at the right margin. There might be some settings or feature I haven’t thought of, but it’s eluded me so far!

      In my trial-and-error attempts to achieve this, I wondered if a right indent (to wrap the long text before the right margin) combined with a tab set outside the indented right margin and a right indent tab () between the TOC text and page number might work. Unfortunately, that still just aligns the page number to the indented margin (well, as it should I guess). I manage styles consistently across the range by syncing with a dedicated styles master document and don’t want to have exceptions that could be overwritten in future updates, so a style-based solution is what I’m hoping for.

      To date, I’ve generated the TOC and then gone through manually inserting line breaks in the chapter titles that need them. However, I will often have updated the TOC with each proof stage, so having to repeat this manual process every time is prone to error and just takes up time.

      Is there some way to format the styles involved to wrap the lines short of the right margin so the page numbers always sit in a clear right-aligned column? I use dot leaders in case that causes problems with hacky-type solutions.

      Thanks for any suggestions

      Nick

    • #14356481
      Godfried Vonk
      Participant

      Maybe this is a solution: give the entire paragraph a right indent, and then use a negative value for the ‘last line right indent’ to hang the numbers off to the right side.

    • #14356483
      Petar Petrenko
      Participant

      I ususally use these values:

      Right indent 12 mm
      Last line indent -12 mm

    • #14356486
      Nick B
      Participant

      Of course that works, and was staring me in the face in the style options!

      Thanks to you both.

      Nick

    • #14390288
      Civi Bernath
      Participant

      So glad to find an existing conversation about this.
      Yes, of course the last line indent is the answer. But when the type just barely fits onto the first line, it comes right up to the page number, without any leaders at all. I’d like to tell it to flow to the next line but I still haven’t figured out to do it! Until I find the solution, I manually add a soft return where needed!:(

Viewing 4 reply threads
  • The forum ‘General InDesign Topics (CLOSED)’ is closed to new topics and replies.
Forum Ads