Project: Automatically Inserting a Formatted Table of Contents

Imagine that you want to create a customized table of contents that looks precisely as you want it to—and compiles exactly the data you want it to compile. (In this project, the table will use the Garamond font in place of Times New Roman and Arial, but you could make any changes you want—including changes to indentation, tab leaders, and so forth.)

After you've compiled the table, you'd like to reuse it again and again—in many different kinds of documents—without going through the trouble of rebuilding it. This project shows you how.

Step #1: Create the template.

Open a copy of a document similar to those for which you intend to create tables of contents (see Figure 17.28).

Figure ...

Get Special Edition Using Microsoft® Word 2000 now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.