Table of Contents

G

Guest

I am working with a document which I did not generate. There is a code in
the table of contents that I am not familiar with and don't know where to
find. Two of the numbered paragraphs in the document do not appear in the
TOC, but I don't know how to mark them in the same manner as the others. The
code used for the other numbered paragraphs is

{tc"2. Definitions" \f C\1 1}

I'm used to using headings, but have never seen this code. How is it
achieved?

Thank you.

Bev
 
J

Jay Freedman

The TOC field can pull entries from any or all of these sources: from
specific styles that you designate (built-in or user-defined), from
paragraphs assigned specific outline levels (whether defined in the
paragraph style or assigned as part of direct paragraph formatting), or by
from TC fields.

Which sources it uses depends on what switches are included in the TOC
field: \o says to use built-in heading styles, \t says to use other styles,
\u says to use outline levels, and \f says to use TC fields. You can include
any one or more of these switches in a single TOC field -- for example, {TOC
\o "1-3" \f} would tell it to include styles Heading 1 through Heading 3
plus any TC fields.

These switches in the TOC field can be generated automatically by checking
the appropriate boxes in the Options dialog reached from the TOC dialog, or
you can edit them manually
(http://word.mvps.org/faqs/formatting/TOCSwitches.htm).

You can create TC fields anywhere in the document to generate specific text
in the table of contents. You can use the Insert > Field dialog or write the
field code manually (after pressing Ctrl+F9 to create the field markers).

The Help topic "Field codes: TC (Table of Contents Entry) field" explains
the meanings of the switches. The field you showed says that the text "2.
Definitions" (without the quotes) will appear in the table of contents at
level 1 (actually the "1" in the "\1" should be a lower case ell, not a
digit one). The \f C isn't really necessary, as it says the entry goes into
the table of contents (the default) rather than a table of figures or any
other special-purpose table.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
S

Stefan Blom

The table of contents used in the document is based on TC fields. You can
insert these fields by selecting the text to mark, and then pressing
Alt+Shift+O; this displays the Mark Table of Contents Entry dialog box.
Specify the level and, if necessary, edit the suggested text. Then click OK.
See
http://sbarnhill.mvps.org/WordFAQs/TOCTips.htm.

--
Stefan Blom
Microsoft Word MVP


in message
news:[email protected]...
 
G

Guest

Stefan: Thank you. This forum has been so helpful to me in situations where
I just don't know what I am doing. I learn something every time I post a
question - sometimes the answer to my question - other times something about
human nature - but always something. You gave me exactly what I needed. An
instruction that provided the visual I needed to understand the field
construction, not to even mention the ability to fix the TOC with minimum
fuss.

Bev
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top