# Two TOC questions

E

#### Ed

I inserted a TOC field that came up okay except for one minor detail.
I'm grabbing headings which are all "number, tab, text". In the
document, all the tabs are the same length. But when the TOC field
comes up, the tabs are different lengths for one and two digit numbers
- that is, the text entries following the one digit numbers don't line
up with the entries following the two digit numbers as they should if
they were all tabbed out to the same position.

I was able to go up to the ruler and pull the tabs to the same
position - but what formatting option do I set to avoid this? Is this
in the heading style format? Or the TOC style or field format
settings? I tried formatting the TOC tabs through the dialog box, and
kept not getting the right answer.

Also, this TOC replaces a manually-created hyperlinked list (a co-
worker didn't know how to do a TOC, so she created a contents list,
inserted the page numbers, then hyperlinked each entry to the document
page). This report is updated and sent out every few weeks, so the
recipients have been used to seeing the blue underlined hyperlinks.
The TOC produces hyperlinked entries, but they're not blue and
underlined. When I tried to apply that format, the blue and underline
stretched from the number on the left margin all the way to the page
number on the right margin, including the dotted leader. Is there a
way to apply the blue underline only to the text?

Ed

S

#### Suzanne S. Barnhill

In answer to the second question, I think your best bet is to educate users
to expect the new format. As for the first, you need to increase the hanging
indent/first tab stop setting in the relevant TOC style (see
http://sbarnhill.mvps.org/WordFAQs/NumberAlignment.htm). Although TOC styles
are set to update automatically, I've found that this is implemented rather
inconsistently in the case of changing indents/tabs from the ruler, so you
may need to actually go to Format | Style | Modify | Format |
Tabs/Paragraph.

--
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.

H

#### Henk57

I agree to Suzanne re the second question: better to change it once an
for all. The page number is hyperlinked but when "Use Ctrl+Click fo
hyperlinks" is checked in Tools/Options/Edit you need to keep [Ctrl
pressed to get the hyperlink effect.
FWIW, the font style can be set up to underline "words only" so the
the leader line is not underlined.

E

#### Ed

Thank you both for your help. I'll play with these and see what I
come up with.

If I'm understanding the concept, though, I can format the text the
TOC inserts - font, paragraph, tabs, etc - separate from the styles
the TOC is picking up, yes? But if the text the TOC sees is "number,
tab, text", I can't make the TOC reproduce it in the field as "number,
Space space, text", correct? (I know that wasn't part of the original
question, but as I go through this ~~~~~ report, I see more and more
that I'd rather not have to deal with! If they would at least get it
wrong the same way each time, I could do something! But this looks
like the proverbial thousand monkeys typing for a thousand years -
except they were all drunk!)

*sigh*
Ed

I agree to Suzanne re the second question: better to change it once and
for all. The page number is hyperlinked but when "Use Ctrl+Click for
hyperlinks" is checked in Tools/Options/Edit you need to keep [Ctrl]
pressed to get the hyperlink effect.
FWIW, the font style can be set up to underline "words only" so then
the leader line is not underlined.

Suzanne S. Barnhill;2200904 Wrote:

