Table/Figure captions at multiple levels

D

Darrell

How does one number captions for tables in a document to
match the document outline level-i.e., numbering a table
right after a heading 1 as "Table 1-1" and one right after
a heading 3 as "Table 1.1.1-1"?

Darrell
 
S

Suzanne S. Barnhill

I don't believe this is possible. You have to select one specific heading
level. In any case, it is conventional in publishing to number tables and
figures by chapter but not more precisely than that, which would merely
become confusing.
 
D

Darrell

Thank you, Suzanne. I had a feeling that was true.
Unfortunately, I'm attempting to duplicate a numbering
system in a document I was given and am upgrading
formatting on, so that text REFERENCES to tables can be
mass-updated. The document I was given has the
inconsistent numbering scheme I referred to in the
question. Oh well. I tried.
 
S

Suzanne S. Barnhill

Number the captions manually, bookmark them manually, and use the bookmarks
to insert cross-references. That's the best I can offer! Sorry.
 
S

Stefan Blom

Assuming that the document contains only one type of item that needs this
kind of numbering, it is possible by the use of the AUTONUMLGL field, which
numbers headings according to their level and non-headings, such as
paragraphs styled with Body Text or Normal, at a level deeper than the
previous heading.

For example, an AUTONUMLGL field in a Body Text paragraph following a
Heading 1 paragraph would be numbered "1.1", and the same field in a Body
Text paragraph following a Heading 2 paragraph would be numbered "1.1.1".

In order to insert the field, you can press CTRL+F9; Word inserts field
delimiters, {}, and then you can type

AUTONUMLGL \e

inside those delimiters. Press F9 to display the field code.
 
K

Klaus Linke

Haven't really tried, but maybe you could insert a styleref field to repeat
the chapter number, right in front of the caption number (seq field)?
Something like Table { styleref 3 \n }-{ seq Table \* ARABIC } for the
current "Heading 3" numbering.

Surprisingly, the complete numbering seems to be picked up correctly in a
table of figures, if you create one.

Regards,
Klaus
 
R

Robert M. Franz (RMF)

Hi all

Klaus said:
Haven't really tried, but maybe you could insert a styleref field to repeat
the chapter number, right in front of the caption number (seq field)?
Something like Table { styleref 3 \n }-{ seq Table \* ARABIC } for the
current "Heading 3" numbering.

Surprisingly, the complete numbering seems to be picked up correctly in a
table of figures, if you create one.

Not *really* surprising, since, if you include chapter numbers in the
caption, the field before the SEQ is of type "STYLEREF x \s" (which
puzzles me since the s-switch isn't documented in MY help, only \n, but
there you go ...).

Now, to make this really nasty, one could think about wrapping the
STYLEREF-field into an IF-field that tests whether the number of the
current H2 is smaller than the current H1, but there rests the problem
of the very start of the document. Maybe one could come up with a small
number of autotexts for those comparisions, but I doubt it's fun to work
one's way through to them!

2cents
..bob
...Word-MVP
....what would simplify the task was some kind of a reverse-STYLEREF
field, that tells you what style the preceding heading paragraph has ...
 

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