Is there a way to right-align a first set of numbers (like a chapter number) in a TOC while having the chapter (area) title left align, then have the page #'s right align? As you can see in the screenshot, the location numbers are left aligned. they should be right-aligned. There are over 100 entries, so this needs to be automatic to all of the #'s look right-aligned tabular.
In the book's text, there's a paragraph style with an autogenerated numbered list then the location name, so I was hoping that'd help. I tried setting the TOC entry style to tabular under OpenType but the setting doesn't do anything when there's no leading zero to fix tabular #'s.
Attached is the look I need from another book I have. I'm trying to replicate the TOC look. We don't want periods after the area number (so align on period doesn't work in this case).
The area numbers are autogenerated from the technique in this post in the paragraph style for the area title:
I found this posting:
But the tabular figures option in OpenType didn't do anything, as there's no leading 0. This is especially true since there are 100+ areas. Adding the leading 0 to make tabular look correct makes the TOC and area #'s in the book look really weird.
The look I need:
The look I have:
You should be using auto numbering - https://www.youtube.com/watch?v=fu9aqzUPuqM&ab_channel=DanRodney
I've got auto numbering active in the main part of the text using numbered lists that jump frames/threads. However, those numbers naturally come into the TOC.
When I add numbered lists to the TOC, then I end up with 2 numbers (as expected).
(TOC pulls in the auto-generated #'s in the text, as expected, and adding a right-aligned numbered list to the TOC entry style creates the double entries, as expected)
How do I remove the auto-generated numbers from the area title that the TOC brings in so I can use the numbered list generated by the TOC entry style?
(area #'s are autogenerated)
That's the crux - either remove the number from the text the TOC brings in and add in a right-aligned numbered list in the TOC style, or figure out how to right-align the auto-generated #s that come in from the page text.
See at the bottom of the TOC Options
It says - turn off Numbered Paragraphs.
Do this - and then add the numbering to your TOC Paragraph Style
Copy link to clipboard
(Sorry for the German UI)
Sweet, I think that'll work. Let me try it.
I hope you have threaded text frames. If not and the text frames are not in the correct order you will run into problems like this:
in that case:
Copy link to clipboard