In answer to the second question, I think your best bet is to educate
users
to expect the new format. As for the first, you need to increase the
hanging
indent/first tab stop setting in the relevant TOC style (see
http://sbarnhill.mvps.org/WordFAQs/NumberAlignment.htm). Although TOC
styles
are set to update automatically, I've found that this is implemented
rather
inconsistently in the case of changing indents/tabs from the ruler, so
you
may need to actually go to Format | Style | Modify | Format |
Tabs/Paragraph.
--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site:http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so
all may benefit.
"Ed" (e-mail address removed) wrote in message
I inserted a TOC field that came up okay except for one minor detail.
I'm grabbing headings which are all "number, tab, text". In the
document, all the tabs are the same length. But when the TOC field
comes up, the tabs are different lengths for one and two digit
numbers
- that is, the text entries following the one digit numbers don't
line
up with the entries following the two digit numbers as they should if
they were all tabbed out to the same position.
I was able to go up to the ruler and pull the tabs to the same
position - but what formatting option do I set to avoid this? Is
this
in the heading style format? Or the TOC style or field format
settings? I tried formatting the TOC tabs through the dialog box,
and
kept not getting the right answer.
Also, this TOC replaces a manually-created hyperlinked list (a co-
worker didn't know how to do a TOC, so she created a contents list,
inserted the page numbers, then hyperlinked each entry to the
document
page). This report is updated and sent out every few weeks, so the
recipients have been used to seeing the blue underlined hyperlinks.
The TOC produces hyperlinked entries, but they're not blue and
underlined. When I tried to apply that format, the blue and
underline
stretched from the number on the left margin all the way to the page
number on the right margin, including the dotted leader. Is there a
way to apply the blue underline only to the text?

S

#### Stefan Blom

Yes, each TOC entry will have the font formatting of the corresponding
TOC style. And, yes, you cannot use a space instead of tab characters
after a numbered item (unless a space is used in the number formatting
of the heading). But, as Suzanne wrote, you can add tab stops (or
even hanging indents) to a TOC style. That way, you can still control
the appearance of the corresponding TOC entry.

--
Stefan Blom
Microsoft Word MVP

in message
Thank you both for your help. I'll play with these and see what I
come up with.

If I'm understanding the concept, though, I can format the text the
TOC inserts - font, paragraph, tabs, etc - separate from the styles
the TOC is picking up, yes? But if the text the TOC sees is "number,
tab, text", I can't make the TOC reproduce it in the field as "number,
Space space, text", correct? (I know that wasn't part of the original
question, but as I go through this ~~~~~ report, I see more and more
that I'd rather not have to deal with! If they would at least get it
wrong the same way each time, I could do something! But this looks
like the proverbial thousand monkeys typing for a thousand years -
except they were all drunk!)

*sigh*
Ed

I agree to Suzanne re the second question: better to change it once and
for all. The page number is hyperlinked but when "Use Ctrl+Click for
hyperlinks" is checked in Tools/Options/Edit you need to keep [Ctrl]
pressed to get the hyperlink effect.
FWIW, the font style can be set up to underline "words only" so then
the leader line is not underlined.

Suzanne S. Barnhill;2200904 Wrote:

In answer to the second question, I think your best bet is to educate
users
to expect the new format. As for the first, you need to increase the
hanging
indent/first tab stop setting in the relevant TOC style (see
http://sbarnhill.mvps.org/WordFAQs/NumberAlignment.htm). Although TOC
styles
are set to update automatically, I've found that this is implemented
rather
inconsistently in the case of changing indents/tabs from the ruler, so
you
may need to actually go to Format | Style | Modify | Format |
Tabs/Paragraph.
--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site:http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so
all may benefit.
"Ed" (e-mail address removed) wrote in message
I inserted a TOC field that came up okay except for one minor detail.
I'm grabbing headings which are all "number, tab, text". In the
document, all the tabs are the same length. But when the TOC field
comes up, the tabs are different lengths for one and two digit
numbers
- that is, the text entries following the one digit numbers don't
line
up with the entries following the two digit numbers as they should if
they were all tabbed out to the same position.
I was able to go up to the ruler and pull the tabs to the same
position - but what formatting option do I set to avoid this? Is
this
in the heading style format? Or the TOC style or field format
settings? I tried formatting the TOC tabs through the dialog box,
and
kept not getting the right answer.
Also, this TOC replaces a manually-created hyperlinked list (a co-
worker didn't know how to do a TOC, so she created a contents list,
inserted the page numbers, then hyperlinked each entry to the
document
page). This report is updated and sent out every few weeks, so the
recipients have been used to seeing the blue underlined hyperlinks.
The TOC produces hyperlinked entries, but they're not blue and
underlined. When I tried to apply that format, the blue and
underline
stretched from the number on the left margin all the way to the page
number on the right margin, including the dotted leader. Is there
a