Open main menu

Changes

m
no edit summary
<?xml version='1.0'?>
<!-- this file was generated on 2020-08-20T09:05 -->
<cd:commandgroup generated="yes" name="framedtext" type="environment" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
<cd:shortdesc><!-- a short command summary goes here -->The instances of <tt>\start<i>framedtext</i> ... \stop<i>framedtext</i></tt> are used for ..wrapping frames, margins and/or backgrounds around longer blocks of text.
</cd:shortdesc>
<cd:sequence>
</cd:sequence>
<cd:instances>
<cd:constant value="framedtext">Like {{cmd|framed}}, but bigger.</cd:constant>
</cd:instances>
<cd:variants>
<cd:arguments>
<cd:keywords optional="yes" ordinal="1">
<cd:keywordsdoc>set a horizontal placement, like in {{cmd|setupalign}}</cd:keywordsdoc> <cd:constant type="left">left-aligned box</cd:constant> <cd:constant type="right">right-aligned box</cd:constant> <cd:constant type="middle">horizontally centered box</cd:constant> <cd:constant type="none">whatever the surrounding default is</cd:constant>
</cd:keywords>
<cd:assignments list="yes" optional="yes" ordinal="2">
</cd:command>
</cd:variants>
<cd:description><!-- the long description While this is a very powerful way to add decorations to a bit of the command goes here -->text, note that framedtexts do not break across pages. See {{cmd|starttextbackground}} for a similar environment that will break across pages.
</cd:description>
<cd:examples><!-- command example(s)<cd:example title=""></cd:examplecontext source="yes">-->\starttext</cd:examples><cd:notes>\startframedtext[width=.8\makeupwidth]<!-- this is It was essential for special remarks that do not fit elsewhere, like discovered bugs in specific context versionsHasselt to have a bridge across the river Zwarte<cd:note author=" Water.The bishop of Utrecht gave Hasselt his consent in 1486. \blank Other cities in the neighbourhood of Hasselt were afraid of the toll money to be paid when crossing this bridge so they prevented the construction." date\stopframedtext\startframedtext[right][width=".8\makeupwidth] This one is shifted to the right.."\stopframedtext\stoptext</context></cd:noteexample></cd:examples>--<cd:notes></cd:notes>
<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="_framedtext" originator="system"></cd:commandref>
<cd:commandref name="defineframedtext" originator="system"></cd:commandref>
<cd:commandref name="setupframedtext" originator="system"></cd:commandref>
<cd:source file="pack-rul.mkiv" originator="system"></cd:source> <cd:wikipage originator="system" page="Category:Rules"></cd:wikipage> <cd:wikipage originator="system" page="Keywords:Background"></cd:wikipage> </cd:seealso>
</cd:commandgroup>
48

edits