TechRepublic : A ZDNet Tech Community

Create a table of contents in Microsoft Word with custom styles

Tags: Word processors, Microsoft Office, Mark Kaelin, Microsoft Corp., Microsoft Word

  • Save
  • Print
  • Recommend

Takeaway: Microsoft Word has a built-in feature for creating a table of contents. Learn how to substitute your own custom styles for the default styles.

If you have an explanation or quick fix that would make a good SolutionBase article, then we invite you to submit your solution using this form.

Problem

Microsoft Word has long had the built-in ability to create a table of contents (index, table of figures, and table of authorities are also part of the feature). This utility, found under the Insert | References menu, works well if you follow the default Word styles for headings, subheadings, figures, footnotes, etc.

However, if you use custom styles in your documents, this automated creation function was very limited or non-existent, depending on how custom you chose to get. But Word does allow you to substitute your custom styles for the default styles, reviving the feature for even the most colorful of custom styles.

Solution

Step 1

Before you can use it to create a table of contents, you first have to create a set of styles. In Word 2003, you can create styles by clicking the double-A (AA) button on the Formatting toolbar, or by navigating to the Format | Styles and Formatting menu.

Once you create your new style, for top level headings (Heading 1) for example, you can highlight that text and click the New Style button on the Styles and Formatting window, similar to Figure A.

Figure A

Custom style

Step 2

Once you have a set of styles created to your satisfaction, you can then specify which level (TOC 1, 2, 3 …) each style will represent in your table of contents. This is accomplished by navigating to Insert | Reference | Index And Tables and then clicking the Options button on the Table Of Contents tab. On the ensuing dialog screen, you can then specify your hierarchy as shown in Figure B.

Figure B

TOC hierarchy

After clicking the OK button a couple of times, you will have inserted a table of contents for your document. However, you will also notice that the table is displayed in the default style. If you want to apply your custom style to the table of contents, you have one more step.

Step 3

Now that you have established a set of custom styles, you can apply those styles to other parts of the document including the table of contents. Navigate To Insert | Reference | Index And Tables and click on the Modify button on the Table Of Contents tab; then click the Modify button again for each level. On the ensuing dialog screen, you can change the styles associated for each level in the hierarchy (Figure C).

Figure C

Modify TOC styles

Obviously, the styles shown in the figures are a little over the top, but the principles are the same no matter what custom styles you want to implement.

Next Steps: Build your skills with these hand-picked resources
> Teach Word users the six benefits of a table of contents
> Master Word's table of contents feature with styles
> Microsoft Education: How to Create a Table of Contents
> MKBA 257877: Create a Table of Contents in a Master Document
> Word 2002 Document: Legal Users Guide
  • Save
  • Print
  • Recommend
  • 3

Print/View all Posts Comments on this article

Are tables of content blas?? Mark W. KaelinTechrepublic Moderator | 08/25/04
TOC or not TOC TechTrainer | 08/26/04
Print option for discussions Missing techrepublic@... | 09/20/04
It's still there on my screen crawk | 09/20/04
You may blas? but a TOC is not pass? Susan_H | 09/20/04
Listened but forgotten Mark W. KaelinTechrepublic Moderator | 09/20/04
TOC? Alive and kickin' dutch_gemini@... | 09/20/04
Take advantage Mark W. KaelinTechrepublic Moderator | 03/23/06

What do you think?

White Papers, Webcasts, and Downloads

Article Categories

Security
Security Solutions, IT Locksmith
Networking and Communications
E-mail Administration NetNote, Cisco Routers and Switches
CIO and IT Management
Project Management, CIO Issues, Strategies that Scale
Desktops, Laptops & OS
Windows 2000 Professional, Microsoft Word, Microsoft Excel, Microsoft Access, Windows XP,
Data Management
Oracle, SQL Server
Servers
Windows NT, Linux NetNote, Windows Server 2003
Career Development
Geek Trivia
Software/Web Development
Web Development Zone, Visual Basic, .NET

SmartPlanet

Click Here