Page 7 of 17PREVNEXT

Table of Contents III: Use fields to create a TOC and create multiple TOCs

TOC field with TC field switch

A TOC field with the \f switch at the end.

To get the TC field entries to appear in the TOC you must add the \f field switch to your existing TOC. The \f switch tells the TOC to include the TC field entries.

You could open the Table of Contents Options dialog box and select the Table entry fields when you create or replace your TOC; but it's easier to create an automatic TOC and modify it. Simply press ALT+F9 after you create the TOC and type \f at the end of the field.

It will look as follows:

{ TOC \o "1-3" \h \f }

Then update your TOC by placing your cursor in the TOC field and pressing F9. Press ALT+F9 to see the results. The TOC will now include all the TC field entries.

Page 7 of 17PREVNEXT