Creating a Table of Contents That References Ranges of Pages
PSS ID Number: Q103730
Article last modified on 11-30-1993

1.00 1.10 1.10a 2.00 2.00a 2.00a-CD 2.00b 2.00c

WINDOWS


-------------------------------------------------------------------
The information in this article applies to:

 - Microsoft Word for Windows, versions 1.0, 1.1, 1.1a, 2.0, 2.0a,
   2.0a-CD, 2.0b, 2.0c
 - Microsoft Windows operating system versions 3.0 and 3.1
-------------------------------------------------------------------

SUMMARY
=======

When Word for Windows builds a table of contents, Word lists the page
number on which the item starts. This article describes how you can
use TC fields to create a table of contents that lists the range of
pages for an item.

MORE INFORMATION
================

Use the following procedure for each table of contents entry that
references a range of pages:

1. Select the first word of the range you want to reference in your
   table of contents.

2. From the Insert menu, choose Bookmark.

3. Type an appropriate, unique name in the Bookmark Name box, such as
   "Chapter1," and then choose OK.

4. Position the insertion point at the end of the range.

5. Insert a TC field that references the bookmark you inserted at the
   beginning of the range in steps 2 and 3 above. Use the following
   syntax for this TC field

      {¬TC "<text> [TAB] {¬PAGEREF <BookmarkName>} - "}

   where <text> is the text you want to appear for this entry in the
   table of contents; [TAB] means to press TAB; and <BookmarkName> is
   the name of the bookmark you inserted in steps 2 and 3 above.

   Example:

      {¬TC "Chapter 1 [TAB] {¬PageRef Chapter1} - "}

   The above TC field appears as follows in the table of contents:

      Chapter 1.............................1-3

For more information, select the "TC" and "TOC" jump text in the Field
Types And Instructions section of online Help.

REFERENCES
==========

Word for Windows "User's Guide," version 2.0, pages 540, 557-562, 564

Additional reference words: 1.00 1.10 1.10a 2.00 2.00a 2.00a-CD 2.00b
2.00c w4wfield

=============================================================================

Copyright Microsoft Corporation 1993.
