Underline formatting not showing in Table of Contents

A

Alexandra8011

I created a table of contents using heading styles, and I understand that in
order for bold, italic, or underlining formatting to show up, I have to
directly format the text, which I did. However, the table of contents still
does not show the underlined words. It will show bold and italic and if I put
my cursor in the middle of the word that supposed to be underlined in the
TOC, the underline button is on, but no underline shows up, and no underline
shows in print preview, or when I print. Any ideas? Thanks! ~Alex
 
S

Suzanne S. Barnhill

This may be a side-effect of suppressing the blue and underline formatting
of the Hyperlink style. Do you have the same issue if you delete the \h
switch from the TOC field? This would result in entries not being
hyperlinked, but page numbers still will be.

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

Alexandra8011

After I wrote this, I still played around with the document, and I found that
if I unchecked the box "Use hyperlinks instead of page numbers" in the Index
and Tables, Table of Contents dialog box, the underlining would show up. I
think maybe the hyperlinking was conflicting with the underline formatting.
The table still lets me CTRL click to a certain paragraph, so I think this
will work for now.
 
S

Suzanne S. Barnhill

Clearing that check box accomplishes the same thing as deleting the \h
switch from the field.

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

PamC via OfficeKB.com

The underscore, like bold and italic, is a toggle. Apply it once and it's on.
Apply it again and it's off. So the underscore in the hyperlink character
style is turning off the direct formatting underscore that you want. You can
modify the hyperlink style to remove the underscore (the color is enough of a
signal).

Pam
After I wrote this, I still played around with the document, and I found that
if I unchecked the box "Use hyperlinks instead of page numbers" in the Index
and Tables, Table of Contents dialog box, the underlining would show up. I
think maybe the hyperlinking was conflicting with the underline formatting.
The table still lets me CTRL click to a certain paragraph, so I think this
will work for now.
This may be a side-effect of suppressing the blue and underline formatting
of the Hyperlink style. Do you have the same issue if you delete the \h
[quoted text clipped - 12 lines]
 
S

Suzanne S. Barnhill

I doubt that this will help because the Hyperlink formatting is suppressed
in TOC fields. In fact, I've just tested it, and removing the underlining
from the Hyperlink style makes no difference. The only thing that works is
removing the \h switch.

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

PamC via OfficeKB.com said:
The underscore, like bold and italic, is a toggle. Apply it once and it's
on.
Apply it again and it's off. So the underscore in the hyperlink character
style is turning off the direct formatting underscore that you want. You
can
modify the hyperlink style to remove the underscore (the color is enough
of a
signal).

Pam
After I wrote this, I still played around with the document, and I found
that
if I unchecked the box "Use hyperlinks instead of page numbers" in the
Index
and Tables, Table of Contents dialog box, the underlining would show up. I
think maybe the hyperlinking was conflicting with the underline
formatting.
The table still lets me CTRL click to a certain paragraph, so I think this
will work for now.
This may be a side-effect of suppressing the blue and underline
formatting
of the Hyperlink style. Do you have the same issue if you delete the \h
[quoted text clipped - 12 lines]
underline
shows in print preview, or when I print. Any ideas? Thanks! ~Alex
 
P

PamC via OfficeKB.com

Oh gee, I could see in my mind's eye the ugly blue underscored TOCs that
bothered me so much that I modified the hyperlink style to get rid of it.
Now that you mention it, I haven't had to do that in quite a while. I wonder
how many versions I skipped back to?

Thanks,
Pam
I doubt that this will help because the Hyperlink formatting is suppressed
in TOC fields. In fact, I've just tested it, and removing the underlining
from the Hyperlink style makes no difference. The only thing that works is
removing the \h switch.
The underscore, like bold and italic, is a toggle. Apply it once and it's
on.
[quoted text clipped - 23 lines]
 
S

Suzanne S. Barnhill

My understanding is that you wouldn't ever see that formatting in any
version except in Web Layout view (where page numbers are also suppressed)
or if you manually hyperlinked the entries. But I confess I skipped from
Word 97 to Word 2002, so I can't be sure what happened in Word 2000, and I
generally omit the hyperlinking, anyway, as most of my documents are
destined for print.

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

PamC via OfficeKB.com said:
Oh gee, I could see in my mind's eye the ugly blue underscored TOCs that
bothered me so much that I modified the hyperlink style to get rid of it.
Now that you mention it, I haven't had to do that in quite a while. I
wonder
how many versions I skipped back to?

Thanks,
Pam
I doubt that this will help because the Hyperlink formatting is suppressed
in TOC fields. In fact, I've just tested it, and removing the underlining
from the Hyperlink style makes no difference. The only thing that works is
removing the \h switch.
The underscore, like bold and italic, is a toggle. Apply it once and
it's
on.
[quoted text clipped - 23 lines]
underline
shows in print preview, or when I print. Any ideas? Thanks! ~Alex
 

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