summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/luatex/base/luatex-titlepage.tex
blob: d9ca4b3f933b60ad76a1a7fc16958120638b435e (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
\environment luatex-style

\startcomponent luatex-titlepage

\startstandardmakeup

    \switchtobodyfont
      [mainfacemedium]

    \definedfont[Bold*default at \the\dimexpr.06\paperheight\relax] \setupinterlinespace

    \setlayer
      [page]
      {\useMPgraphic{luapage}}

    \setlayerframed
      [page]
      [preset=righttop,
       location=middletop,
       hoffset=.500\measured{paperwidth},
       voffset=.175\measured{paperheight}]
      [align=middle,
       foregroundcolor=white,
       frame=off]
      {\documentvariable{manual}\crlf Reference\crlf Manual}

    \definedfont[Bold*default at 14pt] \setupinterlinespace

    \setlayerframed
      [page]
      [preset=rightbottom,
       offset=.025\measured{paperheight}]
      [align=flushright,
       foregroundcolor=white,
       frame=off]
      {\doifsomething{\documentvariable{status}}{\documentvariable{status}\par}
       \currentdate[month,space,year]\par
       Version \documentvariable{version}}

    \setlayerframed
      [page]
      [preset=middle,
       hoffset=-.5\dimexpr\measured{paperwidth}-\measured{spinewidth}\relax]
      [width=.7\measured{paperwidth},
       align=normal,
       foregroundstyle=\bf,
       foregroundcolor=white,
       frame=off]
      {\getbuffer[backpage]}

\stopstandardmakeup

\stopcomponent