Formatting Issues

How to Show Only Heading Text in a Word for Mac Table of Contents

Olivia MillerOlivia Miller Nov 2, 2026 868 views

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.

How to Show Only Heading Text in a Table of Contents in Word for 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.
Before you start

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.

Solution 1Recommended

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.

1
Create the Style Separator

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.

2
Apply Heading and Body Styles

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.

3
Save as AutoText

Highlight the completely formatted line containing the heading, style separator, and body text. Save this selection as an AutoText entry.

4
Assign a Keyboard Shortcut

Go to Tools > Customize Keyboard to assign a specific shortcut to your new AutoText entry for quick insertion throughout your contract.

5
Update the Table of Contents

Right-click your Table of Contents and select 'Update Field' to refresh the list. Only the text formatted with the Heading style will appear.

Use a Style Separator with AutoText
Why Choose Style Separators: Style separators are highly recommended because heading numbering automatically updates if you add or remove sections, keeping your document structure perfectly intact.
Free Microsoft Office alternative

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. 1. Download WPS Office: Visit the official WPS website to download and install WPS Office for Mac.
  2. 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. 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.
Fully compatible with Microsoft Word (.docx), Excel (.xlsx), and PowerPoint (.pptx) formats.Clean and familiar user interface that makes finding formatting tools and managing Table of Contents effortless.Lightweight application that runs smoothly on Mac devices without heavy system resource usage.Completely free to download and use for your daily document creation and editing needs.
microsoft office alternative - wps office

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.