beyond-style.tex /size: 1410 b    last modification: 2025-02-21 11:03
1% language=us runpath=texruns:manuals/beyond
2
3\startenvironment beyond-style
4
5% copied from ontarget but it might evolve
6
7\usemodule[abbreviations-smallcaps]
8\usemodule[scite]
9
10\logo [LUAMETATEX] {LuaMeta\TeXsuffix}
11
12\definefontfeature
13  [default]
14  [default]
15  [expansion=quality]
16
17\setupbodyfont[plex,12pt]
18
19\setuplayout
20  [width=middle,
21   height=middle,
22   header=0pt,
23   footer=1cm,
24   footerdistance=5mm,
25   backspace=20mm,
26   cutspace=25mm,
27   topspace=2cm,
28   bottomspace=1cm,
29   style=bold,
30   color=maincolor]
31
32\setuppagenumbering
33  [alternative=doublesided]
34
35\setupwhitespace
36  [big]
37
38\setupfootertexts
39  [][{\getmarking[chapter]\quad\pagenumber}]
40  [{\pagenumber\quad\getmarking[chapter]}][]
41
42\definecolor
43  [maincolor]
44  [darkblue]
45
46\definecolor
47  [bgcolor]
48  [s=0.95]
49
50\protected\def\startexample{\startimage\backgroundvtop[bgcolor]\bgroup}
51\protected\def\stopexample {\egroup\stopimage}
52
53\setuphead
54  [chapter]
55  [style=\ss\bfc,
56   color=maincolor]
57
58\setuphead
59  [section]
60  [style=\ss\bfa,
61   color=maincolor]
62
63\setuphead
64  [subsection]
65  [style=\ss\bf,
66   color=maincolor]
67
68\setupalign
69  [tolerant,xstretch]
70
71\setuptyping
72  [color=maincolor,
73   align=hangright]
74
75\setuptype
76  [color=maincolor]
77
78\setupitemize
79  [color=maincolor]
80
81\setupcaption
82  [figure]
83  [headstyle=sans,
84   style=small,
85   headcolor=maincolor,
86   maxwidth=.9\textwidth]
87
88\setupcombination
89  [style=small]
90
91\stopenvironment
92