about-environment.tex /size: 1128 b    last modification: 2020-07-01 14:35
1\startenvironment about-environment
2
3\setupbodyfont
4  [pagella]
5
6\usemodule
7  [abr-02,narrowtt]
8
9\definecolor [maincolor] [.6(orange)]
10
11\setupwhitespace
12  [big]
13
14\setuptyping
15  [color=maincolor]
16
17\setuptype
18  [color=maincolor]
19
20\setupitemgroup
21  [itemize]
22  [each]
23  [color=maincolor,
24   symcolor=maincolor]
25
26\setupcaptions
27  [color=maincolor]
28
29\setuphead
30  [chapter]
31  [before=,
32   after={\blank[2*big]},
33   style=\bfc,
34   color=maincolor]
35
36\setuphead
37  [section]
38  [before={\blank[2*big]},
39   after=\blank,
40   style=\bfb,
41   color=maincolor]
42
43\setuphead
44  [subsection]
45  [before=\blank,
46   after=\blank,
47   style=\bfa,
48   color=maincolor]
49
50\setuplayout
51  [width=middle,
52   height=middle,
53   header=0cm,
54   topspace=2cm,
55   bottomspace=1cm,
56   footer=1cm,
57   footerdistance=.5cm]
58
59\setupfootertexts
60  [][{\getmarking[chapter]\hbox to 2em{\hss\pagenumber}}]
61  [{\hbox to 2em{\pagenumber\hss}\getmarking[chapter]}][]
62
63\setuppagenumbering
64  [alternative=doublesided]
65
66\startMPextensions
67  % color maincolor ; maincolor := \MPcolor{maincolor} ;
68    string maincolor ; maincolor := "maincolor" ;
69\stopMPextensions
70
71\stopenvironment
72