Difference between revisions of "Command/setupcaptions"

From Wiki
Jump to navigation Jump to search
Line 80: Line 80:
 
<code>
 
<code>
 
\setupcaptions[way=bytext, prefixsegments=none]
 
\setupcaptions[way=bytext, prefixsegments=none]
 +
</code>
 +
 +
If you like to have a colon in your caption, try
 +
<code>
 +
\setupcaptions[suffix={:}]
 
</code>
 
</code>
  

Revision as of 12:40, 22 February 2011

\setupcaptions

Syntax

\setupcaptions[...,...=...,...]
location top bottom none high low middle
width fit broad max dimension
minwidth fit dimension
headstyle normal bold slanted boldslanted type cap small... command
style normal bold slanted boldslanted type cap small... command
number yes no
inbetween command
align left middle right no
conversion numbers characters Characters romannumerals Romannumerals
way bytext bysection
separator text
stopper text
suffix text
command command
distance dimension

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={:}]

Example

See also