blob: 2f422344b850c9d28b8037e7e6885fa391de1c62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
\startcomponent ma-cb-en-framedtexts
\enablemode[**en-us]
\project ma-cb
\startchapter[title=Outlined paragraphs]
\index{outline+paragraph}
\Command{\tex{startframedtext}}
\Command{\tex{setupframedtext}}
Complete paragraphs can be outlined with:
\shortsetup{startframedtext}
\startbuffer
\definefloat[intermezzo]
\setupframedtexts
[width=.8\makeupwidth,
background=color,
backgroundcolor=gray,
corner=round,
framecolor=blue,
rulethickness=2pt]
\placeintermezzo[here][block:bridge]{An intermezzo.}
\startframedtext
It was essential for Hasselt to have a bridge across the Zwarte
Water river. 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 for many years.
\stopframedtext
\stopbuffer
Let's give an example:
\typebuffer
This example also illustrates the command \type{\definefloat}. You can find more
information on this command in \in{paragraph}[floatingblocks]. The \type{\blank}
is necessary to enforce a blank line.
\start
\getbuffer
\stop
The outlining can be set up with:
\shortsetup{setupframedtexts}
\stopchapter
\stopcomponent
|