WD: How to Build a Table of Contents Using Custom Styles

Last reviewed: February 3, 1998
Article ID: Q142459
The information in this article applies to:
  • Microsoft Word for the Macintosh, versions 6.0, 6.0.1, 6.0.1a
  • Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c
  • Microsoft Word for Windows NT, version 6.0
  • Microsoft Word for Windows 95, versions 7.0, 7.0a
  • Microsoft Word 97 for Windows
  • Microsoft Word 98 Macintosh Edition

SUMMARY

This article describes how to create a table of contents using custom styles. Creating a table of contents in Word is a two-step process. The first step is to mark the document so that Word knows which text to include in the table of contents. The second step is to build the table of contents.

An Application Note is available that gives in-depth information on creating tables of contents. For information on how to obtain the Application Note, please see the following article:

   ARTICLE ID: Q127249
   TITLE     : AppNote: How to Create a Table of Contents in Word

MORE INFORMATION

Step 1 - Mark the Text

Word allows you to mark the text to be included in the table of contents using two methods: styles and TC field codes. When using styles to mark text, you can choose to apply the built-in heading styles or custom styles. This article describes how to use custom styles to mark table of contents entries.

Use either of the following methods to apply a style to text.

Method 1: Use the menu:

  1. Select the text you want to include in the table of contents.

  2. On the Format menu, click Style.

  3. In the Styles list, select the style you want to use for a table of contents entry.

  4. Click Apply.

Method 2: Use the Toolbar:
  • If the text already exists in the document, select the text you want to use as a table of contents entry. On the Formatting toolbar, click the drop-down arrow in the Style list. Select the style you want to use.

        -or-
    
  • If you are in the process of creating the document, choose the style you
       want to use from the Style list on the Formatting toolbar. Type the text    
       you want to include in the table of contents. Use the Style list on the 
       Formatting toolbar to return to the style used in the body of your
       document.
    
    

    Step 2 - Build the Table of Contents

    1. Place the insertion point where you want the table of contents to appear.

    2. On the Insert menu, click Index And Tables.

    3. Select the Table Of Contents tab.

    4. In the Formats list, select the format you want to use.

    5. Click Options. A list of all the styles used in the document appears under Available Styles.

    6. Select the style you used to mark the text. In the TOC Level column, type the level number you want. Typically, this number is "1."

      NOTE: To remove the Heading styles (Heading 1, Heading 2, and so forth), delete the number in the TOC Level column. This removes the check mark to the left of the style name.

    7. Click OK twice.

    Additional Information

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

       ARTICLE-ID: Q72763
       TITLE     : How to Create Multiple Tables of Contents in Word for
                   Windows
    
    

    REFERENCES

    "Microsoft Word for Windows User's Guide," version 6.0, pages 466-470.


Additional query words: build custom heading format toc howto
Keywords : kbfield macword ntword winword word6 word7 word8 word95 word97 wordnt macword98
Version : WINDOWS:6.0,6.0a,6.0c,7.0,7.0a, 97;MACINTOSH:6.0,6.0.1,6.0.1a,98
Platform : MACINTOSH WINDOWS
Issue type : kbhowto


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 3, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.