How to create a table of contents and index with field codes in Word 2000 and Word 2002 (212346)
The information in this article applies to:
- Microsoft Word 2002
- Microsoft Word 2000
This article was previously published under Q212346 For a Microsoft Word 98 Macintosh Edition version of
this article, see
190610. For a Microsoft Word 97 version of this article, see
125937. SUMMARY This article explains how to create table-of-contents entry
fields (TC fields) and build a table of contents. It also explains how to
create index entry fields (XE fields) and build an index.
back to the top
How to Create Table of Contents Entry (TC) Fields There are two ways to mark table of contents items: Create a
custom menu command or use the keyboard. Method 1: How to Create a Custom Menu CommandPart A: To add the MarkTableofContentsEntry menu command to the Insert menu, follow these steps: - On the Tools menu, click Customize, and then click the Toolbars tab.
- Click to select the Menu Bar check box.
NOTE: This option is selected by default. - In the Customize dialog box, click the Commands tab.
- In the Categories list, click All Commands.
- In the Commands list, click MarkTableOfContentsEntry, and then drag the command to the Insert menu. Point to the location where you want the command to appear
on the menu, and then release the mouse button.
- In the Customize dialog box, click Close.
Part B: To mark the text for inclusion in the table of contents, follow
these steps: - Select the text that you want to include.
- On the Insert menu, click Mark Table Of Contents Entry.
- In the Entry box, modify the text if you want it to be different from the
selected text.
- In the Table identifier list, click C for table of contents.
- In the Level list, select a level for the table of contents entry.
- Click Mark.
- Click Close.
- Repeat steps 1 through 7 of this procedure for each table
of contents entry in your document.
back to the top
Method 2: How to Use the Keyboard- Select the word or words that you want to include as a
table of contents entry.
- Press ALT+SHIFT+O.
The Mark Table of Contents Entry dialog box appears. - In the Entry box, modify the text if you want it to be different from the
selected text.
- In the Table identifier list, click C for table of contents.
- In the Level list, select a level for the table of contents entry.
- Click Mark.
- Click Close.
- Repeat steps 1 through 7 for each table of contents entry
that you want to create.
back to the top
How to Build the Table of Contents To build the table of contents, follow these steps:
- Position the insertion point where you want your table of
contents to appear.
- In Word 2002: On the Insert menu, click References, and then click Index and Tables.
In Word 2000: On the Insert menu, click Index and Tables. - Click the Table of Contents tab, and then
click the Options button.
- Click to select the Table entry fields
check box.
- Click OK twice.
The table of contents is inserted at the location of the
insertion point.
back to the top
How to Create Index Entry (XE) Fields To mark an index entry, you can use any of the following methods:
- Use a custom menu command.
- Use a standard menu command.
- Use the keyboard.
- Use a concordance file.
back to the top
Method 1: How to Use a Custom Menu CommandPart A: To add the MarkIndexEntry command to the Insert menu, follow these steps: - On the Tools menu, click Customize, and then click the Toolbars tab.
- Click to select the Menu Bar check box.
NOTE: This option is selected by default. - In the Customize dialog box, click the Commands tab.
- In the Categories list, click All Commands.
- In the Commands list, click MarkIndexEntry, and then drag the command to the Insert menu. Point to the location where you want the command to appear
on the menu, and then release the mouse button.
- In the Customize dialog box, click Close.
Part B: To mark the text for inclusion in the index, follow these steps:
- Select (highlight) the text that you want to include.
- On the Insert menu, click Mark Index Entry.
- In the Main entry box, modify the text if you want it to be different from the
selected text. Type the Subentry text, and then select the options and page number format that you
want.
- Click Mark to mark the selected text, or click the Mark
All button to mark all occurrences of the selected text.
- Click Close.
- Repeat steps 1 through 5 for each index entry that you want
to create.
back to the top
Method 2: How to Use Standard Menu Commands To mark the text for inclusion in the index, follow these steps:
- In Word 2002: On the Insert menu, click References, and then click Index and Tables.
In Word 2000: On the Insert menu, click Index and Tables. - On the Index tab, click the Mark Entry button.
- Type the Main entry and Subentry text, and then select the options and page number format that you
want.
- Click Mark.
- Repeat steps 3 and 4 of this procedure for each index entry
field that you want to create.
- Click Close.
back to the top
Method 3: How to Use the Keyboard To mark the text for inclusion in the index, follow these steps:
- Select the word or words that you want to include as an
index entry.
- Press ALT+SHIFT+X. The Mark Index Entry dialog box appears.
- In the Main entry box, modify the text if you want it to be different from the
selected text. Type the Subentry text, and select the options and page number format that you
want.
- Click Mark to mark the selected text, or click Mark
All to mark all occurrences of the selected text.
- Click Close.
- Repeat steps 1 through 5 of this procedure for each index
entry field.
back to the top
Method 4: How to Use a Concordance File Use this method when you know which words that you want to index
and when you want to index all of those words in the document at once.
To create an index by using a concordance file, follow these steps:
- In a new document, insert a two-column table.
- In the left column, type the words in your document that
you want to mark for indexing.
Note that these entries are
case-sensitive. - In the right column, type the corresponding text that you
want to appear in the index.
- Save and close this document.
- Open the document in which you want to create your
index.
- In Word 2002: On the Insert menu, click References, and then click Index and Tables.
In Word 2000: On the Insert menu, click Index and Tables. - Click the Index tab.
- Click AutoMark.
- Select the file that you created in steps 1 through 4, and
then click Open.
Word automatically marks the words in your document.
back to the top
How to Build the Index To build the index, follow these steps:
- Open the document in which you have inserted your index
entries, and then position the insertion point where you want your index to
appear.
- In Word 2002: On the Insert menu, click References, and then click Index and Tables.
In Word 2000: On the Insert menu, click Index and Tables. - Click the Index tab, and then click OK.
The index is inserted at the location of the insertion
point.
back to the top
Modification Type: | Minor | Last Reviewed: | 9/8/2004 |
---|
Keywords: | kbHOWTOmaster kbhowto KB212346 |
---|
|