TOC: Different Leader and Page Number

L

Leif

Is there any way to have different font formatting for the leader or the
page number of an automatically generated TOC?

I've inserted a TOC with Insert > Index and Tables..., using the "From
Template" format. My document uses the built in Heading styles.

I want the text in the TOC1 style to be bold...but I want the leader and
page number to be regular -- the same as the leaders and page numbers for
the TOC2 and TOC3 styles.

Is there any way to do this? Or can someone suggest an alternative
formatting idea?

Thanks!

Leif

(Mac MS Word 2004 11.2)
 
C

Clive Huggan

Thanks for asking an interesting question, Leif! I have sometimes wanted to
do this, but I've always been in a hurry when it came up it has never been a
high enough priority to investigate further.

I thought it might be possible to hold down the Option key and drag from the
right of *all* page numbers to part-way into the tabbed leaders, then key
Command-b once or twice to disembolden them. But that had no effect, as you
probably know. Nor did it work when I did the same thing for the page
numbers only; ditto for leaders only (well, it only changed the top leader).

Aha! This works:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1. GET RID OF EMBOLDENED LEADERS

Click above the table of contents.

Command-Shift-h.

Key "^t" <==[don't include the quotes] in the top field and at the bottom
choose Format -> Font -> Bold.

In the lower field, do the same but choose Not Bold.

Click on Find next, Replace till you leave the table of contents.

2. GET RID OF EMBOLDENED PAGE NUMBERS

Click above the table of contents again.

Command-Shift-h.

Key "^#" in the top field and retain the Font:Bold setting.

Make the lower field blank and retain the Font:Not Bold setting.

Find next, Replace till you leave the table of contents.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Voilà!

But someone may come along with some elegant VBA macro to do it
automatically.

Again, thanks for asking this one, Leif ­ I'm going to use this (albeit only
on final versions).

Cheers,

Clive Huggan
Canberra, Australia
(My time zone is 5-11 hours different from the US and Europe, so my
follow-on responses to those regions can be delayed)
============================================================
* A SUGGESTION -- WAIT FOR CONSIDERED ADVICE: If you post a question, keep
re-visiting the newsgroup for several days after the first response comes
in. Sometimes it takes a few responses before the best or complete solution
is proposed; sometimes you'll be asked for further information so that a
better answer can be provided. Good tips about getting the best out of
posting are at http://word.mvps.org/FindHelp/Posting.htm (if you use Safari
you may see a blank page and have to hit the circular arrow icon -- "Reload
the current page" -- a few times) and
http://word.mvps.org/Mac/AccessNewsgroups.html

============================================================
 
L

Leif

Yeah! Nice workaround! Many thanks, Clive!

Of course, I just realized that as soon as I update the TOC, Word reverts to
it's original formatting, but that's okay -- the main thing is that I have a
fix...

Cheers,

Leif


Thanks for asking an interesting question, Leif! I have sometimes wanted to
do this, but I've always been in a hurry when it came up it has never been a
high enough priority to investigate further.

I thought it might be possible to hold down the Option key and drag from the
right of *all* page numbers to part-way into the tabbed leaders, then key
Command-b once or twice to disembolden them. But that had no effect, as you
probably know. Nor did it work when I did the same thing for the page
numbers only; ditto for leaders only (well, it only changed the top leader).

Aha! This works:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1. GET RID OF EMBOLDENED LEADERS

Click above the table of contents.

Command-Shift-h.

Key "^t" <==[don't include the quotes] in the top field and at the bottom
choose Format -> Font -> Bold.

In the lower field, do the same but choose Not Bold.

Click on Find next, Replace till you leave the table of contents.

2. GET RID OF EMBOLDENED PAGE NUMBERS

Click above the table of contents again.

Command-Shift-h.

Key "^#" in the top field and retain the Font:Bold setting.

Make the lower field blank and retain the Font:Not Bold setting.

Find next, Replace till you leave the table of contents.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Voilà!

But someone may come along with some elegant VBA macro to do it
automatically.

Again, thanks for asking this one, Leif ­ I'm going to use this (albeit only
on final versions).

