Microsoft KB Archive/181615

= WD6x: How to Create Multiple Table of Contents in Same Document =

Article ID: 181615

Article Last Modified on 11/21/2006

-

APPLIES TO


 * Microsoft Word 6.0 for Macintosh
 * Microsoft Word 6.01 for Macintosh
 * Microsoft Word 6.01 for Macintosh

-



This article was previously published under Q181615



SUMMARY
This article describes how to create multiple Tables of Contents in one document using Microsoft Word 6.x for the Macintosh.



MORE INFORMATION
To create more than one table of contents, follow these steps:

 Create a separate bookmark for each section of the document for which you want to create a table of contents. To create the bookmark:

 Select the entire section and then click Bookmark on the Edit menu. In the Bookmark Name text box, type a name for the bookmark, for example part1, and then click the Add button.  Repeat step 1 for each section of the document for which you want to build a separate table of contents. If you will be generating the table of contents based on the built-in heading Styles, then apply the styles as required. If you will be generating the table of contents with other styles, then apply those styles as required. If you will be using TC fields to generate the Table of Contents, then mark the text that you want to include in the table as follows:

 Select the text that you want to include and then press COMMAND+OPTION+SHIFT+O.

The Mark Table Of Contents Entry box will appear.</li> To assign a different indent level to the text, change the number in the Level box.</li> Choose Mark when you're done. Word will create a TC field in the document that contains the text that you selected. (Note: You can also insert a TC field in your document by choosing Field from the Insert menu. Under Categories, choose Index & Tables, then choose TC under Fields and then type the desired text.)</li></ol> </li> To create the Table of Contents for the first section that you bookmarked, follow these steps:

 Place the insertion point where you want the Table of Contents for that section to appear.</li> On the Insert Menu, click Field. From the Index and Tables Category, choose TOC, and then click Options to bring up the Field Options dialog box.</li> Choose the \b switch and click Add to Field, then type in the bookmark name after the switch. For example TOC \b part1 .</li> Word will default to building the Table of Contents based on the built-in Heading Styles if no other switches are added to the field.</li>  The following are examples of some other switches that can be added to the field: <pre class="fixed_text">        \f     builds a TOC using TC field entries \t    builds a TOC using other style names \o    builds a TOC using heading styles (outline levels) </li></ol> </li></ol>

If you want to build the TOC using heading styles as well as TC fields or other styles, then you must add the \o switch as well as the \f and \t switches.


 * 1) Repeat steps 3-5 for each section of the document for which you want to create a separate Table of Contents.

For more information about Table of Contents and fields, click Contents And Index on the Help menu (or on the Balloon Help menu if you are using a version of the Macintosh operating system earlier than 8.0), click the Index button in Word Help, type the following text

table of contents, field codes

and then click Show Topics. Select the "User field codes for indexes, tables of contents, or other tables" topic, and click Go To. If you are unable to find the information you need, ask the Office Assistant.

This procedure can also be used to create multiple indexes or tables of authority.

<div class="references_section">