ma-cb-en-framedtexts.tex /size: 1256 b    last modification: 2020-07-01 14:35
1\startcomponent ma-cb-en-framedtexts
2
3\enablemode[**en-us]
4
5\project ma-cb
6
7\startchapter[title=Outlined paragraphs]
8
9\index{outline+paragraph}
10
11\Command{\tex{startframedtext}}
12\Command{\tex{setupframedtext}}
13
14Complete paragraphs can be outlined with:
15
16\shortsetup{startframedtext}
17
18\startbuffer
19\definefloat[intermezzo]
20\setupframedtexts
21    [width=.8\makeupwidth,
22     background=color,
23     backgroundcolor=gray,
24     corner=round,
25     framecolor=blue,
26     rulethickness=2pt]
27
28\placeintermezzo[here][block:bridge]{An intermezzo.}
29\startframedtext
30  It was essential for Hasselt to have a bridge across the Zwarte
31  Water river. The bishop of Utrecht gave Hasselt his consent in
32  1486.
33  \blank
34  Other cities in the neighbourhood of Hasselt were afraid of the
35  toll money to be paid when crossing this bridge so they
36  prevented the construction for many years.
37\stopframedtext
38\stopbuffer
39
40Let's give an example:
41
42\typebuffer
43
44This example also illustrates the command \type{\definefloat}. You can find more
45information on this command in \in{paragraph}[floatingblocks]. The \type{\blank}
46is necessary to enforce a blank line.
47
48\start
49\getbuffer
50\stop
51
52The outlining can be set up with:
53
54\shortsetup{setupframedtexts}
55
56\stopchapter
57
58\stopcomponent
59