A family of Microsoft word processing software products for creating web, email, and print documents.
See TOC Tips and Tricks by Suzanne Barnhill, MVP
I suspect we are seeing the effect of Direct Formatting in the source headings.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have a table of contents with tree levels assigned to styles H1 to H3 and with toc formatted with TOC 1, TOC 2 and TOC 3. When generation the list, TOC 2 is ok, but TOC 1 and TOC 2 seems to have the correct style, but the text in the toc is not formatted accordingly the style. Are there any other places the format is grabbed from when generating the list ?
A family of Microsoft word processing software products for creating web, email, and print documents.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Answer accepted by question author
See TOC Tips and Tricks by Suzanne Barnhill, MVP
I suspect we are seeing the effect of Direct Formatting in the source headings.
Answer accepted by question author
As you already know, the TOC 1 style controls the formatting of all level 1 entries in the table of contents, the TOC 2 style controls the formatting of all level 2 entries in the table of contents, etc.
When the entries don't display properly in the TOC, the underlying cause is usually the presence of direct font formatting in the headings themselves. Remove that formatting by selecting a heading paragraph in the main body of the document and press Ctrl+Q (to remove paragraph formatting not in style) and then press Ctrl+SpaceBar (to remove font formatting not in style). Repeat for the other headings. Update the TOC when you are done.
Hi,
You are free to post back, if you need more help.
Regards,
Eric
Thank you, Charles and Stefan.
It was source formatting in the original header.
/Poul
Hi Poul H.
Following steps is to format the test in your table of contents, especially number 5 steps. Please create a sample document and test if the issue happen in a new document.
1.Go to References > Table of Contents > Custom Table of Contents.
2.Select Modify. If Modify is grayed out, change Formats to From template.
3.Use the Table of Contents dialog box to customize the appearance of your table of contents.
In the Styles list, click the level that you want to change and then click Modify.
4.The Modify Style dialog lets you update how the text in your table of contents will look.
In the Modify Style pane make your changes.
5.Select OK to save changes. Repeat steps 3 and 4 for all the levels that you want to display in your table of contents.
If the issue doesn't happen in a new document, I suggest you move your content to the new document by Copy&Paste.
You are free to post back.
Regards,
Eric