can i make caption labeled Figure 2.3.2-1 & update automatically

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to make figure titles or captions that include the heading numbers.
For example, a figure under Heading 1 would be labeled Figure 1.0-1, but a
figure under Heading 3 would be labeled Figure 1.2.4-1. I also need it to
update automatically, so if I move a figure that was under Heading 3 to a
place under Heading 2 the figure number automatically changes to 1.2-1. Is
this possible?

Thanks!
 
There is no built-in setting that does what you are asking for. Indeed,
the Caption dialog box certainly allows you to include heading
numbering, but only a *specific* level.

When you add captions in Word, it adds SEQ fields (one for each type of
caption). If you include heading numbering, STYLEREF fields are used to
retrieve the chosen heading number. For example, if the chosen
heading is Heading 1, you'll have (similar to) the following fields
(press Alt+F9 to see the field codes):

Figure { STYLEREF 1 \s }-{ SEQ Figure \s 1 }

One way to create the numbering you want is to stay away from the
Caption dialog box and manually insert the field codes (or edit codes
already inserted) to get what you want.

In other words, change { STYLEREF 1 \s } to { STYLEREF 2 } where you
need to reference the numbering of Heading 2. And use the \r switch
instead of \s to restart the SEQ field.

To show/hide field codes, press Alt+F9; then just type the field codes
as shown. To insert a new field, press Ctrl+F9; Word inserts field
delimiters, { }, and you can add the code inside them. Press F9 to
update changes (in selected fields).

Obviously, depending on the complexity of the document, manually
altering SEQ and STYLEREF fields could be time-consuming, and therefore
perhaps not so much easier than manually typing the numbers in.

A different way is to use { AUTONUMLGL \e } fields, which number
headings according to their level: 1, 2, 3, ... for Heading 1; 1.1, 1.2,
1.3 for Heading 2, etc. Body text paragraphs are at a level as
determined by the current heading level (which is what you are asking
for).

Note, however, that AUTONUMLGL fields can only be used to create one
hierarchy; that is, you cannot have one set of numbers for figures and
another set for tables. Also, these fields won't allow you to pick a
delimiter between the various levels.

--
Stefan Blom
Microsoft Word MVP


in message
news:[email protected]...
 

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

Back
Top