Results 1 to 10 of 10
  1. #1
    Bronze Lounger
    Join Date
    Jun 2001
    Location
    New York, New York, Lebanon
    Posts
    1,449
    Thanks
    1
    Thanked 1 Time in 1 Post

    Table of Contents (Word 97 and >)

    <img src=/S/hello.gif border=0 alt=hello width=25 height=29> Loungers.

    OK so I told you earlier about my joke list. BTW these jokes are all clean and G rated. BUT <img src=/S/evilgrin.gif border=0 alt=evilgrin width=15 height=15> sometimes I get some real racy ones, if you are asking me how racy well I want to color the entry into the Table of Contents Red to denote that this one is really hot.

    I am using a Header1 for the title of each joke and the TOC picks these up and voala. How can I designate a color change on a per case situation in the TOC.

    BTW assume that all I know about MS-Word is that it is made by Microsoft?

    TIA

    Wassim <img src=/S/compute.gif border=0 alt=compute width=40 height=20>
    <img src=/S/compute.gif border=0 alt=compute width=40 height=20> in the <img src=/S/bagged.gif border=0 alt=bagged width=22 height=22>

  2. #2
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Table of Contents (Word 97 and >)

    Hi Wassim:
    1. Select the particular heading that you want red, including the paragraph mark.
    2. Ctrl+D to bring up the font dialog box.
    3. Choose red as the font color.

    When you put in the TOC, the heading will appear in red.

    Cheers,

  3. #3
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Table of Contents (Word 97 and >)

    That doesn't seem to work in Word 2000. The TOC entries have a paragraph style of TOC1 and a character style of Hyperlink. There doesn't seem to be the field code equivalent of * MERGEFORMAT that modulates whether to pay attention to the underlying formatting of the referenced paragraph.

    I think the solution might be to designate the racy ones as Heading2s, and edit the style definitions so that Heading2s look like Heading1s, and TOC2s are like TOC1s except that they are in red. (I didn't try this myself, but it sounds good. <img src=/S/smile.gif border=0 alt=smile width=15 height=15>)

  4. #4
    Bronze Lounger
    Join Date
    Jun 2001
    Location
    New York, New York, Lebanon
    Posts
    1,449
    Thanks
    1
    Thanked 1 Time in 1 Post

    Re: Table of Contents (Word 97 and >)

    jscher2000

    I like your idea much better, but will the Heading2s have the same indentation as the Heading1s? Can I control the indentation myself?

    I actually had your idea in mind but I did not know how to control the indentation, so that is why I asked the question.

    TIA

    Wassim <img src=/S/compute.gif border=0 alt=compute width=40 height=20>
    <img src=/S/compute.gif border=0 alt=compute width=40 height=20> in the <img src=/S/bagged.gif border=0 alt=bagged width=22 height=22>

  5. #5
    Bronze Lounger
    Join Date
    Jun 2001
    Location
    New York, New York, Lebanon
    Posts
    1,449
    Thanks
    1
    Thanked 1 Time in 1 Post

    Re: Table of Contents (Word 97 and >)

    Phil

    I will need to do this manually for each and every TOC line. I was hoping that I can use the Header to change that automatically so that when I determine that this joke is not a G rated one, simply select a TOC header and it does the rest. This header will be the same as the other G rated headers but it will be Red font.

    Thanks

    Wassim <img src=/S/compute.gif border=0 alt=compute width=40 height=20>
    <img src=/S/compute.gif border=0 alt=compute width=40 height=20> in the <img src=/S/bagged.gif border=0 alt=bagged width=22 height=22>

  6. #6
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Table of Contents (Word 97 and >)

    Phil's method works perfectly for me. Word 2000 SR1a running on Windows 98.

    See attached sample.

    StuartR
    Attached Files Attached Files

  7. #7
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Table of Contents (Word 97 and >)

    Oh, hey. Our field codes are different. Yours is the unadorned:

    { TOC }

    Using Insert|Index and Tables... mine defaulted to:

    { TOC o "1-3" h z }

    If I delete the h and refresh it, it does take on the red color! If the "full line hyperlink" feature isn't needed, this is indeed a very convenient solution. Cool.

  8. #8
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Table of Contents (Word 97 and >)

    Hi Wassim:
    I've been away for a day, but...

    Do not modify the TOC line manually! It will do no good. Every time you update it, it will revert. What I suggested was to modify the heading of the racy jokes. I figured that you have to do that manually, anyhow, unless you have a computer with a sense of humor. <img src=/S/grin.gif border=0 alt=grin width=15 height=15> (By the way it acts, I think mine does).

    First, I notice that you want to use Jefferson's idea. Yes, you can control the indentation for the TOC 2 style. Just modify it under Format/Style/Modify & you can add it to your template (or not) as you desire.

    You can also modify the Heading 2 style. Don't forget to go under Format/Style/Heading2/Modify/Format/Paragraph & set the outline level (on the idents & spacing tab) to 1.

    Hope this helps.

  9. #9
    Bronze Lounger
    Join Date
    Jun 2001
    Location
    New York, New York, Lebanon
    Posts
    1,449
    Thanks
    1
    Thanked 1 Time in 1 Post

    Re: Table of Contents (Word 97 and >)

    <img src=/S/hello.gif border=0 alt=hello width=25 height=29> Stuart

    OK I checked your attachment and this is exactly what I need to do.

    Could you explain in details how to do this. I looked at your document, but could not figure out how its done.

    Thanks a million, for you and all.

    Wassim <img src=/S/compute.gif border=0 alt=compute width=40 height=20>
    <img src=/S/compute.gif border=0 alt=compute width=40 height=20> in the <img src=/S/bagged.gif border=0 alt=bagged width=22 height=22>

  10. #10
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Table of Contents (Word 97 and >)

    Type Control-F9 where you want the table of contents
    This will cause the { } to appear for the field code
    Enter the text TOC with (spaces before and after) in between the { and the } so that it looks like this

    { TOC }

    Right click on it and choose UPDATE.

    Select the Heading 1 entries that you want to appear as RED and change the colour.
    Right click on the table of contents and choose Update to update the colours

    StuartR

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •