Group:  Microsoft Word ยป microsoft.public.word.numbering
Thread: TOC: changing color of TOC entry and leader+page number

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

TOC: changing color of TOC entry and leader+page number
"Iza Peszek" <peszkes[ at ]optonline.net> 25.08.2006 20:43:27
This is a multi-part message in MIME format.

------=_NextPart_000_0046_01C6C865.972C6900
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

I am tying to find a way to create a TOC (built from TC entries) that =
shows TC entry text in red but leader characters and page numbers in =
black, e,g,

Chapter 1 ...........................1
Chapter 2 ...........................2

I was trying to do that with TOC1 styles, but it seems that I can not =
apply the style to just a portion of TOC...Also tried to change the =
color of TC fields themselves to red, but they still show in black in =
the TOC...
I Word 2002 I can do it (somewhat awkwardly) by creating TOC, selecting =
portion of TOC entries before leader characters, and changing their =
color , then locking the TOC field to prevent automatic updates. But I =
need to do the same in Word 2000, and then I can not select just a =
portion of TOC - the whole TOC gets selected.

Obviously I could do it by manually creating each TOC line (without =
using TOC field), but I was hoping to take advantage of the TOC field =
that automatically "gathers" all TC fields

Any suggestions will be greatly appreciated

iza
------=_NextPart_000_0046_01C6C865.972C6900
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2963" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I am tying to find a way to create a =
TOC (built=20
from TC entries) that shows TC entry text in red but leader characters =
and page=20
numbers in black, e,g,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#ff0000 size=3D2>Chapter 1 <FONT=20
color=3D#000000>...........................1</FONT></FONT></DIV>
<DIV><FONT face=3DArial color=3D#ff0000 size=3D2>Chapter 2 <FONT=20
color=3D#000000>...........................2</FONT></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2>I was trying to do that =
with TOC1=20
styles, but it seems that I can not apply the style to just a =
portion of=20
TOC...Also tried to change the color of TC fields themselves to red, but =
they=20
still show in black in the TOC...</FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2>I Word 2002 I can do it =
(somewhat=20
awkwardly) by creating TOC, selecting portion of TOC entries before =
leader=20
characters, and changing their color , then locking the TOC field to =
prevent=20
automatic updates. But I need to do the same in Word 2000, and then I =
can not=20
select just a portion of TOC - the whole TOC gets selected.</FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2>Obviously I could do it =
by manually=20
creating each TOC line (without using TOC field), but I was hoping to =
take=20
advantage of the TOC field that automatically "gathers" all TC=20
fields</FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2>Any suggestions will be =
greatly=20
appreciated</FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff =
size=3D2>iza</FONT></DIV></BODY></HTML>

------=_NextPart_000_0046_01C6C865.972C6900--

Re: changing color of TOC entry and leader+page number
"Suzanne S. Barnhill" <sbarnhill[ at ]mvps.org> 25.08.2006 21:42:55
There is, I'm afraid, no way to do this automatically. The best you can do
is to wait until editing is complete and the TOC will not have to be updated
again, then unlink it (Ctrl+Shift+F9) and column-select the page numbers
(using Alt+drag) and change the font color.

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

"Iza Peszek" <peszkes[ at ]optonline.net> wrote in message
news:%23CY1TcIyGHA.2384[ at ]TK2MSFTNGP05.phx.gbl...
Hi,

I am tying to find a way to create a TOC (built from TC entries) that shows
TC entry text in red but leader characters and page numbers in black, e,g,

Chapter 1 ...........................1
Chapter 2 ...........................2

I was trying to do that with TOC1 styles, but it seems that I can not apply
the style to just a portion of TOC...Also tried to change the color of TC
fields themselves to red, but they still show in black in the TOC...
I Word 2002 I can do it (somewhat awkwardly) by creating TOC, selecting
portion of TOC entries before leader characters, and changing their color ,
then locking the TOC field to prevent automatic updates. But I need to do
the same in Word 2000, and then I can not select just a portion of TOC - the
whole TOC gets selected.

Obviously I could do it by manually creating each TOC line (without using
TOC field), but I was hoping to take advantage of the TOC field that
automatically "gathers" all TC fields

Any suggestions will be greatly appreciated

iza

Re: changing color of TOC entry and leader+page number
"Iza Peszek" <peszkes[ at ]optonline.net> 25.08.2006 22:01:23
Thank you for such a prompt reply. I will try your suggestion.
Iza

"Suzanne S. Barnhill" <sbarnhill[ at ]mvps.org> wrote in message
news:ecIee$IyGHA.2208[ at ]TK2MSFTNGP03.phx.gbl...
[Quoted Text]
> There is, I'm afraid, no way to do this automatically. The best you can do
> is to wait until editing is complete and the TOC will not have to be
> updated
> again, then unlink it (Ctrl+Shift+F9) and column-select the page numbers
> (using Alt+drag) and change the font color.
>
> --
> 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.
>
> "Iza Peszek" <peszkes[ at ]optonline.net> wrote in message
> news:%23CY1TcIyGHA.2384[ at ]TK2MSFTNGP05.phx.gbl...
> Hi,
>
> I am tying to find a way to create a TOC (built from TC entries) that
> shows
> TC entry text in red but leader characters and page numbers in black, e,g,
>
> Chapter 1 ...........................1
> Chapter 2 ...........................2
>
> I was trying to do that with TOC1 styles, but it seems that I can not
> apply
> the style to just a portion of TOC...Also tried to change the color of TC
> fields themselves to red, but they still show in black in the TOC...
> I Word 2002 I can do it (somewhat awkwardly) by creating TOC, selecting
> portion of TOC entries before leader characters, and changing their color
> ,
> then locking the TOC field to prevent automatic updates. But I need to do
> the same in Word 2000, and then I can not select just a portion of TOC -
> the
> whole TOC gets selected.
>
> Obviously I could do it by manually creating each TOC line (without using
> TOC field), but I was hoping to take advantage of the TOC field that
> automatically "gathers" all TC fields
>
> Any suggestions will be greatly appreciated
>
> iza
>


Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net