Difference between revisions of "Command/ framedtext"

From Wiki
Jump to navigation Jump to search
m
 
Line 1: Line 1:
<?xml version='1.0'?>
 
<!-- this file was generated on 2020-08-20T09:05 -->
 
 
<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 wrapping frames, margins and/or backgrounds around longer blocks of text.
 
</cd:shortdesc>
 
</cd:shortdesc>
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.
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>
<!--  command example(s)
 
<cd:example title="">
 
</cd:example>
 
-->
 
</cd:examples>
 
 
<cd:notes>
 
<cd:notes>
<!--  this is for special remarks that do not fit elsewhere, like discovered bugs in specific context versions
+
<cd:note author="Rik" date="2020-11-30T22:08:49+0100">
<cd:note author="..." date="...">
+
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>
<!-- one or more of these:
 
<cd:commandref name="xx"></cd:commandref>
 
<cd:wikipage  page="xx"></cd:wikipage>
 
<cd:url        url="https://xx"></cd:url>
 
<cd:manual    pdf="xx"></cd:manual>
 
<cd:source    file="xx"></cd:source>
 
-->
 
 
<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:commandref name="startframedtext"></cd:commandref>
+
<cd:commandref name="startframedtext"></cd:commandref></cd:seealso>
 
 
</cd:seealso>
 
 
</cd:commandgroup>
 
</cd:commandgroup>

Latest revision as of 21:10, 30 November 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

  • 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.

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: