Hi all! I have created a table of contents for an InDesign document that can automatically be updated. It's very handy! But... my client now wants blank lines in between sections. And I can't for the life of me figure out how to add in those spaces. I've tried everything I can think of. Let me know if you know how to do this! I imagine it's a matter of creating a new style, but I couldn't get it to work. I'm new to this automatic TOC thing, so I probably am just not understanding. Anyway, thanks for any help you can give me. I'm attaching an example of what I'm looking to do.
You just have to add a space after on the 4th and the 9th paragraphs. No need to create a different style.
Oh, sorry. I didn't explain this well enough. These reports are several hundred pages long. They are updated a lot and change report to report. So I'd rather have it automated... if at all possible.
A typical table of contents is going to pull in several different paragraph styles: titles, head1s and head2s, for example.
If you have a section title that you are pulling in, add the spacing above value to its TOC style.
If not, you are going to need a specific style to add the spacing values to. You can add it in the body of the document and make it look just like all of the other titles. But it would need to have a unique style name.
I do have a title style I'm pulling in... and I tried adding in a space after... but it ignored it... when I updated the TOC, it didn't include it. It must be something in the TOC style vs. a normal paragraph style...
Copy link to clipboard
In a generated TOC, you want map the styles you are pulling from the document to TOC-specific styles. For example, if the TOC is pulling in Title, create a new style called TitleTOC or TOCTitle (the name doesn't matter). Map Title to TitleTOC and add the space before to TitleTOC.