How to Show Two Word Styles on One Table of Contents Line
Question details
The user needs to combine an appendix heading and its description onto a single line in the Table of Contents while applying different formatting styles to each part.

- Product
- Word
- Device & OS
- not provided
- Scenario
- Creating a complex Table of Contents entry, such as an appendix heading combined with a description, requiring mixed text styles on the same line without altering the overall document structure.
- Observed behavior
- By default, a single paragraph style applies uniform formatting to an entire Table of Contents entry. The user wants to achieve split formatting (two distinct styles) on a single TOC line.
Ensure your document's hidden formatting symbols are visible (usually toggled via the Pilcrow ¶ icon on the Home tab) so you can accurately spot paragraph marks and manual line breaks.
Use a Manual Line Break and Character Styles
This is the most straightforward method for combining an appendix heading and a description with different formatting in the TOC.
By utilizing a manual line break (Shift+Enter), Word treats the heading and description as a single paragraph. This allows the Table of Contents to pull them onto a single line, where you can apply a specific character style to just the description.
Format your entire heading paragraph using your standard Heading style (e.g., Heading 1) so it gets picked up by the Table of Contents.
Place your cursor between the heading and the description. Press Shift+Enter to insert a manual line break. In the TOC, this break will usually be interpreted as a regular space, keeping both parts on one line.
Select the portion of the text (like the description) that requires different formatting. Apply a specific Character Style (e.g., modifying font size or italics) to this selection from your Styles pane.
Ensure the Character Style is not applied to the final paragraph mark at the end of the line, as this can interfere with the heading's default numbering format.
Right-click your Table of Contents and select 'Update Field', then choose 'Update entire table' to see the mixed styles reflected on one line.

Use TC Fields for Complete Customization
Ideal for precise control over what appears in the TOC without altering the main document text's layout.
Easily Manage Table of Contents and Styles with WPS Writer
WPS Office provides advanced document formatting capabilities, fully supporting complex Tables of Contents, character styles, and manual line breaks. You can effortlessly manage long documents, reports, and appendices with high precision.
- 1. Open Your Document: Launch WPS Writer and open your existing document containing the appendices.
- 2. Insert a Manual Line Break: Place the cursor after your heading text and press Shift+Enter to drop the description to the next line visually while keeping it in the same paragraph block.
- 3. Apply Character Styles: Highlight the description text, go to the Home tab, and use the Styles pane to apply a specific Character Style to just that text.
- 4. Generate the TOC: Navigate to the References tab, click Table of Contents, and select your preferred style. WPS Writer will automatically place both text styles onto a single line.

Frequently Asked Questions
Why is my manual line break showing as a new line in the Table of Contents?
Sometimes a Table of Contents will inherit the exact line break. To prevent this, ensure your TOC style does not have 'preserve formatting' applied to line breaks, or consider using the TC field method for strict one-line enforcement.
What is the difference between a Paragraph Style and a Character Style?
A Paragraph Style applies formatting to all text between two paragraph marks (Enter). A Character Style only applies to the specific text you highlight, allowing you to have mixed formatting within a single paragraph or TOC entry.
How do I hide the TC fields in my document after inserting them?
TC fields are formatted as hidden text by default. You can hide them from view by clicking the Show/Hide Editing Marks button (the ¶ symbol) on the Home tab.




