Difference between revisions of "Command/setupcaptions"
(Added example) |
(added possible left, right values in location) |
||
Line 11: | Line 11: | ||
<tr valign="top" class="first"> | <tr valign="top" class="first"> | ||
<td class="cmd">[[Command/keyword:location|location]]</td> | <td class="cmd">[[Command/keyword:location|location]]</td> | ||
− | <td>[[Command/value:top|top]] [[Command/value:bottom|bottom]] [[Command/value:none|none]] [[Command/value:high|high]] [[Command/value:low|low]] [[Command/value:middle|middle]] </td> | + | <td>[[Command/value:top|top]] [[Command/value:bottom|bottom]] [[Command/value:none|none]] [[Command/value:high|high]] [[Command/value:low|low]] [[Command/value:middle|middle]] [[Command/value:left|left]] [[Command/value:right|right]] </td> |
</tr> | </tr> | ||
<tr valign="top" class="first"> | <tr valign="top" class="first"> |
Revision as of 18:42, 3 June 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]
conversion
works only in MkII, with MkIV numberconversion
must be used.
Example
\setupcaption[style={\tfx\setupinterlinespace[line=10pt]}, headstyle=\rm, suffix={:}]
The caption is smaller than the other text with 10pt interline spacing. The word 'figure' is switched from bold to roman regular and the suffix after figure is ':'.
See also
Help from ConTeXt-Mailinglist/Forum
All issues with: