Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Numbering / May 2005

Tip: Looking for answers? Try searching our database.

Caption numbering in appendix

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dOinK - 19 May 2005 09:38 GMT
I'm composing a document in Word 2003 where I have one or more appendices
with subsections, and have defined new heading styles as follows:

Appendix A (style named "Appx", outline/numbering level 1)
A.1 (style named "AppxSub1", outline/numbering level 2)

I want to have caption numbering in the appendices linked to the level 2
heading (AppxSub1), like this:

Figure A.1-n

where n is the sequence number in the respective subsection. I followed the
description in http://word.mvps.org/FAQs/TblsFldsFms/AppendixCaptions.htm,
which suggested a caption code similar to this:

Figure {STYLEREF "AppxSub1" \s }-{ SEQ AppxFig \* ARABIC \s "AppxSub1" }

My problem is the second part of the code; the sequence number does not
restart at the custom level 2 heading (AppxSub1), but seems to be totally
independent of the headings altogether. The only way I am able to restart
the numbering is to create a new sequence (e.g. AppxFigA2), but that's not
very elegant.

Does this mean that it is impossible to make a sequence number that restarts
at a given heading level, unless it's a built-in heading (e.g. Heading 2, in
which case the last "AppxSub1" would be replaced by 2), or is there
something wrong with my field code?

Kind regards
dOinK

PS: I know I could use and redefine the built-in heading styles (e.g. above
level 5) for appendix headings, that's not the solution or answer I am
looking for here (it has some unwanted consequences related to the outline
level)
Stefan Blom - 19 May 2005 10:51 GMT
In my experience, the \s switch of SEQ fields recognizes only built-in
headings. You have to manually restart SEQ field numbering with the \r
switch.

One way to manage this is to include { SEQ AppxFig \r 0 \h } with each
appendix heading that should restart numbering. The \r switch sets
numbering to zero, which means that the following SEQ field will be
numbered 1, and the \h switch hides the field, so that the number zero
does not display in your heading.

Alternatively, you can use a style for caption numbering within your
appendix, and link it to the same numbering scheme as your appendix
heading styles.

Signature

Stefan Blom
Microsoft Word MVP

> I'm composing a document in Word 2003 where I have one or more appendices
> with subsections, and have defined new heading styles as follows:
[quoted text clipped - 31 lines]
> looking for here (it has some unwanted consequences related to the outline
> level)
dOinK - 19 May 2005 11:40 GMT
Thanks a lot, Stefan - this was really helpful!
Stefan Blom - 19 May 2005 11:54 GMT
I'm glad I could help.

Signature

Stefan Blom
Microsoft Word MVP

> Thanks a lot, Stefan - this was really helpful!

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.