How to Fix Strange Lines Above Letters in Word Table of Contents
Question details
The user needs to remove strange connecting lines appearing above or between certain letters in an automatically generated 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 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.
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.
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.
Locate 'TOC 1' (or the specific TOC level causing the issue) in the list. Right-click it and select 'Modify'.
In the Modify Style dialog box, click the 'Format' button in the bottom-left corner, then choose 'Font' from the drop-down menu.
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.
Right-click anywhere inside your Table of Contents and select 'Update Field', then choose 'Update entire table' to apply the clean formatting.

Transfer Content to a New Blank Document
If modifying the TOC style does not remove the lines, the current document template may have corrupted formatting that is interfering with automated fields.
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. Open Document in WPS Writer: Launch WPS Office, open your document, and navigate to the 'References' tab on the top ribbon.
- 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. Customize Formatting: Adjust the 'TOC Level' settings if you need to modify the font, ensuring clean, standard typography without unexpected ligatures.
- 4. Generate: Click 'OK' to generate a perfectly formatted TOC that automatically updates whenever you add or modify headings.

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.




