Skip to main content
JulieKlein
Inspiring
October 8, 2017
Question

Need to set a tab in my table of contents

  • October 8, 2017
  • 2 replies
  • 4531 views

Beginning InDesign user here with a focus on book design. Windows user.

I'm working on a collection of newspaper articles. Some of the article titles are too long, and I want them to move to a second line so that the page number stays right aligned with the second line.

In the above example, I'd like it to appear as something like

Between tears and rocket lectures, a nice

    family dinner                                                            54

Guilt gets modern mothers nowhere                           59

... where the second line of a long title is a hanging indent and the page number is flush right.

I can find nothing in my resource material that resolves this issue. Any guidance or suggestions would be appreciated.

Thank you.

Julie Klein

This topic has been closed for replies.

2 replies

Barb Binder
Community Expert
Community Expert
October 8, 2017

except for limiting the length of the first line of text. I'll try a soft return, next time I'm working in the document (tomorrow).

I wouldn't add soft returns to the TOC—it negates the auto-updating—or to the source files because you won't want  them in the same place for both locations. There's a feature in InDesign specifically for this situation—it's a last line right indent.

It sounds like you are already at this point:

From here, add a right indent for the entire TOC (the entire right side moves in):

Then add a negative last line right indent to push the numbers back out:

~Barb at Rocky Mountain Training
JulieKlein
Inspiring
October 8, 2017

That's exactly what I'm trying to do! Thank you so much.

Julie

Barb Binder
Community Expert
Community Expert
October 8, 2017

You are very welcome, Julie. I have no other reason to use a last-line right indent except for this one situation. Otherwise, it sits there all alone, just waiting for a multi-line TOC so that it can step in and save the day.

~Barb

~Barb at Rocky Mountain Training
Bill Silbert
Community Expert
Community Expert
October 8, 2017

I'm assuming that you have a right tab already set for the page numbers and are asking how to do the indent for the second line of an entry. That can be done using the Paragraph Panel.

You would set a left indent for the entry and then a negative of that indent for the first line (see highlighted area above) of the entry. That way the first line of each entry would appear to have no indent while the second line would automatically indent. This can be included in a paragraph style which should also include the right tab for the page number. The simplest way to set this up is to set up one of the entries the way that you need it and while it is selected choose New Paragraph Style in the Paragraph Styles Pull-down menu. All of the attributes of the selected paragraph will be automatically included in this new style which you can then name and after clicking OK  apply to all of your entries.

JulieKlein
Inspiring
October 8, 2017

Thanks, Bill. That doesn't seem to work without adjusting the right margin at the same time. And if I do that, the page number moves away from the right-hand alignment. I appreciate your input, though.

I almost think I need to set up two columns, but I think that might mess up the TOC that draws from the chapter headings.

I'll keep trying ...

Bill Silbert
Community Expert
Community Expert
October 8, 2017

There should be no need to set up any kind of right indent. You didn't say how you've set up your tab but if you follow the screen shot below combined with the one in my first post, it should work perfectly.

The 4.36 that is entered in the "x" field is the exact width of the text frame. Note that you should be using a right tab for your page number.

One other thought is that each entry should be a paragraph ending with a hard return. For entries that must go to a second line you can use a soft return (a shift-return) to make the line break where you want it or you can just let it break itself when the text gets too long for the line.