Forum Discussion
Table of contents - include only heading's numbering but excluding text
My TOC currently looks like this:
But it's much too lengthy. Is there a way to include only the numbering of the level 3 heading (the one starting with §) and exclude the rest of the text?
It should look like this:
6 Replies
- Charles_KenyonBronze Contributor
You want to use a Style Separator. The part you do not want in the TOC should be in a separate paragraph in a style that does not show up in the TOC. You could use a single space in the paragraph that has the number.
Charles, what you are suggesting would normally work. However, something appears to be wrong in Word. An auto number (in Heading 1 style) is ignored by the TOC, even when a space character (nonbreaking or breaking space) follows the number. Are you seeing the same thing? I am running Word 2021 Professional, version 2305.