Difference between revisions of "Command/setupcaption"
< Command
Jump to navigation
Jump to search
m (Text replace - "\[\[cmd:(.*)\|(.*)\]\]" to "{{cmd|$1}}") |
(Add description and definition) |
||
Line 11: | Line 11: | ||
<tr valign="top" class="first"> | <tr valign="top" class="first"> | ||
<td class="cmd">[...]</td> | <td class="cmd">[...]</td> | ||
− | <td> | + | <td>''float type''</td> |
</tr> | </tr> | ||
<tr valign="top" class="second"> | <tr valign="top" class="second"> | ||
Line 19: | Line 19: | ||
</table> | </table> | ||
+ | == Description == | ||
+ | Set up the caption for a specific kind of float. To set up captions for all floats, see {{cmd|setupcaptions}}. | ||
− | == | + | == Example == |
+ | <context source=yes> | ||
+ | \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 | ||
+ | </context> | ||
== See also == | == See also == | ||
− | + | * {{cmd|setupcaptions}} | |
+ | * {{cmd|definefloat}} | ||
== Help from ConTeXt-Mailinglist/Forum == | == Help from ConTeXt-Mailinglist/Forum == |
Revision as of 10:48, 18 July 2012
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: