ma-cb-en-descriptions.tex /size: 2010 b    last modification: 2020-07-01 14:35
1\startcomponent ma-cb-en-descriptions
2
3\enablemode[**en-us]
4
5\project ma-cb
6
7\startchapter[title=Definitions]
8
9\index{definition}
10
11\Command{\tex{definedescription}}
12\Command{\tex{setupdescriptions}}
13
14If you want to display notions, concepts and ideas in a consistent manner you can
15use:
16
17\shortsetup{definedescription}
18
19For example:
20
21\startbuffer
22\definedescription
23  [concept]
24  [alternative=serried,headstyle=bold,width=broad]
25
26\concept{Hasselter juffer} A sort of biscuit made of puff pastry and
27covered with sugar. It tastes very sweet. \par
28\stopbuffer
29
30\typebuffer
31
32It would look like this:
33
34\getbuffer
35
36But you can also choose other layouts:
37
38\startbuffer
39\definedescription
40  [concept]
41  [alternative=top,
42   inbetween={\blank[none]},
43   headstyle=bold,
44   width=broad,
45   style=slanted]
46
47\concept{Hasselter bitter} A very strong alcoholic drink (up to 40\%)
48mixed with herbs to give it a special taste. It is sold in a stone
49flask and it should be served {\em ijskoud} (as cold as ice). \par
50
51\definedescription
52  [concept]
53  [alternative=inmargin,headstyle=bold,width=broad]
54
55\concept{Euifeest} A harvest home to celebrate the end of a period of
56hard work. The festivities take place in the last week of August. \par
57\stopbuffer
58
59\start
60\getbuffer
61\stop
62
63If you want to avoid the \type{\par} or when you have more than one paragraph in
64the definition you can use the \type{\start...\stop} construct.
65
66\startbuffer
67\definedescription
68  [concept]
69  [alternative=right,
70   headstyle=bold,
71   width=broad]
72
73\startconcept{Euifeest} A harvest home to celebrate the end of a
74period of hard work.
75This event takes place at the end of August and lasts one week. The
76city is completely illuminated and the streets are decorated. This
77feast week ends with a {\em Braderie}.
78\stopconcept
79\stopbuffer
80
81\typebuffer
82
83This would become:
84
85\getbuffer
86
87Layout is set up within the second bracket pair of
88\type{\definedescription[][]}. But you can also use:
89
90\shortsetup{setupdescriptions}
91
92\stopchapter
93
94\stopcomponent
95