Using multiple TOCs in a document

Download Report

Transcript Using multiple TOCs in a document

Use multiple TOCs in a document
Many long documents,
such as complex
reports and business
proposals, require
multiple TOCs—for
example, a summary
TOC plus several
detailed TOCs inside
the document.
We’ll show you three ways to build multiple TOCs.
There’s a basic option, which is quick and uses Word’s built-in heading styles, and
then two other options that you can use in special cases.
Table of Contents III: Use fields to create a TOC
and create multiple TOCs
Multiple TOCs: A basic option
Let’s say that you
want two TOCs at the
start of your
cookbook: a short,
abbreviated TOC with
just the main sections
of the book, and then
right after it a full,
comprehensive TOC.
The first TOC would include just the chapter titles:
Appetizers, Entrees, Sauces, and so on, and the other
TOC immediately after it would show each chapter and
all the individual recipes within it.
Table of Contents III: Use fields to create a TOC
and create multiple TOCs
Multiple TOCs: A basic option
If your document uses
Word’s built-in
heading styles, the
solution to this
scenario is simple:
Create two automatic
TOCs at the start of
your document.
Then, in the first TOC, change the \o switch from “1-3” to “11” to shorten it to just the Heading 1 styles. For example:
{TOC \o “1-1” \h}
There’s your short, abbreviated TOC. Because the second
TOC includes all Heading 1, Heading 2, and Heading 3
entries by default, it is your full, comprehensive TOC.
Table of Contents III: Use fields to create a TOC
and create multiple TOCs
Two more options
In addition to using
heading levels and
using the \o switch as
described in the basic
option, there are two
other ways to create
multiple TOCs in a
document.
You can:
• Use table identifiers to identify each TOC with its own
unique letter.
• Bookmark sequential areas, such as all the breakfast
recipes, or all the lunch recipes and then create a TOC
for each bookmarked area.
Table of Contents III: Use fields to create a TOC
and create multiple TOCs
Table identifiers
To build two or more
TOCs in your
document, with each
TOC showing a
different type of entry,
you can use table
identifiers.
First you’ll need to determine a letter for each TOC, such as
“A” for all the sauce recipes and “B” for all the breakfast
recipes.
Then mark the text you want in each TOC using a TC field.
The Table identifier text box in the Mark Table of Contents
Entry dialog box is where you enter the TOC letter.
Table of Contents III: Use fields to create a TOC
and create multiple TOCs
Table identifiers
When you create the
TOC you’ll use only
the \f switch with the
table identifier letter to
build the TOC, for
example:
{TOC \f B}
With the “B” table identifier used to build the TOC, it will
include only the TC fields marked with that letter. If the
“A” table identifier is used, then only the “A” text will be
included in the TOC.
In this way you can include text in several different TOCs
by marking it with one or more TC field.
Table of Contents III: Use fields to create a TOC
and create multiple TOCs
Bookmarks
If your document
requires TOCs for
sequential text or
blocks of text and
you’ve used built-in
heading styles or
outline levels, you can
use bookmarks to
create a TOC.
First you need to bookmark the text. To do that, select
all the text for the entire area and then click the Insert
tab and Bookmark in the Links group.
Type a name for the bookmark (such as “Breakfast”)
and click Add.
Table of Contents III: Use fields to create a TOC
and create multiple TOCs
Bookmarks
Now create a TOC
and use the \b switch
along with the
bookmark name.
For example, the TOC field for the breakfast recipes will
be:
{ TOC \b “Breakfast” }
The TOC field then collects all the text marked with
heading styles or outline levels from the entire
bookmarked area named “Breakfast.”
Table of Contents III: Use fields to create a TOC
and create multiple TOCs