Changes

Jump to navigation Jump to search
279 bytes added ,  11:51, 29 October 2021
no edit summary
</cd:shortdesc>
<cd:variants>
<cd:command category="rules" file="pack-rul.mkiv" interfacedate="20202021-0703-14T0902T11:2408" interfacefile="i-framed.xml" keywords="background" level="style" name="setupframed" variantnumber="1">
<cd:arguments>
<cd:keywords list="yes" optional="yes" ordinal="1">
<cd:keywordsdoc>The name of an instance of {{gen|framed}}. Not needed for the {{cmd|framed}} command itself.</cd:keywordsdoc>
<cd:constant type="cd:name"></cd:constant>
</cd:keywords>
<cd:paramdoc></cd:paramdoc>
<cd:constant type="foreground"></cd:constant>
<cd:constant type="color">a color, to be set with <cd:iref name="backgroundcolor"/> {{todo|backgroundcolor is not documented.}}</cd:constant>
<cd:constant type="cd:name">a named background ??</cd:constant>
</cd:parameter>
<cd:constant type="frame"></cd:constant>
<cd:constant type="cd:dimension"></cd:constant>
</cd:parameter>
<cd:parameter name="backgroundcolor">
<cd:paramdoc>A color, only used if <cd:iref name="background" type="color"/></cd:paramdoc>
<cd:constant type="cd:color"></cd:constant>
</cd:parameter>
<cd:parameter name="component">
<cd:paramdoc></cd:paramdoc>
<cd:constant type="cd:dimension"></cd:constant>
</cd:parameter>
<cd:parameter name="linedirection">
<cd:paramdoc></cd:paramdoc>
<cd:constant default="yes" type="normal"></cd:constant>
<cd:constant type="reverse"></cd:constant>
</cd:parameter>
</cd:assignments>
</cd:command>
</cd:variants>
<cd:description>Set the default parameters for {{cmd|framed}}. The {{cmd|framed}} command produces a box with (optionally) a frame, certain dimensions, a background, etc.
</cd:description>
<cd:examples><cd:example title="corner option values">This option determines whether or not the corners are round. It also allows drawing only selected corners. {| cellpadding="10"
| Default value: '''rectangular'''
| <context>\setuppapersize[A5]\framed[corner=rectangular]{corner=rectangular}</context>

Navigation menu