Formatting Issues

How to Fix Strange Lines Above Letters in Word Table of Contents

Natalie TaylorNatalie Taylor Nov 2, 2026 870 views

Question details

The user needs to remove strange connecting lines appearing above or between certain letters in an automatically generated Table of Contents.

Fix Strange Lines Above Letters in Word Table of Contents
Product
Microsoft Word
Device & OS
not provided
Scenario
Generating or updating an automatic Table of Contents in a document.
Observed behavior
Letters such as 'c' and 's' appear connected or marked with weird lines in the Table of Contents, even though the original source headings are formatted correctly.
Before you start

Before modifying your styles, update your Table of Contents one more time to ensure the lines aren't a temporary visual glitch. It is also helpful to turn on formatting marks (Ctrl+*) to see if any hidden characters are causing the issue.

Solution 1Recommended

Disable Ligatures in the TOC Style

The most common cause of connected letters or strange lines in the TOC is the 'Ligatures' advanced font setting being enabled for the Table of Contents style.

Ligatures are typographical features that connect certain letters for stylistic purposes. When applied unintentionally to a TOC style, they can look like errors or strange lines.

1
Open the Style pane

Go to the 'Home' tab and click the small dialog box launcher arrow in the bottom-right corner of the Styles group to open the Styles pane.

2
Modify the TOC style

Locate 'TOC 1' (or the specific TOC level causing the issue) in the list. Right-click it and select 'Modify'.

3
Access Font Formatting

In the Modify Style dialog box, click the 'Format' button in the bottom-left corner, then choose 'Font' from the drop-down menu.

4
Turn off Ligatures

Navigate to the 'Advanced' tab in the Font dialog box. Look for the 'Ligatures' dropdown menu and change its value to 'None'. Click 'OK' twice to save the changes.

5
Update the Table of Contents

Right-click anywhere inside your Table of Contents and select 'Update Field', then choose 'Update entire table' to apply the clean formatting.

Disable Ligatures in the TOC Style
Permanent Fix: By modifying the TOC style itself rather than manually changing the text, the fix will remain permanently applied even after you update or regenerate the entire Table of Contents later.

Create Clean and Professional Tables of Contents with WPS Writer

WPS Office provides an intuitive and bug-free word processor to generate and format your Table of Contents instantly. Avoid complex ligature glitches and enjoy smooth, highly compatible document formatting.

  1. 1. Open Document in WPS Writer: Launch WPS Office, open your document, and navigate to the 'References' tab on the top ribbon.
  2. 2. Insert a Table of Contents: Click on 'Table of Contents' and select one of the built-in clean styles or click 'Insert Table of Contents' for custom settings.
  3. 3. Customize Formatting: Adjust the 'TOC Level' settings if you need to modify the font, ensuring clean, standard typography without unexpected ligatures.
  4. 4. Generate: Click 'OK' to generate a perfectly formatted TOC that automatically updates whenever you add or modify headings.
Easily generate and customize a clean Table of Contents in seconds without typographical glitches.Fully compatible with Microsoft Word DOCX formats and native TOC styles.Free, lightweight, and completely free of complex font-rendering bugs.Clean, familiar interface that requires no learning curve to master.
microsoft office alternative - wps office

Frequently Asked Questions

What are font ligatures in Microsoft Word?

Ligatures are advanced typographical features that combine two or more characters (like 'f' and 'i', or 'c' and 's') into a single aesthetic glyph. However, they can sometimes render poorly in automated fields like a Table of Contents, appearing as strange connecting lines.

Why does the issue return when I update my Table of Contents?

If you manually highlight the Table of Contents text and change the font settings directly, Word will overwrite your changes the next time you update the TOC. To fix it permanently, you must modify the underlying 'TOC 1' or 'TOC 2' style through the Styles pane.

Can opening Word in Safe Mode help fix formatting bugs?

Yes. If your document acts erratically despite correct style settings, opening Word in Safe Mode (by holding Ctrl while launching the app) can help identify if a third-party add-in or corrupted normal template is causing the strange lines to appear.