Field switchs

  • Thread starter Thread starter JJ
  • Start date Start date
J

JJ

I have a table of contents and all the entries are all caps. I want to
change that to the first letter Cap. I went to fields and chose TOC for the
table of contents, went to field codes. what's there now is

TOC \t "Book 1,1"

How and where do I enter :

{COMMENTS \* FirstCap}


Thanks

JJ
 
Might be easier to handle this the other way round. Enter the headings as
you want them to appear in the TOC, then define your heading styles to use
All Caps.
 
G'Day JJ,

Let's be clear:
The Heading STYLES are Heading 1, Heading 2.....
The associated TOC STYLES are TOC 1, TOC 2......
(usually)

The TEXT in the headings and the TOC will be the same!
1. ALL CAPS ==>ALL CAPS; No matter what you do!
2. CAP+SMALL==>CAP+SMALL; and can be varied in
two ways:
Have one formatted as "Small caps" OR
Have one formatted as "All caps" OR
some combination.
--
Regards,
Pat Garard
Australia

______________________________________
 
In theory, you can add switches to the TOC field code. For example, if
you display the field code (ALT+F9 works as a toggle) and then add \*
lower, so that it looks like this:

{ TOC \t "Book 1,1" \* lower }

you would get a table of contents where all the entries are formatted
in lowercase, as soon as you updated it with F9. This works even if
you used CAPS LOCK to add the uppercase formatting to the headings.
Using \* FirstCap instead of \* lower does not give the analogous
result, though.

Instead, if you need uppercase formatting in your heading style but
not in your table of contents, add uppercase as an attribute to the
style (rather than as direct formatting or by using the CAPS LOCK key
on your keyboard) and then format the TOC styles the way you want
them.
 
What Jezebel, Pat, and Stephan have been telling you is all true, but I
think you may not understand it. I'm going to try to explain it more
carefully.

As Pat says, your headings use one set of styles. Most likely these are
Heading 1, Heading 2, etc., but you may have used custom styles. The TOC
uses a different set of styles--TOC 1, TOC 2, etc.--one for each level of
the TOC. By default TOC 1 is used for Level 1 heads (Heading 1), TOC 2 for
Level 2, etc., though this also can be customized.

By default, the TOC styles do not have any character formatting at all. If
your first heading were all lowercase, that is what you would see in the
corresponding TOC entry. When you use C&lc (Caps and lowercase), then that's
what you get in the TOC. If you use ALL CAPS, then that's what you'll get in
the TOC.

Similarly, the TOC picks up any character formatting that has been applied
as direct formatting (bold, italic, etc.), so if you have italicized a title
in one of your headings, it will be italicized in the TOC.

At this point, you may be wondering how you can have your headings in ALL
CAPS and the TOC entry in C&lc. This is where your style formatting comes
in. If you are seeing ALL CAPS in the TOC, then one of two things is true:

1. You have typed the heading in all caps using Caps Lock.

2. You have applied the All Caps font property as direct formatting.

The secret is that font formatting that is applied as part of the style is
*not* picked up by the TOC. For example, the default formatting of Heading 1
is 16-pt Arial Bold; yet TOC 1 is still 12-pt Times New Roman. Heading 2 is
14-pt Arial Bold Italic, but TOC 2 is still 12-pt TNR. That's because the
font size and properties are applied as part of the style.

So, in order to have your headings in ALL CAPS and the TOC in C&lc, you need
to add the All Caps font property to your heading style. When you do this,
you will notice a significant difference between using All Caps formatting
and Caps Lock. When you have Caps Lock turned on, the Shift key creates a
lowercase letter. When you're using All Caps, the Shift key doesn't appear
to do anything, but if you remove the All Caps formatting, you'll see that
the characters you capitalized are still capitalized. These caps will also
show up in the TOC, so you want to be careful to type your headings in C&lc
just as you would if you did not have the All Caps property applied
(sometimes it's easier to remove the All Caps temporarily, using
Ctrl+Shift+C or a toolbar button that you can add using Tools | Customize,
type in C&lc, then restore the default formatting).

As you will see, the same principle applies to any other heading formatting:
as long as it is part of the style, it will not show up in the TOC. But that
doesn't mean that your TOC has to be 12-pt TNR: you can customize the TOC 1,
TOC 2, etc., styles the same way you customize your heading styles. If you
want TOC 1 to be 14-pt TNR Bold, just modify it to have that formatting, and
similarly for the other TOC levels.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
Back
Top