Difference between revisions of "Command/ framedtext"

From Wiki
Jump to navigation Jump to search
(Created page with "Documentation for \<i>framedtext</i>")
 
Line 4: Line 4:
 
<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 ...
+
The instances of  <tt>\<i>framedtext</i></tt> are used for wrapping frames, margins and/or backgrounds around longer blocks of text.
 
</cd:shortdesc>
 
</cd:shortdesc>
 
<cd:sequence>
 
<cd:sequence>
Line 10: Line 10:
 
   </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 24: Line 24:
 
</cd:variants>
 
</cd:variants>
 
<cd:description>
 
<cd:description>
<!-- the long description of the command goes here -->
+
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>
Line 52: Line 52:
 
<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:commandref name="startframedtext"></cd:commandref>
 +
 
</cd:seealso>
 
</cd:seealso>
 
</cd:commandgroup>
 
</cd:commandgroup>

Revision as of 09:23, 21 August 2020


\framedtext

Summary

The instances of \framedtext are used for wrapping frames, margins and/or backgrounds around longer blocks of text.

Instances

\framedtextLike \framed, but suited for multiple paragraphs.

Settings instance

\FRAMEDTEXT[...=...,...]{...}
...=...,...inherits from \setupframedtext
{...}content

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

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: