1\startenvironment hybridenvironment
2
3
4
5
6\usemodule[abr02,chart,narrowtt]
7
8\starttypescript [hybrid]
9 \definetypeface [hybrid] [rm] [serif] [bookman] [default]
10 \definetypeface [hybrid] [ss] [sans] [dejavu] [default] [rscale=0.9]
11 \definetypeface [hybrid] [tt] [mono] [dejavu] [default] [rscale=0.9]
12 \definetypeface [hybrid] [mm] [math] [xits] [default] [rscale=1.00]
13\stoptypescript
14
15\setupbodyfont[hybrid]
16
17\setupFLOWcharts
18 [offset=\zeropoint,
19 dx=1.2\bodyfontsize,
20 dy=1.2\bodyfontsize,
21 height=2\bodyfontsize,
22 width=7\bodyfontsize]
23
24\setupFLOWshapes
25 [framecolor=blue]
26
27\setupFLOWlines
28 [color=red]
29
30\abbreviation[METAPOST]{MetaPost}{}
31\abbreviation[EPUB] {Epub} {}
32
33\setuplayout
34 [width=middle,
35 height=middle,
36 header=0cm,
37 topspace=2cm,
38 bottomspace=1cm,
39 footer=1cm,
40 footerdistance=.5cm]
41
42\setupfootertexts
43 [][{\getmarking[chapter]\quad\pagenumber}]
44 [{\pagenumber\quad\getmarking[chapter]}][]
45
46\setuppagenumbering
47 [alternative=doublesided]
48
49\setupfooter
50 [color=blue,
51 style=\dontconvertfont\bf]
52
53\setuplayout
54 [grid=tolerant]
55
56\setupformulas
57 [grid=min]
58
59\setupwhitespace
60 [big]
61
62\setuphead
63 [chapter]
64 [before=,
65 after={\blank[2*big]},
66 style=\bfc,
67 color=blue]
68
69\setuphead
70 [section]
71 [before={\blank[2*big]},
72 after=\blank,
73 style=\bfb,
74 color=blue]
75
76\setuphead
77 [subsection]
78 [before=\blank,
79 after=\blank,
80 style=\bfa,
81 color=blue]
82
83
84
85
86
87
88
89\setuphead
90 [chapter]
91 [grid=none]
92
93\setuphead
94 [section]
95 [grid=none]
96
97\setuphead
98 [subsection]
99 [grid=none]
100
101
102
103\setupitemgroup
104 [itemize]
105 [each]
106 [color=blue,
107 symcolor=blue]
108
109\setuptyping
110 [color=blue]
111
112\setuptype
113 [color=blue]
114
115\definecolor[red] [r=.4]
116\definecolor[green] [g=.4]
117\definecolor[blue] [b=.4]
118\definecolor[yellow] [r=.4,g=.4]
119\definecolor[gray] [s=.6]
120
121\setupcaptions
122 [color=blue]
123
124\setupexternalfigures
125 [location={local,default}]
126
127\stopenvironment
128 |