logo
search
Formatting Issues

Fix Missing Dotted Leaders in Word Table of Contents | WPS Writer

Camila MilosovichCamila Milosovich Sep 28, 2026 872 views

Question details

The user needs to restore missing dotted lines (leaders) connecting the headings to the page numbers in the second level of their document's Table of Contents.

How to Fix Missing Dotted Leaders in the Second Level of a Word Table of Contents
Product
WPS Writer
Device & OS
not provided
Scenario
Generating or updating a Table of Contents where the level 2 items (TOC 2) fail to display the dotted leader, often leaving page numbers misaligned.
Observed behavior
The first level (TOC 1) displays correctly with dotted leaders and right-aligned page numbers, but the second level (TOC 2) page numbers are left-aligned or entirely lack the dotted leaders.
Before you start

Ensure your document's headings are correctly formatted using the built-in Heading styles (Heading 1, Heading 2, etc.) before making layout modifications to the Table of Contents.

Solution 1Recommended

Modify Tab Stops in the TOC 2 Style

Correct the tab alignment and leader settings in the TOC 2 style to restore the dotted lines.

Missing dotted leaders in specific Table of Contents levels are almost always caused by incorrect tab settings within that specific TOC style. If the page number tab is left-aligned instead of right-aligned, or if the leader option is set to 'None', the dots will not appear.

1
Open the Styles Pane

Go to the 'Home' tab on the ribbon and click the small arrow icon in the bottom right corner of the Styles group to open the Styles pane (or press Alt+Ctrl+Shift+S).

2
Modify the TOC 2 Style

Scroll through the Styles list to find 'TOC 2'. Right-click on it and select 'Modify'. If you don't see it, click 'Options' at the bottom of the pane and choose to show 'All styles'.

3
Access Tab Settings

In the Modify Style dialog box, click the 'Format' button located at the bottom left corner and select 'Tabs' from the dropdown menu.

4
Set the Right-Aligned Leader

In the Tabs dialog, select the tab stop position that corresponds to your right margin (e.g., 6.5 inches). Under 'Alignment', select 'Right'. Under 'Leader', choose the dotted line option (usually option 2).

5
Apply and Update

Click 'Set', then click 'OK' twice to close the dialog boxes. Finally, right-click anywhere in your Table of Contents and select 'Update Field' > 'Update entire table' to apply the fix.

Modify Tab Stops in the TOC 2 Style
Verify Indentation: Ensure the first tab stop (which controls the indentation of the heading text) remains unchanged so your TOC hierarchy stays visually intact.
Professional Document Formatting

Easily Manage Table of Contents with WPS Writer

WPS Writer provides an intuitive interface for formatting long documents, generating dynamic Tables of Contents, and seamlessly customizing TOC styles to ensure perfectly aligned dotted leaders and page numbers.

  1. 1. Insert Table of Contents: Open your document in WPS Writer, navigate to the 'References' tab, and click 'Table of Contents' to generate your TOC.
  2. 2. Edit TOC Styles: Open the Styles and Formatting task pane to easily locate and right-click 'TOC 1' or 'TOC 2' to modify their layouts.
  3. 3. Adjust Tab Leaders: Navigate to Format > Tabs within the style editor to assign right-alignment and dotted leaders to your page numbers instantly.
Fully compatible with Microsoft Word (.docx) formats and TOC styles.Intuitive Table of Contents generator with one-click updates.Advanced style modification tools for precise layout control.Free, lightweight, and available on Windows, Mac, and Linux.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my Table of Contents have page numbers on the left?

This happens when the tab stop for the page number in the TOC style (e.g., TOC 1 or TOC 2) is left-aligned instead of right-aligned, or if the tab stop position is set too short. Modifying the style's tab settings to right-alignment at the right margin will push the page numbers to the correct side.

How do I update the entire Table of Contents after making style changes?

Right-click anywhere inside the Table of Contents and select 'Update Field'. Choose 'Update entire table' to ensure all style modifications, heading changes, and page numbers are properly refreshed across the document.

Can I change the dot leader to a solid line in the TOC?

Yes. When modifying the Tabs setting for your TOC style, you can choose different leader styles under the 'Leader' section. You can select dotted lines, dashed lines, or solid lines based on your preference.