Cheers,

Clive Huggan
Canberra, Australia
(My time zone is 5-11 hours different from the US and Europe, so my
follow-on responses to those regions can be delayed)
============================================================
* A SUGGESTION -- WAIT FOR CONSIDERED ADVICE: If you post a question, keep
re-visiting the newsgroup for several days after the first response comes
in. Sometimes it takes a few responses before the best or complete solution
is proposed; sometimes you'll be asked for further information so that a
better answer can be provided. Good tips about getting the best out of
posting are at http://word.mvps.org/FindHelp/Posting.htm (if you use Safari
you may see a blank page and have to hit the circular arrow icon -- "Reload
the current page" -- a few times) and
http://word.mvps.org/Mac/AccessNewsgroups.html

============================================================




Is there any way to have different font formatting for the leader or the
page number of an automatically generated TOC?

I've inserted a TOC with Insert > Index and Tables..., using the "From
Template" format. My document uses the built in Heading styles.

I want the text in the TOC1 style to be bold...but I want the leader and
page number to be regular -- the same as the leaders and page numbers for
the TOC2 and TOC3 styles.

Is there any way to do this? Or can someone suggest an alternative
formatting idea?

Thanks!

Leif

(Mac MS Word 2004 11.2)
 
M

mmmmark

You probably know this, but when updating the TOC, you have two choices: 1)
Update page numbers only AND 2) Update entire table. If you are updating
TOC entries then it doesn't much matter, but if just page numbers are
changing, it can save you some grief!

Good luck,
Mark


Leif said:
Yeah! Nice workaround! Many thanks, Clive!

Of course, I just realized that as soon as I update the TOC, Word reverts
to
it's original formatting, but that's okay -- the main thing is that I have
a
fix...

Cheers,

Leif


Thanks for asking an interesting question, Leif! I have sometimes wanted
to
do this, but I've always been in a hurry when it came up it has never
been a
high enough priority to investigate further.

I thought it might be possible to hold down the Option key and drag from
the
right of *all* page numbers to part-way into the tabbed leaders, then key
Command-b once or twice to disembolden them. But that had no effect, as
you
probably know. Nor did it work when I did the same thing for the page
numbers only; ditto for leaders only (well, it only changed the top
leader).

Aha! This works:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1. GET RID OF EMBOLDENED LEADERS

Click above the table of contents.

Command-Shift-h.

Key "^t" <==[don't include the quotes] in the top field and at the bottom
choose Format -> Font -> Bold.

In the lower field, do the same but choose Not Bold.

Click on Find next, Replace till you leave the table of contents.

2. GET RID OF EMBOLDENED PAGE NUMBERS

Click above the table of contents again.

Command-Shift-h.

Key "^#" in the top field and retain the Font:Bold setting.

Make the lower field blank and retain the Font:Not Bold setting.

Find next, Replace till you leave the table of contents.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Voilà!

But someone may come along with some elegant VBA macro to do it
automatically.

Again, thanks for asking this one, Leif ­ I'm going to use this (albeit
only
on final versions).

Cheers,

Clive Huggan
Canberra, Australia
(My time zone is 5-11 hours different from the US and Europe, so my
follow-on responses to those regions can be delayed)
============================================================
* A SUGGESTION -- WAIT FOR CONSIDERED ADVICE: If you post a question,
keep
re-visiting the newsgroup for several days after the first response comes
in. Sometimes it takes a few responses before the best or complete
solution
is proposed; sometimes you'll be asked for further information so that a
better answer can be provided. Good tips about getting the best out of
posting are at http://word.mvps.org/FindHelp/Posting.htm (if you use
Safari
you may see a blank page and have to hit the circular arrow icon --
"Reload
the current page" -- a few times) and
http://word.mvps.org/Mac/AccessNewsgroups.html

============================================================




Is there any way to have different font formatting for the leader or the
page number of an automatically generated TOC?

I've inserted a TOC with Insert > Index and Tables..., using the "From
Template" format. My document uses the built in Heading styles.

I want the text in the TOC1 style to be bold...but I want the leader and
page number to be regular -- the same as the leaders and page numbers
for
the TOC2 and TOC3 styles.

