Difference between revisions of "Command/setupfloatframed"
< Command
Jump to navigation
Jump to search
(Created page with "Documentation for \setupfloatframed") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<cd:commandgroup name="setupfloatframed" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807"> | <cd:commandgroup name="setupfloatframed" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807"> | ||
<cd:shortdesc><!-- a short command summary goes here --> | <cd:shortdesc><!-- a short command summary goes here --> | ||
− | The command <tt>\setupfloatframed</tt> is used for | + | The command <tt>\setupfloatframed</tt> is used for formatting the framed which encapsulate the float and the caption. |
</cd:shortdesc> | </cd:shortdesc> | ||
<cd:variants> | <cd:variants> | ||
Line 20: | Line 20: | ||
</cd:description> | </cd:description> | ||
<cd:examples><cd:example title=""><context source="yes"> | <cd:examples><cd:example title=""><context source="yes"> | ||
− | \ | + | \setupfloatframed [intermezzo] [background=color,backgroundcolor=lightmagenta] |
− | \ | + | \startplaceintermezzo[title={Another cow}] |
− | \ | + | \externalfigure[cow][width=6cm] |
+ | \stopplaceintermezzo | ||
+ | |||
+ | \setupfloat [intermezzo] [background=color,backgroundcolor=lightcyan] | ||
+ | \setupcaption [intermezzo] [background=color,backgroundcolor=lightyellow] | ||
+ | |||
\startplaceintermezzo[title={Another cow}] | \startplaceintermezzo[title={Another cow}] |
Latest revision as of 21:06, 19 May 2024
Contents
\setupfloatframed
Summary
The command \setupfloatframed is used for formatting the framed which encapsulate the float and the caption.
Settings
Description
Examples
Example 1
\setupfloatframed [intermezzo] [background=color,backgroundcolor=lightmagenta] \startplaceintermezzo[title={Another cow}] \externalfigure[cow][width=6cm] \stopplaceintermezzo \setupfloat [intermezzo] [background=color,backgroundcolor=lightcyan] \setupcaption [intermezzo] [background=color,backgroundcolor=lightyellow] \startplaceintermezzo[title={Another cow}] \externalfigure[cow][width=6cm] \stopplaceintermezzo