Microsoft KB Archive/181595

From BetaArchive Wiki
Knowledge Base


WD: How to Create Multiple Table of Contents in Same Document

Article ID: 181595

Article Last Modified on 8/17/2005



APPLIES TO

  • Microsoft Word 6.0 Standard Edition
  • Microsoft Word 6.0a
  • Microsoft Word 6.0c
  • Microsoft Word 95 Standard Edition
  • Microsoft Word 95a



This article was previously published under Q181595

SUMMARY

This article describes how to create multiple tables of contents in one document using Microsoft Word 6.x or 7.x for Windows.

MORE INFORMATION

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

  1. Create a separate bookmark for each section of the document for which you want to create a Table of Contents.

    To create the bookmark:

    1. Select the entire section and then click Bookmark on the Edit menu.
    2. In the Bookmark Name box, type a name for the bookmark, for example part1, and then click the Add button.
  2. Repeat Step 1 for each section of the document for which you want to build a separate Table of Contents.
  3. 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.
  4. 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:

    1. Select the text that you want to include and then press ALT+SHIFT+O.

      The Mark Table of Contents Entry box will appear.
    2. To assign a different indent level to the text, change the number in the Level box.
    3. To assign a different indent level to the text, change the number in the Level box.
    4. 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 clicking Field on the Insert menu. Under Categories, click Index And Tables, click TC under fields, and then type the desired text.
  5. To create the table of contents for the first section that you bookmarked, follow these steps:

    1. Place the insertion point where you want the Table of Contents for that section to appear.
    2. On the Insert Menu, click Field, and then from the Index And Tables Category, click TOC. Click Options to bring up the Field Options dialog box.
    3. Click the \b switch and click Add to Field. Then, type in the bookmark name after the switch. For example TOC \b part1.

      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.
    4. The following are examples of some other switches that can be added to the TOC field:

               \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)
                                      

      NOTE: 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.

  6. Repeat Steps 3-5 for each section of the document for which you want to create a separate Table of Contents.

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

For more information about Table of Contents and fields, click Contents And Index on the Help menu, click the Index button in Word Help, type the following text

table of contents, field codes


and then click Show Topics. Select the "Using 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.

REFERENCES

For additional information, please see the following article in the Microsoft Knowledge Base:

154025 WD: How to Have More Than One Index in a Document



Additional query words: table tables contents authority multiple

Keywords: kbhowto kbfield KB181595