Is there any way to do this? Or can someone suggest an alternative
formatting idea?

Thanks!

Leif

(Mac MS Word 2004 11.2)
 
C

Clive Huggan

Yes, if you subsequently do not have to nominate "Update entire table", Word
will simply update the page numbers and will not embolden the leaders and
page numbers in the process. By contrast, "Update entire table" compiles a
complete table of contents afresh, so the emboldening appears again.

But I would usually not anticipate performing the manual disemboldening
actions until the final version...

Cheers,

Clive Huggan
=============


You probably know this, but when updating the TOC, you have two choices: 1)
Update page numbers only AND 2) Update entire table. If you are updating
TOC entries then it doesn't much matter, but if just page numbers are
changing, it can save you some grief!

Good luck,
Mark


Leif said:
Yeah! Nice workaround! Many thanks, Clive!

Of course, I just realized that as soon as I update the TOC, Word reverts
to
it's original formatting, but that's okay -- the main thing is that I have
a
fix...

Cheers,

Leif


Thanks for asking an interesting question, Leif! I have sometimes wanted
to
do this, but I've always been in a hurry when it came up it has never
been a
high enough priority to investigate further.

I thought it might be possible to hold down the Option key and drag from
the
right of *all* page numbers to part-way into the tabbed leaders, then key
Command-b once or twice to disembolden them. But that had no effect, as
you
probably know. Nor did it work when I did the same thing for the page
numbers only; ditto for leaders only (well, it only changed the top
leader).

Aha! This works:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1. GET RID OF EMBOLDENED LEADERS

Click above the table of contents.

Command-Shift-h.

Key "^t" <==[don't include the quotes] in the top field and at the bottom
choose Format -> Font -> Bold.

In the lower field, do the same but choose Not Bold.

Click on Find next, Replace till you leave the table of contents.

2. GET RID OF EMBOLDENED PAGE NUMBERS

Click above the table of contents again.

Command-Shift-h.

Key "^#" in the top field and retain the Font:Bold setting.

Make the lower field blank and retain the Font:Not Bold setting.

Find next, Replace till you leave the table of contents.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Voilà!

But someone may come along with some elegant VBA macro to do it
automatically.

Again, thanks for asking this one, Leif ­ I'm going to use this (albeit
only
on final versions).

Cheers,

Clive Huggan
Canberra, Australia
(My time zone is 5-11 hours different from the US and Europe, so my
follow-on responses to those regions can be delayed)
============================================================
* A SUGGESTION -- WAIT FOR CONSIDERED ADVICE: If you post a question,
keep
re-visiting the newsgroup for several days after the first response comes
in. Sometimes it takes a few responses before the best or complete
solution
is proposed; sometimes you'll be asked for further information so that a
better answer can be provided. Good tips about getting the best out of
posting are at http://word.mvps.org/FindHelp/Posting.htm (if you use
Safari
you may see a blank page and have to hit the circular arrow icon --
"Reload
the current page" -- a few times) and
http://word.mvps.org/Mac/AccessNewsgroups.html

============================================================




On 25/4/06 2:49 AM, in article C0725DB6.520A%[email protected], "Leif"

Is there any way to have different font formatting for the leader or the
page number of an automatically generated TOC?

I've inserted a TOC with Insert > Index and Tables..., using the "From
Template" format. My document uses the built in Heading styles.

I want the text in the TOC1 style to be bold...but I want the leader and
page number to be regular -- the same as the leaders and page numbers
for
the TOC2 and TOC3 styles.

Is there any way to do this? Or can someone suggest an alternative
formatting idea?

Thanks!

Leif

(Mac MS Word 2004 11.2)
 
M

mmmmark

But as you know, "the road to Hell is paved with good intentions..."

If I had a nickel for every time I THOUGHT I was done and really wasn't, I'd
be a wealthy man! ;-)
 
C

Clive Huggan

Ah! Mark, although we don't have nickels in Australia, strangely enough the
phenomenon you mention is, er, very much alive and well down here!

CH
===
 

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