Difference between revisions of "Command/setupcaptions"
< Command
Jump to navigation
Jump to search
m (moved Reference/en/setupcaptions to Command/setupcaptions: Text replace - "Reference/en/" to "Command/") |
m (Text replace - "[[Category:Commands|" to "== ConTeXt-Forum == {{Forum|{{SUBPAGENAME}}}} [[Category:Commands|") |
||
Line 101: | Line 101: | ||
== See also == | == See also == | ||
<!-- something like [[cmd:goto|\goto]] --> | <!-- something like [[cmd:goto|\goto]] --> | ||
+ | |||
+ | == ConTeXt-Forum == | ||
+ | {{Forum|{{SUBPAGENAME}}}} | ||
[[Category:Commands|setupcaptions]] | [[Category:Commands|setupcaptions]] |
Revision as of 23:57, 14 March 2012
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]
If you like to have a colon in your caption, try:
\setupcaptions[suffix={:}]
If you don't like default captions that are driven by figure(table) width, try:
\setupcaptions[minwidth=\textwidth, align=middle]