Difference between revisions of "Command/defineframed"
< Command
Jump to navigation
Jump to search
Line 24: | Line 24: | ||
\defineframed | \defineframed | ||
[GreyBg] | [GreyBg] | ||
− | [background=color,backgroundcolor= | + | [background=color,backgroundcolor=gray] |
\GreyBg[frame=on]{Hello} | \GreyBg[frame=on]{Hello} | ||
Line 35: | Line 35: | ||
<cd:wikipage originator="system" page="Category:Rules"></cd:wikipage> | <cd:wikipage originator="system" page="Category:Rules"></cd:wikipage> | ||
<cd:wikipage originator="system" page="Keywords:Background"></cd:wikipage> | <cd:wikipage originator="system" page="Keywords:Background"></cd:wikipage> | ||
− | <cd:wikipage page="Framed"></cd:wikipage></cd:seealso> | + | <cd:wikipage page="Framed"></cd:wikipage> |
+ | <cd:commandref name="_framed">for the preexisting instances</cd:commandref></cd:seealso> | ||
</cd:commandgroup> | </cd:commandgroup> |
Latest revision as of 12:39, 29 August 2020
Contents
\defineframed
Summary
The command \defineframed creates a special instance of \framed.
Settings
\defineframed[...][...][...=...,...] | |
[...] | name |
[...] | name |
...=...,... | inherits from \setupframed |
Option | Explanation |
---|---|
the new name | |
an optional parent framed instance |
Description
Examples
Example 1
\defineframed [GreyBg] [background=color,backgroundcolor=gray] \GreyBg[frame=on]{Hello}
Notes
See also
- \setupframed
- pack-rul.mkiv
- Framed
- framed for the preexisting instances