Command/setupcaption

From Wiki
Jump to navigation Jump to search

\setupcaption

Syntax (autogenerated)

\setupcaption[...,...][...=...,...]
[...,...]name
suffixcommand
suffixseparatorcommand
suffixstoppercommand
locationleft right middle low high grid lines overlay inner outer innermargin outermargin leftmargin rightmargin lefthanging righthanging hang top bottom stretch tolerant verytolerant none default
commandoneargument
numbercommandoneargument
textcommandoneargument
spacebeforesee \blank
spaceinbetweensee \blank
spaceaftersee \blank
distancedimension
headstylestyle command
headcolorcolor
headseparatortext
inbetweencommand
stylestyle command
colorcolor
topoffsetdimension
bottomoffsetdimension
numberyes no none
grouptext
leftmargindimension
rightmargindimension
innermargindimension
outermargindimension
alignsee \setupalign
widthfit max dimension
minwidthfit dimension
maxwidthdimension
hangyes no
...=...,...inherits from \setupcounter
...=...,...inherits from \setupframed


Syntax

\setupcaption[...][...,...=...,...]
[...] float type
[...,...=...,...] see \setupcaptions

Description

Set up the caption for a specific kind of float. To set up captions for all floats, see \setupcaptions.

Example

\definefloat[rightfigure][rightfigure][figure]

\setupcaption[rightfigure][location=right]

\starttext
\placefigure{caption 1}{\framed{figure 1}}
\placerightfigure{caption 2}{\framed{figure 2}}
\placefigure{caption 3}{\framed{figure 3}}
\stoptext

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: