Share via

TOC styles do not apply

Anonymous
2020-01-28T13:20:13+00:00

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 ?

Microsoft 365 and Office | Word | For home | Windows

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.

0 comments No comments

Answer accepted by question author

Charles Kenyon 167.7K Reputation points Volunteer Moderator
2020-01-28T14:28:53+00:00

See TOC Tips and Tricks by Suzanne Barnhill, MVP

I suspect we are seeing the effect of Direct Formatting in the source headings.

Was this answer helpful?

3 people found this answer helpful.
0 comments No comments

Answer accepted by question author

Stefan Blom 342.4K Reputation points MVP Volunteer Moderator
2020-01-28T14:31:17+00:00

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.

Was this answer helpful?

2 people found this answer helpful.
0 comments No comments

4 additional answers

Sort by: Most helpful
  1. Anonymous
    2020-01-29T09:53:41+00:00

    Hi,

    You are free to post back, if you need more help.

    Regards,

    Eric

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2020-01-30T13:11:26+00:00

    Thank you, Charles and Stefan.

    It was source formatting in the original header.

    /Poul

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2020-01-28T14:08:29+00:00

    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

    Was this answer helpful?

    0 comments No comments