Difference between revisions of "Command/setupcaptions"
< Command
Jump to navigation
Jump to search
(→Description: Added note on bysection) |
|||
Line 72: | Line 72: | ||
<code> | <code> | ||
\setupcaptions[way=bysection,prefixsegments=section] | \setupcaptions[way=bysection,prefixsegments=section] | ||
+ | </code> | ||
+ | |||
+ | If one has only a small number of figures and wishes to label them sequentially from 1 to ''n'', the following works: | ||
+ | <code> | ||
+ | \setupcaptions[way=bytext, prefixsegments=none] | ||
</code> | </code> | ||
Revision as of 02:07, 16 August 2010
Syntax
Description
Using option [way=bysection]
resets the numbering to 1 at each new section, but does not prefix the numbers with the section number, to do that, use the following options:
\setupcaptions[way=bysection,prefixsegments=section]
If one has only a small number of figures and wishes to label them sequentially from 1 to n, the following works:
\setupcaptions[way=bytext, prefixsegments=none]