Difference between revisions of "Command/setupfloatframed"

From Wiki
Jump to navigation Jump to search
 
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>

Latest revision as of 21:06, 19 May 2024


\setupfloatframed

Summary

The command \setupfloatframed is used for formatting the framed which encapsulate the float and the caption.

Settings

\setupfloatframed[...,...][...=...,...]
[...,...]name
...=...,...inherits from \setupframed

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

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: