summaryrefslogtreecommitdiff
path: root/doc/context/sources/general/manuals/mk/mk-titlepage.tex
blob: 78f8154f1d8869a0eb865f323d260d5ec55c3e1a (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
% language=uk

\startcomponent mk-titlepage

\environment mk-environment

\setupbackgrounds[page][background=page]

\startstandardmakeup

\definefont[MyFont][Normal*default]

\setlayerframed
  [page]
  [preset=lefttop]
  [frame=off,
   width=\paperwidth,
   height=\paperheight,
   backgroundoffset=5mm,
   background=color,
   backgroundcolor=mkcolor]
  {}

\setlayerframed
  [page]
  [preset=lefttop,offset=7.5mm]
  [offset=overlay,frame=off,foregroundcolor=white]
  {\scale[height=.15\paperwidth]{\MyFont MKII}}

\setlayerframed
  [page]
  [preset=rightbottom,offset=7.5mm]
  [offset=overlay,frame=off,foregroundcolor=white]
  {\scale[height=.15\paperwidth]{\MyFont MKIV}}

\setlayerframed
  [page]
  [preset=righttop,offset=7.5mm,rotation=90]
  [offset=overlay,frame=off,foregroundcolor=white]
  {\scale[height=.10\paperwidth]{\MyFont CONTEXT}}

\setlayerframed
  [page]
  [preset=leftbottom,offset=7.5mm,rotation=90]
  [offset=overlay,frame=off,foregroundcolor=white]
  {\scale[height=.10\paperwidth]{\MyFont CONTEXT}}

\setlayerframed
  [page]
  [preset=rightbottom,offset=7.5mm,y=4cm]
  [offset=overlay,frame=off]
  {\scale[height=.10\paperwidth]{\MyFont
     \framed
       [align=normal,offset=0pt,frame=off,foregroundcolor=white]
       {The history of lua\TeX\par
        2006--2009 / v 0.50}}}

% \tightlayer[page]

\stopstandardmakeup

\setupbackgrounds[page][background=]

\stopcomponent