summaryrefslogtreecommitdiff
path: root/doc/context/sources/general/manuals/followingup/followingup-style.tex
blob: 651890a24cf739134cb4ca7d01976ae63e9831cc (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
% language=us runpath=texruns:manuals/followingup

% \enablelmtx
% \nopdfcompression

\startenvironment followingup-style

\enableexperiments[fonts.compact] % needed for font chapter

\usemodule[abbreviations-smallcaps]

\logo [LUAMETATEX] {LuaMeta\TeXsuffix}

\setupbodyfont[plex] % not that ok for titling

\setuplayout
  [width=middle,
   height=middle,
   header=0pt,
   footer=1cm,
   footerdistance=5mm,
   backspace=2cm,
   cutspace=15mm,
   topspace=2cm,
   bottomspace=1cm,
   style=bold,
   color=maincolor]

\setuppagenumbering
  [alternative=doublesided]

\setupwhitespace
  [big]

\setupfootertexts
  [][{\getmarking[chapter]\quad\pagenumber}]
  [{\pagenumber\quad\getmarking[chapter]}][]

\definecolor
  [maincolor]
  [darkblue]

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

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

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

\setupalign
  [tolerant,stretch]

\setuptyping
  [color=maincolor]

\setuptype
  [color=maincolor]

\setupitemize
  [color=maincolor]

\stopenvironment