Formatting Issues

Format Word Table of Contents Entries Created with TC Fields

Anum MushtaqAnum Mushtaq Nov 14, 2026 869 views

Question details

The user needs to control the layout of Word table of contents entries generated from TC fields.

Format Word Table of Contents Entries Created with TC Fields
Product
Microsoft Word
Device & OS
not provided
Scenario
A table of contents uses TC fields to identify entries and their levels.
Observed behavior
Tabs entered in TC fields may be converted or overridden, affecting leaders, spacing, and page-number alignment.
Before you start

Check which TC entry levels appear in the table of contents and whether the TOC field includes the \f switch needed to collect TC entries. The corresponding TOC 1, TOC 2, and other TOC styles control how those levels appear.

Solution 1Recommended

Modify TOC styles to format TC field entries

Use the TOC styles to set consistent tab stops, leaders, spacing, and page-number alignment for each entry level.

A TC field identifies an entry and its level; the corresponding TOC style controls the entry's final appearance. Configure tabs in the style instead of relying on tabs typed inside the TC field.

1
Open the table of contents settings

In desktop Word, select References > Table of Contents > Custom Table of Contents. Choose From template under Formats if the Modify button is unavailable.

2
Select a TOC level

Click Modify, select TOC 1 for level 1 entries or another TOC style for its corresponding level, and then click Modify again.

3
Set tabs and spacing

In the style dialog, select Format > Tabs. Set a right-aligned tab stop at the desired page-number position and choose a leader, such as dots. Use Format > Paragraph to adjust indentation or spacing, then click OK to save the style.

4
Repeat and update

Modify each applicable TOC level, then select the table of contents and choose Update Table > Update entire table. Review the entries and adjust the style settings if needed.

Modify TOC styles to format TC field entries
Keep TC levels and styles aligned: A TC field's \l switch sets its entry level. For example, an entry with \l 2 uses the TOC 2 style.
Free Microsoft Office alternative

Edit Word documents with WPS Writer

WPS Office is a free, lightweight alternative with a familiar interface and support for Microsoft Word formats, making it easy to move documents between office suites. For complex TC fields and TOC styling, check the document's appearance and field behavior after opening it in WPS Writer.

Open and edit Microsoft Word DOC and DOCX files.Work with document headings and tables of contents in WPS Writer.Use a familiar interface for everyday document editing.Move between office suites with support for common file formats.
microsoft office alternative - wps office

Frequently Asked Questions

Which style formats a level 2 TC entry?

A TC entry assigned level 2 uses the TOC 2 style. In Word, go to References > Table of Contents > Custom Table of Contents > Modify to edit that style.

Why do tabs inside my TC field not control the final layout?

Tabs in TC field text may be converted or overridden when Word builds the table. Set the tab stop and leader in the corresponding TOC style through Modify > Format > Tabs instead.

How do I add dotted leaders before page numbers?

Open the applicable TOC style through References > Table of Contents > Custom Table of Contents > Modify. Choose Format > Tabs, set a right-aligned tab stop at the page-number position, and select the dotted leader.

Why are my TC entries missing from the table of contents?

Check that the TOC field includes the \f switch to collect TC entries. If the switch specifies an identifier, it must match the identifier used in the relevant TC fields. Update the entire table after making changes.

Will changing a TOC style change the TC field itself?

No. The TOC style changes the appearance of generated entries; the TC field continues to supply the entry text and level. Edit the TC field itself if you need to change that text or level.