Difference between revisions of "Command/setupcaption"
< Command
Jump to navigation
Jump to search
m (remove manual syntax) |
|||
Line 6: | Line 6: | ||
== [[Help:Reference|Syntax]] (autogenerated) == | == [[Help:Reference|Syntax]] (autogenerated) == | ||
<syntax>setupcaption</syntax> | <syntax>setupcaption</syntax> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Description == | == Description == | ||
− | Set up the caption for a specific kind of float. To set up captions for all floats, | + | Set up the caption for a specific kind of float. To set up captions for all floats, use {{cmd|setupcaptions}}. |
== Example == | == Example == |
Revision as of 18:24, 29 July 2023
Syntax (autogenerated)
\setupcaption[...,...][...=...,...] | |
[...,...] | name |
suffix | command |
suffixseparator | command |
suffixstopper | command |
location | left right middle low high grid lines overlay inner outer innermargin outermargin leftmargin rightmargin lefthanging righthanging hang top bottom stretch tolerant verytolerant none default |
command | oneargument |
numbercommand | oneargument |
textcommand | oneargument |
spacebefore | see \blank |
spaceinbetween | see \blank |
spaceafter | see \blank |
distance | dimension |
headstyle | style command |
headcolor | color |
headseparator | text |
inbetween | command |
style | style command |
color | color |
topoffset | dimension |
bottomoffset | dimension |
number | yes no none |
group | text |
leftmargin | dimension |
rightmargin | dimension |
innermargin | dimension |
outermargin | dimension |
align | see \setupalign |
width | fit max dimension |
minwidth | fit dimension |
maxwidth | dimension |
hang | yes no |
...=...,... | inherits from \setupcounter |
...=...,... | inherits from \setupframed |
Description
Set up the caption for a specific kind of float. To set up captions for all floats, use \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: