Difference between revisions of "Command/ framed"

From Wiki
Jump to navigation Jump to search
(Created page with "Documentation for \<i>framed</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>framed</i></tt> are used for ...
+
The instances of  <tt>\<i>framed</i></tt> are used for wrapping frames, margins and/or backgrounds around 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="unframed"></cd:constant>
+
     <cd:constant value="unframed">an instance with the frame turned off by default</cd:constant>
     <cd:constant value="fitfieldframed"></cd:constant>
+
     <cd:constant value="fitfieldframed">an instance suited for wrapping interactive form fields</cd:constant>
 
   </cd:instances>
 
   </cd:instances>
 
<cd:variants>
 
<cd:variants>
Line 25: Line 25:
 
</cd:variants>
 
</cd:variants>
 
<cd:description>
 
<cd:description>
<!-- the long description of the command goes here -->
+
Note that {{cmd|framed}} is not actually an instances of {{gen|_framed}}. It has its own historical (but compatible) definition.
 
</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="framed"></cd:commandref>
 
</cd:seealso>
 
</cd:seealso>
 
</cd:commandgroup>
 
</cd:commandgroup>

Revision as of 09:13, 21 August 2020


\framed

Summary

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

Instances

\unframedan instance with the frame turned off by default
\fitfieldframedan instance suited for wrapping interactive form fields

Settings instance

\FRAMED[...=...,...]{...}
...=...,...inherits from \setupframed
{...}content

Description

Note that \framed is not actually an instances of _framed. It has its own historical (but compatible) definition.

Examples

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: