How do I number figures based on headings 1/2/3?

G

Guest

Hello,

Basically, I have a document that has up to 3 headings (i.e.: #, #.#, #.#.#)
and I have figures at all levels. Now I've started to add figures that I
wish to have labeled.

My problem is that when I label a figure under heading 2 (i.e.: 10.2-A where
A is the figure number in the section) and then scroll down and wish to label
another under heading 1 (ie: 16-A), I can change it, but it also changes the
one on heading two. So it seems I have to pick between one being good and
the other having extra (unnecessary) digits, or not have restarted numbering
in my subsections.

I've tried adding section breaks, but it doesn't seem help.
I really appreciate any help.

**This is another question, but not as pertinent as the first.
In a few sections I have a couple of pictures all in one line which I want
labeled (#.#-A, #.#-B, #.#-C, etc), but whenever I insert captions it
automatically bumps the pictures down to another line and messes up the
formatting I had on them. Plus when I auto-create a list of figures it keeps
them in a row instead of putting it on a different line.

Thanks in advance for any help!
 
S

Stefan Blom

There is no automatic way to accomplish what you want. But, since
caption numbering is done with STYLEREF and SEQ fields (the former
field references the heading numbering and the latter produces the
sequential numbering of captions), you can manually alter the field
codes. Note that you would then have to stay away from the Caption
dialog box; otherwise, Word would destroy your changes.

1 Heading 1

Figure { STYLEREF 1 \n }-{ SEQ Figure \s 1 \* ALPHABETIC }

1.1 Heading 2

Figure { STYLEREF 2 \n }-{ SEQ Figure \s 2 \* ALPHABETIC }

To insert a field, press Ctrl+F9; Word inserts the field delimiters,
{ }. Type the code exactly as shown. To create more fields with the
same code, you can use copy and paste.

Note that fields do not update automatically, which will be especially
apparent if you used copy and paste to duplicate them. Selecting the
entire document and pressing F9 (or switching to Print Preview and
back) will then force an update. You may also want to enable the
"Update fields" option on the Print tab of Tools | Option.

To display the field code for each existing field, press Alt+F9. Edit
it, if necessary, and then press F9 to update. Press Alt+F9 to
re-display field results.

The second issue will be solved by manually inserting fields. Of
course, if you need the entries to be separate paragraphs (for the
TOC), but display as a single paragraph, you can format the paragraph
mark as hidden.

--
Stefan Blom
Microsoft Word MVP


in message
news:[email protected]...
 
S

Stefan Blom

There is no automatic way to accomplish what you want. But, since
caption numbering is done with STYLEREF and SEQ fields (the former
field references the heading numbering and the latter produces the
sequential numbering of captions), you can manually alter the field
codes. Note that you would then have to stay away from the Caption
dialog box; otherwise, Word would destroy your changes.

1 Heading 1

Figure { STYLEREF 1 \n }-{ SEQ Figure \s 1 \* ALPHABETIC }

1.1 Heading 2

Figure { STYLEREF 2 \n }-{ SEQ Figure \s 2 \* ALPHABETIC }

To insert a field, press Ctrl+F9; Word inserts the field delimiters,
{ }. Type the code exactly as shown. To create more fields with the
same code, you can use copy and paste.

Note that fields do not update automatically, which will be especially
apparent if you used copy and paste to duplicate them. Selecting the
entire document and pressing F9 (or switching to Print Preview and
back) will then force an update. You may also want to enable the
"Update fields" option on the Print tab of Tools | Option.

To display the field code for each existing field, press Alt+F9. Edit
it, if necessary, and then press F9 to update. Press Alt+F9 to
re-display field results.

The second issue will be solved by manually inserting fields. Of
course, if you need the entries to be separate paragraphs (for the
TOC), but display as a single paragraph, you can format the paragraph
mark as hidden.

--
Stefan Blom
Microsoft Word MVP


in message
news:[email protected]...
 
G

Guest

Thanks for the response. Is there a way to "lock" the fields so that they do
not automatically change when I add new captions and revert back to being
based on heading 1 instead of heading 2 (or vice versa)?

Thanks,
Boyd
 
G

Guest

Thanks for the response. Is there a way to "lock" the fields so that they do
not automatically change when I add new captions and revert back to being
based on heading 1 instead of heading 2 (or vice versa)?

Thanks,
Boyd
 
S

Stefan Blom

No, settings for captions inserted via the Caption dialog box apply to
the entire document, so you'll have to insert your custom
captions/fields manually. To make this process easier, you can save
the desired combination of field codes and text as an AutoText entry.
For more information about AutoText, see
http://word.mvps.org/faqs/customization/AutoText.htm.

--
Stefan Blom
Microsoft Word MVP


in message
 
S

Stefan Blom

No, settings for captions inserted via the Caption dialog box apply to
the entire document, so you'll have to insert your custom
captions/fields manually. To make this process easier, you can save
the desired combination of field codes and text as an AutoText entry.
For more information about AutoText, see
http://word.mvps.org/faqs/customization/AutoText.htm.

--
Stefan Blom
Microsoft Word MVP


in message
 

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