In formal publishing, multi-part corporate manuals, legal documents, and project proposals in Microsoft Word, generating an automated Table of Contents (TOC) typically relies on applying built-in heading styles (Heading 1, Heading 2, Heading 3). However, professional formatting scenarios frequently arise where an author needs to include specific terms, appendix sections, sidebars, or table titles in the Table of Contents without changing their visual styling in the body text. Furthermore, you may need to build multiple independent tables of contents (such as a separate List of Appendices or Chapter Summaries). To mark manual entries and build fully customized tables of contents, Microsoft Word provides the TC (Table of Contents Entry) and TOC dynamic field codes.
Understanding the Coordination Between TC and TOC Fields
Word\u2019s advanced Table of Contents engine coordinates two complementary field types:
{ TC "Entry Text" [Switches] }: An invisible, non-printing field code placed directly beside target text. It designates the exact entry title to appear in the table, specifies its hierarchical indent level (1 through 9), and marks the active page number.{ TOC [Switches] }: The master table generator field that collects entries and compiles the Table of Contents. By applying specific switches (such as\f), you instruct Word to populate the table exclusively from markedTCfields rather than heading styles.
Marking Table of Contents Entries Using Keyboard Shortcuts
You can quickly tag any word, phrase, or section title throughout your document as a TC entry using native keyboard shortcuts:
- Highlight the text you wish to include in the Table of Contents (or position your cursor at the target location).
- Press Alt + Shift + O (the universal shortcut to open the Mark Table of Contents Entry dialogue box).
- In the dialogue box:
- Entry: Edit the text that should appear in the TOC (you can customize the wording independently of what appears in the document body).
- Table identifier: Typically left as
C(the default table identifier). - Level: Select the hierarchical outline level (1, 2, 3, etc.).
- Click Mark.
- Click Close.
Because TC fields are formatted as hidden text, click the Show/Hide (¶) button on the Home tab to reveal the field code:
{ TC "Appendix A: Technical Specifications" \l 1 }
Understanding Important TC Field Switches
When inspecting or customizing TC fields manually:
\l Level: Specifies the outline level of the entry (e.g.,\l 1for top-level,\l 2for sub-sections).\f Identifier: Assigns the entry to a specific named table (e.g.,\f "A"for an Appendix table,\f "C"for standard content). This allows maintaining multiple distinct tables of contents in the same document.\n: Suppresses the page number for this specific entry.
Inserting the Master TOC Field via Keyboard Shortcuts
To compile your custom Table of Contents at the beginning of the document:
- Place your cursor where the Table of Contents should reside.
- Press Ctrl + F9 (or Cmd + F9 on macOS) to create special field code braces:
{ } - Inside the braces, type the
TOCinstruction with the\fswitch:{ TOC \f C \h \z } - Press F9 to calculate and render the field.
Key TOC field switches include:
\f [Identifier]: Builds the table of contents using onlyTCentries matching the identifier (e.g.,\f C).\h: Formats the entries as clickable hyperlinks in Word and exported PDFs.\z: Hides tab leaders and page numbers in Web Layout view.\u: Uses the applied paragraph outline levels in addition toTCfields.
Building a Separate List of Appendices
To create an independent Table of Appendices that does not mix with your main Table of Contents:
- Mark your appendix titles with a unique table identifier (e.g.,
\f A):{ TC "Appendix B: Regulatory Compliance" \l 1 \f A } - At the front of your appendix section, insert a dedicated TOC field filtering for identifier
A:{ TOC \f A \h } - Press F9. Word compiles an exclusive list containing only your marked appendix entries.
Updating and Refreshing Custom TOC Fields
When pages shift or new entries are tagged, update the table:
- Update Table: Click inside the Table of Contents and press F9 (or right-click and choose Update Field). Choose Update entire table.
- Hide Markers Before Updating: Turn off Show/Hide (¶) before refreshing. Revealing hidden field codes temporarily alters document pagination; hiding them restores accurate page numbers.
- Lock Table: Select the TOC and press Ctrl + F11 to lock it against further changes prior to final distribution.