Untitled
Untitled
This note shows you how to set up a table of contents that can be generated and updated quickly and easily, even for the longest and most complex documents.
Using styles
The key to creating a quick and easy contents page is to use Words built-in heading styles, that is, Heading 1, Heading 2, Heading 3 etc. Once you have applied these styles to the headings in your document, you can use Words Table of Contents function to do all the hard work for you. For more information on using styles see Making your documents look good: using MS Word the easy way.
The Print Preview box on the left shows you how your table of contents will look. The settings for your contents appear below the preview box. You will find that most of the options you need are already selected.
B.2-N-3568-2007
Your contents will show page numbers, have right-aligned page numbers, and a tab leader (the character that appears between the contents entry and the page number). You can change the tab leader if you wish, for example you may want a different one, or no tab leader at all.
Word shows three levels by default, that is, the text from the paragraphs to which you have applied the styles Heading 1, Heading 2 and Heading 3 will appear in your table of contents. You can use the Show levels box to generate more or fewer levels. Make sure the option From template is selected in the Formats box so that you use the Table of Contents (TOC) styles that are automatically included in the document you are working on. When you have made your selections, click OK. Your table of contents is displayed:
Dont apply a heading style to your table of contents heading you dont want it appearing on your contents list! You can create a custom style or format the text manually.
Always update your table of contents before sending out or printing the document so that any changes are included. This will also avoid the Error! Bookmark not defined message appearing in your contents. You can set Word to always update tables of contents automatically when you print. Select Tools - Options - Print and click the Update Fields box.
Move your cursor to the box, click on the down arrow and click Modify. Note that the TOC styles do not appear in the Pick formatting to apply list, even if you select All styles.
The built-in heading styles are selected by default in the Available styles list. You select which style goes with which level by typing in the TOC level number.
You can mix and match built-in and custom styles as you wish. As an example, you may have created custom styles called Appendix 1 and Appendix 2, and you want the text for these entries to appear on the table of contents at the same levels as Heading 1 and Heading 2. All you need to do is scroll the Available styles list to find your custom styles then type in the levels:
Your table of contents will include the entries where the styles Appendix 1 and Appendix 2 have been applied:
Select the Position for the caption and click OK. To insert the table: On your contents page, click where you want the table of figures to appear. Select Insert Reference Index and Tables and click the Table of Figures tab. At Caption label, select the label from the list. Select any other options you require and click OK. You can create as many tables of figures as you need. Note that each table has to be updated separately. A quick way to do this is to select Edit Select All then press F9. An Update Table of Contents prompt will appear for each table.
This happens when a style used to create the contents has been applied to a paragraph. This may have been done inadvertently, in which case simply locate the paragraph and apply another style. It may also have been due to one of Words AutoFormat As You Type options. To check, select Tools AutoCorrect Options and click on the AutoFormat As You Type tab. Make sure that the Define styles based on your formatting option in the Automatically as you type section is deselected. If this option is selected, Word assumes that if you have manually formatted some text with the same attributes as an existing style, you want to apply that style to your text. This is frequently the reason for a table of contents not working correctly.
I have long headings that are too close to the page number
If you have very long headings, your table of contents entries may come very close to the page number, as in the example below.
To improve the appearance, you can make the text wrap further away from the page number. To do this, modify the TOC style, select Format Paragraph and under Indentation, set a Right indent.
TOC is the field code for table of contents. The field also contains switches shown as \ and a letter. The instruction to omit page numbers is the switch \n. To omit page numbers for specific levels, enter a range after the \n switch. Even if you are omitting page numbers for a single level you must still enter a range. For example, to omit level 1 entries, click in the field after \n and type the range 1-1:
Press Alt F9 again to see the table of contents text then press F9 to update.