Create a table of contents in Microsoft Word with custom styles
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 |
Print/View all Posts Comments on this article
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
White Papers, Webcasts, and Downloads
- Volume Activation Planning Guide Microsoft Volume Activation helps Volume Licensing customers automate and manage the ... Download Now
- The Journey Along an Information-Led Transformation IBM Corp. The cost of embedding information technology into every device we ... Download Now
- Responding to Today's Demands with a Dynamic Infrastructure IBM Corp. Listen to this webcast to hear IBM executives and clients discuss a host ... Download Now
- Live Webcast: The Power of Centralization in Distributed Development CollabNet Distributed teams are common in software development today. However ... Download Now
- Unified Communications and Your Business: What You Need to Know Qwest Communications Get an overview of the potential benefits of Unified Communications (UC), including key considerations for mapping out your UC strategy. Download Now
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



