Open main menu

Changes

499 bytes added ,  23:58, 18 December 2023
}}
== [[Help:Reference|Syntax]] (autogenerated) ==
<syntax>setupcaptions</syntax>
== [[Help:Reference|Syntax]] ==
<table cellspacing="4" cellpadding="2" class="cmd">
|- style="vertical-align: top"
| {{key|width}}
| This is the width of the figure caption. If you do not like default captions that are driven by figure (table) width, try: <code>\setupcaptions[minwidth=\textwidth, align=middle]</code>
|- style="vertical-align: top"
| {{key|headstyle}}
| {{key|way}}
| Using option <code>[way=bysection]</code> 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: <code>\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>.
Note that the word "section" in <code>[way=bysection]</code> above refers to the document sections described in the \section command. Thus you can also say <code>[way=bypart]</code> or <code>[way=bychapter]</code> etc.
|- style="vertical-align: top"
| {{key|stopper'''}}
| MKII only. The stopper (in MKIVtext follows the number and, if present, the ''suffix'', and precedes the caption text. It does not appear in references.|- style="vertical-align: top" | {{key|numberstopper'') '}}| MKIV only. The numberstopper text follows the number and, if present, the ''suffix'', and precedes the caption text. It does not appear in references.
|- style="vertical-align: top"
| {{key|separator'''}}
style={\tfx\setupinterlinespace[line=10pt]},
headstyle=\rm,
stoppernumberstopper={:}]
\placefigure
93

edits