summaryrefslogtreecommitdiff
path: root/doc/context/sources/general/manuals/math/math-layout.tex
blob: d2ab2219637d6f649fb8130583f3252ae7151f67 (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
70
71
72
73
74
75
76
77
% language=us runpath=texruns:manuals/math

\startenvironment math-layout

\enabledirectives[fontgoodies.mathkerning]

\usebodyfont       [modern]
\usebodyfont  [modernlatin]
\usebodyfont      [cambria]
\usebodyfont     [lucidadk]
\usebodyfont         [xits]
\usebodyfont      [stixtwo]
\usebodyfont       [dejavu]
\usebodyfont      [pagella]
\usebodyfont       [termes]
\usebodyfont        [bonum]
\usebodyfont       [schola]
\usebodyfont   [libertinus]
\usebodyfont   [ebgaramond]
\usebodyfont      [kpfonts]
%usebodyfont       [minion]
%usebodyfont        [asana]

\setupbodyfont % don't change this, it's assumed in examples
  [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