summaryrefslogtreecommitdiff
path: root/doc/context/sources/general/manuals/math/math-layout.tex
blob: 83137444debde0f05e9876cb47c3fdee25ed3bdb (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
59
60
61
62
63
64
65
66
67
68
69
\startenvironment math-layout

\enabledirectives[fontgoodies.mathkerning]

\usebodyfont   [modern]
\usebodyfont  [cambria]
\usebodyfont [lucidaot]
\usebodyfont     [xits]
\usebodyfont  [stixtwo]
\usebodyfont   [dejavu]
\usebodyfont  [pagella]
\usebodyfont   [termes]
\usebodyfont    [bonum]
\usebodyfont   [schola]

\setupbodyfont
  [pagella]

\setupwhitespace
  [big]

\setuppagenumbering
  [alternative=doublesided]

\setuplayout
  [backspace=2cm,
   width=middle,
   cutspace=2cm,
   topspace=2cm,
   header=2cm,
   height=middle,
   footer=0pt,
   bottomspace=2cm]

\setuplayout
  [backspace=2cm,
   topspace=2cm,
   header=2cm,
   height=middle,
   width=middle]

\definecolor[maincolor] [darkmagenta]
\definecolor[extracolor][darkyellow]

\setuphead
  [chapter]
  [header=high,
   style=\bfc,
   color=maincolor]

\setuphead
  [section]
  [style=\bfb,
   color=maincolor]

\setuphead
  [subsection]
  [style=\bfa,
   color=maincolor]

\usemodule[abr-02]

\usemodule[x][setups-basics]

\usemodule[visual]

\loadsetups[i-context]

\stopenvironment