Format Word Table of Contents Entries Created with TC Fields
Question details
The user needs to control the layout of Word table of contents entries generated from 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.
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.
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.
In desktop Word, select References > Table of Contents > Custom Table of Contents. Choose From template under Formats if the Modify button is unavailable.
Click Modify, select TOC 1 for level 1 entries or another TOC style for its corresponding level, and then click Modify again.
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.
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.

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.

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.




