View Single Post
 
Old 08-14-2020, 12:32 AM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,977
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

The links Charles has provided do give you a lot of information about captions and their numbering options, however I think there is finer details that you need to understand and read enough of those links to be sure it was covered there.

The section in the first link related to 'Chapter Numbering for Captions' includes the basics but your request looks like you want the captions to vary in heading depth according to last heading above the figure. This is a big deal because using the Insert Caption dialog to customise the heading level to include for one caption has a tendency to reset all the other captions in the document. Plus it is very fiddly to set the right levels every time you want a caption. If you want to vary the heading level resets you will need to learn how to edit the field codes so you can craft each caption accordingly. Specifically, the \s switch is what you need to focus in on and how that works.

In my opinion, it is far easier to decide that every caption's numbering relates to a higher heading level eg Heading 1 and stay with that level right through the document irrespective of the lower level headings.

If you are seeing Tabla 0-1, you need to troubleshoot it by revealing the field code for the 0 result and see what heading level it is pointing at. Then scroll back through the document and find the nearest preceding example of that style - it won't have a number so you need to reset the formatting on that paragraph so it has an autonumber again. Then you can refresh the field to see that number appear again.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote