blob: 4f254e2ae66d5bf2374846db89cf2af41bd406b8 (
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
|
% content=tex
%
% copyright=pragma-ade readme=readme.pdf licence=cc-by-nc-sa
\usemodule[visual]
\usemodule[simulate]
\dontcomplain
\startenvironment columnsets-000
\useMPlibrary[dum]
\setupbodyfont
[palatino]
\setuplayout
[grid=yes]
\setuplayout
[backspace=20mm,
cutspace=15mm,
width=middle,
height=middle]
\setupsystem
[random=1234]
\setuppagenumbering
[alternative=doublesided,
location=]
\setupheadertexts
[pagenumber][right]
[left][pagenumber]
\setupfootertexts
[\inputfilename]
\setupfooter
[style=\tttf]
\setupheader
[style=\tttf]
\setuptolerance
[verytolerant,stretch]
\definecolor[color-1][.5(red,green)]
\definecolor[color-2][.5(green,blue)]
\definecolor[color-3][.5(blue,red)]
\definecolor[color-4][.5(white,black)]
\definecolor[color-5][.5(white,color-4)]
\startuniqueMPgraphic{frame}
fill OverlayBox withcolor \MPcolor{color-1} ;
\stopuniqueMPgraphic
\startuniqueMPgraphic{contrast}
fill OverlayBox withcolor \MPcolor{color-3} ;
\stopuniqueMPgraphic
\defineoverlay[frame] [\uniqueMPgraphic{frame}]
\defineoverlay[contrast][\uniqueMPgraphic{contrast}]
\stopenvironment
|