Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

First row of table of contents not formatted

63 views
Skip to first unread message

Steve Bean

unread,
Apr 11, 2002, 1:25:38 PM4/11/02
to
I have a very simple table of contents derived from field codes.

I have defined the style so level 1 is supposed to be bold.

I've hard coded the level 1 titles designating them as 1.

When I create the table of contents though, the first line is not bolded.
The rest appear OK, but I can't get the first row to work.

What am I missing?


Suzanne S. Barnhill

unread,
Apr 11, 2002, 1:26:47 PM4/11/02
to
Check to make sure that the heading on which the TOC entry is based has not
been bolded manually (using direct formatting). If so, this will counteract
the bold formatting of the TOC 1 style. Any direct formatting applied to
headings in the doc will be reflected (one way or another) in the TOC
entries.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.mvps.org/word

"Steve Bean" <spamle...@sohopersonal.com> wrote in message
news:#8TKF1X4BHA.2488@tkmsftngp04...

Steve Bean

unread,
Apr 11, 2002, 2:53:16 PM4/11/02
to
Ok, is there a way to turn off these moronic stlyes and just let me type
what I want and set the size, bold, etc. myself.

I can't tell you the aggravation these stupid things cause.

Now that I vented, that did not work, or at least I don't think so. My TOC
is all screwed up. I don't want it to do anything but read the fields I put
in there. I don't want it to make assumptions based on formatting I did not
put in in the first place. I just want it to go read the Field codes I put
in.

When I turn off everything but field codes, the first line does not bold and
the third level one is some other font. I can't go in and change anything
because any click on the table just blasts you off to the chapter you
clicked on.

Ohhhh, how I long for Word Perfect!


"Suzanne S. Barnhill" <sbar...@mvps.org> wrote in message
news:uDjWb3X4BHA.1456@tkmsftngp02...

Suzanne S. Barnhill

unread,
Apr 11, 2002, 4:22:38 PM4/11/02
to
Now, now, calm down. Here's what you do:

1. Press Alt+F9. This will display the field code.

2. Delete the \h switch. Press Alt+F9 again, then F9 (choose to update the
entire TOC).

3. You should now be able to format specific levels, but note two things:

a. The TOC styles are set by default to update automatically. This means
that any formatting you apply to one entry will be applied to that style and
hence to every other entry at that level. This is a *good* thing in this
particular instance.

b. Even if you set the style *not* to update automatically, you still
can't apply direct formatting to TOC entries unless you unlink the TOC
because every time you update it (unless you update just the page numbers),
the entries will be reset to the formatting of that particular TOC style
(TOC 1 for Level 1, TOC 2 for Level 2, etc.).

The formatting of the TOC styles is independent of the formatting of the
heading styles on which they are based. You can have Heading 1 and TOC 1
completely different, *but* any formatting that you apply directly to a
Heading 1 paragraph (that is, any formatting that is not defined by the
Heading 1 style) will be passed on to the TOC entry. Again, this is a good
thing if used correctly.

The important thing is to define your styles the way you want the headings
and entries to appear and then let Word take care of the rest.

Until you completely master this technique, sometimes the easiest thing to
do (but only after editing is complete, the last thing before you print, and
making sure it won't change your pagination) is to unlink the TOC
(Ctrl+Shift+F9) and tweak it manually to get the final 1% of formatting that
you can't accomplish automatically.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.mvps.org/word

"Steve Bean" <spamle...@sohopersonal.com> wrote in message

news:OkDnDmY4BHA.2460@tkmsftngp07...

Steve Bean

unread,
Apr 12, 2002, 9:05:30 AM4/12/02
to
OK, I've calmed down, but this is still a pain. Documentation on TOC's is
really weak. I am a VERY experienced user and I can only imagine what the
more typical user goes through. These stupid styles are a pain. I like
setting up my own preferences. I hate it when all these bolds or larger
fonts, get changed to headings or something.

Anyway, I think I have this one licked, sort of.

I have several addendums I've numbered A, B, C, etc. so the pages are A 1, B
3 and so on. Is there a way to get the TOC to show the A 1 page instead of
just the number?

Thanks for your help.


"Suzanne S. Barnhill" <sbar...@mvps.org> wrote in message

news:OnL$mZZ4BHA.2488@tkmsftngp04...

Suzanne S. Barnhill

unread,
Apr 12, 2002, 10:16:44 AM4/12/02
to
The only way to make this easier for yourself is to use styles consistently.
You don't have to use Word's built-in styles, but making TOCs is a lot more
efficient if you use Word's built-in heading styles, which also have a
number of other "magic" properties to recommend them (more on that in a
minute). You don't have to settle for Microsoft's formatting, though. You
can modify the heading styles to look any way you want them. You can also
stop Word from applying styles without your permission by clearing all the
relevant check boxes on the AutoFormat As You Type tab of Tools |
AutoCorrect ("Automatic headings" and "Define styles based on your
formatting" at a minimum; for more, see
http://www.mvps.org/word/FAQs/Formatting/TameAutoFormat.htm).

You *can* include the appendix number in your page number automatically (so
that Word will include it in the TOC) but only if you use a numbered heading
style, and this must be one of Word's built-in headings. If you look at the
Format Page Number dialog, you'll see that it has an option to "Include
chapter number." When you check this box, you then get a selection of
Heading 1 through Heading 9 for the style of the heading where the number
can be found. Assuming that you have a heading somewhere in the appendix
that actually says "Appendix A," it is a (relatively) simple matter to use a
numbered heading style for this. If you've already used, say, Heading 1
through Heading 3 in the body of your document, you can use Heading 4 for
this style. You can, if you like, format it to look identical to Heading 1,
and you can either put a 1 beside it in the TOC Options (so that it's
formatted the same as a chapter title in the TOC), or you can format TOC 4
to be identical to TOC 1, or you can (as I do) have a separate listing for
"Appendixes" that becomes TOC 1 and either create a separate TOC for the
appendix titles or map them to TOC 2 or whatever.

Real freedom and creativity with TOCs comes from the understanding that you
can use a combination of styles, outline levels, and TC fields to include
headings in the TOC (and you might want to look into TC fields if all else
fails), and you can map any heading level to any TOC level. You can omit
page numbers for certain levels. You can control formatting in a number of
ways. Much of this can be done through the TOC dialog and some of it through
the same techniques you use to format ordinary document styles, but some of
it requires getting under the hood and tinkering with the TOC field code,
adding, removing, and changing switches (for more on this, see
http://www.mvps.org/word/FAQs/Formatting/TOCSwitches.htm). This can actually
be fun if you enjoy meeting and mastering the challenge of outsmarting Word.
<g>

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.mvps.org/word

"Steve Bean" <spamle...@sohopersonal.com> wrote in message

news:#Gv3xPi4BHA.2748@tkmsftngp07...

Steve Bean

unread,
Apr 17, 2002, 10:15:11 AM4/17/02
to
Suzanne,

Had a crisis here and got re-directed. I'm back, but still in crisis
management mode. I printed this out and will be back on Thurs. I hope.

Thanks for the info.


"Suzanne S. Barnhill" <sbar...@mvps.org> wrote in message

news:uNw4qyi4BHA.1864@tkmsftngp04...

0 new messages