Results 1 to 2 of 2
  1. #1
    2 Star Lounger
    Join Date
    Jan 2001
    Location
    Utah, USA
    Posts
    120
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Caption and styles (Word 2000)

    I've created a style in word I want to use with a caption that is attached to a table in my document. My document is using the auto numbering for paragraphs and sub paragraphs. The caption option will only allow me to use heading 1 through 9 . The style I creted doesn't show up in the list. Why not?????

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 16 Times in 16 Posts

    Re: Caption and styles (Word 2000)

    The options in the dialog box will only let you refer to Heading1 through Heading9. If you make field codes visible (Alt+F9), you will see that Word creates 2 fields for a caption that includes chapter numbering, for instance

    <font face="Georgia">Table { STYLEREF 1 s } - ( SEQ Table * ARABIC }</font face=georgia>

    The 1 after STYLEREF means that it refers to Heading1. If you refer to Heading2, you would see STYLEREF 2, etc. But in fact, STYLEREF can refer to any style by replacing the number by the name of the style, e.g.

    <font face="Georgia">{ STYLEREF MyStyle s }</font face=georgia>

    The catch is that you have to do this manually. After changing it, hide field codes (Alt+F9) and update the displayed value (F9).

    Note: if the name of your style contains spaces, enclose it in quotes:

    <font face="Georgia">{ STYLEREF "My Style" s }</font face=georgia>

Posting Permissions

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