Will you please show your results, with hidden characters visible (Type > Show Hidden Characters). Chances are it will come down to your tab settings, but we need to see what character follows the paragraph numbers to give you specific instructions.
As for the line breaks, InDesign copies the text from the source chapters as is—so if you pressed Sh+Enter to break the lines, then that will be copied to the TOC. Are there soft returns/line breaks in the heads? Alternative ways to control the breaks is that does not impact the TOC:
Thanks for your response. I will take a look at your suggestions for the line breaks but in the meantime I am attaching my result as well as how I indicated the styles in the dialog box. I am also attaching the way I had formatted it correctly with the hidden characters showing. When I applied the styles, the tabs got removed for some reason that I just can't figure out.
Ok, I can see the hard return characters at the end of the short lines. So you will want to remove those from the source documents and then update the table of contents.
As for the rest of the formatting, you want to have tabs and not spaces following the paragraph numbers. And that should also be happening in the source documents.
Finally, I see that you're creating hanging indents by manually adding spaces. You can do that with your paragraph style. I'm not at my computer right now but I'll be back in about an hour. I'll send an image that shows you how to set it up. If you want to give it a try on your own, the way the correct way to create a hanging indent is to set a left indent that matches the tab position. Then have a negative 1st line indent that pulls the first line left back towards the margin.
I'm trying to add tabs to the paragraph headings as you suggest. ie 1.1. [Tab] then title but the tab space seems very large even at a '0' measurement. Also when I try to add a tab to my sub heads I am getting a leader line even though there is no leader specified in the tab box. For some reason it is picking up that style from somewhere.
I'm getting closer. I inserted tabs in the source document and got rid of the soft returns which did resolve The TOC 1 (Heads) and TOC2 (Subheads) issue. However, I'm not sure what to do with the TOC3 content that I currently am creating the hanging indents by spaces. When I try to add a tab in place of the space, I get a line of leader dots. How do I get rid of them?? I assume that this is coming from the TOC3 style for between entry and number...
You are so close!!
For the heading 4.1.1, the first tab is too close to the numbers, so the text is moving to the 2nd tab stop.
Select one of the TOC3s. Choose Type > Tabs. Select the first tab in the tab bar, and increase the distance until the formatting falls back into place. Then right click over TOC3 in the Paragraphs style panel and choose Redefine Style.
Thanks that worked. I think I have it all looking right now (see attached).
Now the problem I have is in the main content. Where I added the tabs, the space is very big between the number and the title. When I tried to adjust the tab and redefine the style it wouldn't work. If I cleared the overrides on them, I lost the balance ragged lines that I had created. Am I still missing something here?
The TOC looks great!
There are two ways to update a style. The easiest for most people is to fix one paragraph, and then redefine the style. Taking that approach:
- Select the 3.1 paragraph
- Type > Tabs, decrease the space for the first (and only tab)
- Type > Paragraph > panel menu > enable Balance Ragged lines
- With that paragraph still selected, right click over SubHeads and select Redefine Style to make all the other SubHeads follow suit.
That should do it!
You have been so very helpful. I am doing what you said but am still having an issue. When I redefine the style it seems to work on some but not all and the spacing seems to be not the same throughout. I checked to see if there were any overrides on the ones that aren't behaving but it doesn't look like it. I am also having a problem making the space less on the main heads as well. See attached.
Can you clarify what you mean by "spacing"? Is it the space after the tab?
You are using a font with proportional numbers which means that a 3 is wider than a 1. In addition, for the first time I am seeing a 3 digit number: 3.10. Tabs are a fixed distance from the left margin, so what you are setting is a consistent distance from the left margin on every SubHead to the first letter after the tab. Because of the proportional font and the varying number of digits, the space itself will appear wider or narrower, depending what precedes it.
- Set the tab stop to accommodate the widest possibility (so far that's 3.10 but 3.33 or 5.25 would be wider still).
- Replace the tabs with a fixed with character like an em or en space. Note that while you may prefer the look of a fixed width space, it will be copied into the TOC and then will cause alignment issues over there.
- Use a fixed with character like an em or an em, and the use Find/Change to replace that character with a tab in the TOC, after all the edits are complete.
Yes I was referring to the space after the tab. Thank you for your suggestions. I'm going cross-eyed right now so I won't try your suggestions till I've take a break but I really appreciate how helpful you have been!