How to Show Only Heading Text in a Word for Mac Table of Contents
Question details
The user needs to include only the specific subsection heading text in the Table of Contents, rather than the entire paragraph, when formatting a document on Mac.

- Product
- Microsoft Word for Mac
- Device & OS
- Mac
- Scenario
- Formatting a structured document, such as a contract, where the heading and the subsequent body text visually share the same paragraph line.
- Observed behavior
- The generated Table of Contents pulls in the entire paragraph instead of just the heading, and the Windows shortcut (Alt+Shift+O) for marking text does not work natively on Mac.
Enable formatting marks to easily inspect your paragraph breaks and hidden characters by navigating to Word > Preferences > View and checking the box for non-printing characters.
Use a Style Separator with AutoText
Apply a style separator to keep the heading and body text visually in one paragraph while only sending the heading style to the Table of Contents.
Since Word for Mac lacks the native Windows shortcut for style separators, you can use a workaround by creating an AutoText entry containing the separator to apply it easily across your document.
Copy a style separator from an existing Windows Word document, or use a MacroButton field workaround to generate the hidden paragraph mark that acts as a separator.
Apply your numbered Heading style to the first part of the text. Then, apply an unnumbered Body Text style to the continuation of the paragraph.
Highlight the completely formatted line containing the heading, style separator, and body text. Save this selection as an AutoText entry.
Go to Tools > Customize Keyboard to assign a specific shortcut to your new AutoText entry for quick insertion throughout your contract.
Right-click your Table of Contents and select 'Update Field' to refresh the list. Only the text formatted with the Heading style will appear.

Mark Specific Text Using TC Fields
Use Table of Contents (TC) fields to manually mark the exact text you want to appear in your TOC without relying on paragraph styles.
Easily Manage Formatting and Layouts with WPS Office
If you find Microsoft Word for Mac's formatting controls and shortcuts restrictive, WPS Office offers a free, lightweight, and highly compatible alternative. WPS Writer simplifies complex document formatting with an intuitive interface and seamless Microsoft Office format compatibility.
- 1. Download WPS Office: Visit the official WPS website to download and install WPS Office for Mac.
- 2. Open Your Document: Open your existing Word document in WPS Writer. All previous formatting, styles, and tables of contents will be perfectly preserved.
- 3. Manage Formatting Easily: Use the References tab to quickly insert, customize, and update your Table of Contents without dealing with complex hidden field codes.

Frequently Asked Questions
Why does my entire paragraph appear in the Table of Contents?
This happens because the Heading style is applied to the entire paragraph. The Table of Contents automatically pulls all text formatted with a Heading style. To fix this, you must separate the heading text from the body text using a style separator or manually mark the text using TC fields.
Does Word for Mac support style separators?
Word for Mac supports the display and function of style separators if they are already present in a document, but it lacks the native built-in shortcut (Ctrl+Alt+Enter on Windows) to create them easily. Mac users often rely on workarounds like AutoText entries or copying the separator from a Windows document.
What is the difference between a style separator and a TC field?
A style separator joins two paragraphs with different styles so they visually appear as one, allowing auto-numbered headings to update naturally as the document changes. A TC (Table of Contents) field manually marks specific text to appear in the TOC, but it does not automatically update list numbering if the document text is later modified.
How can I view style separators and hidden formatting marks on Mac?
You can view formatting marks, including style separators and hidden TC fields, by navigating to Word > Preferences > View and enabling the option to show non-printing characters or hidden text.




