Difference between revisions of "Command/ framedtext"
< Command
Jump to navigation
Jump to search
(Created page with "Documentation for \<i>framedtext</i>") |
m |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
<cd:commandgroup generated="yes" name="framedtext" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807"> | <cd:commandgroup generated="yes" name="framedtext" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807"> | ||
− | <cd:shortdesc> | + | <cd:shortdesc><!-- a short command summary goes here --> |
− | <!-- a short command summary goes here --> | + | The instances of <tt>\<i>framedtext</i></tt> are used for wrapping frames, margins and/or backgrounds around longer blocks of text. |
− | The instances of <tt>\<i>framedtext</i></tt> are used for | ||
</cd:shortdesc> | </cd:shortdesc> | ||
<cd:sequence> | <cd:sequence> | ||
Line 10: | Line 7: | ||
</cd:sequence> | </cd:sequence> | ||
<cd:instances> | <cd:instances> | ||
− | <cd:constant value="framedtext"></cd:constant> | + | <cd:constant value="framedtext">Like {{cmd|framed}}, but suited for multiple paragraphs.</cd:constant> |
</cd:instances> | </cd:instances> | ||
<cd:variants> | <cd:variants> | ||
Line 23: | Line 20: | ||
</cd:command> | </cd:command> | ||
</cd:variants> | </cd:variants> | ||
− | <cd:description> | + | <cd:description>The instances of {{gen|framedtext}} are defined by {{cmd|defineframedtext}}. That command also defines {{gen|startframedtext}} environment versions of the instances. Since the intended usage is around text containing multiple paragraphs, the environment form is usually more suited. |
− | |||
</cd:description> | </cd:description> | ||
− | <cd:examples> | + | <cd:examples></cd:examples> |
− | |||
− | |||
− | |||
− | |||
− | </cd:examples> | ||
<cd:notes> | <cd:notes> | ||
− | + | <cd:note author="Rik" date="2020-11-30T22:08:49+0100"> | |
− | <cd:note author=" | + | The default width of the \framedtext frame is fixed at .75\hsize, unlike the frame produced by \framed, which defaults to width=fit. |
− | </cd:note> | + | </cd:note></cd:notes> |
− | |||
− | </cd:notes> | ||
<cd:seealso> | <cd:seealso> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<cd:commandref name="_startframedtext" originator="system"></cd:commandref> | <cd:commandref name="_startframedtext" originator="system"></cd:commandref> | ||
<cd:commandref name="defineframedtext" originator="system"></cd:commandref> | <cd:commandref name="defineframedtext" originator="system"></cd:commandref> | ||
<cd:commandref name="setupframedtext" originator="system"></cd:commandref> | <cd:commandref name="setupframedtext" originator="system"></cd:commandref> | ||
− | <cd:source file="pack-rul.mkiv" originator="system"></cd:source> | + | <cd:source file="pack-rul.mkiv" originator="system"></cd:source> |
− | <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:seealso> | + | <cd:commandref name="startframedtext"></cd:commandref></cd:seealso> |
</cd:commandgroup> | </cd:commandgroup> |
Latest revision as of 21:10, 30 November 2020
Contents
\framedtext
Summary
The instances of \framedtext are used for wrapping frames, margins and/or backgrounds around longer blocks of text.
Instances
\framedtext | Like \framed, but suited for multiple paragraphs. |
Settings instance
Description
The instances of framedtext are defined by \defineframedtext. That command also defines startframedtext environment versions of the instances. Since the intended usage is around text containing multiple paragraphs, the environment form is usually more suited.
Examples
Notes
- By Rik on 2020-11-30T22:08:49+0100:
- The default width of the \framedtext frame is fixed at .75\hsize, unlike the frame produced by \framed, which defaults to width=fit.