1\startcomponent abouttitlepage
2
3\environment aboutenvironment
4
5\setvariables
6 [document]
7 [title=about,
8 subtitle=luatex and context,
9 author=hans hagen]
10
11\startpagemakeup
12
13 \startMPcode
14
15 StartPage ;
16
17 fill Page enlarged 5mm withcolor \MPcolor{maincolor} ;
18
19 draw anchored.lrt(image(draw textext("\documentvariable{title}") xsized(.750PaperWidth) withcolor white),(lrcorner Page) shifted (PaperWidth20, PaperWidth 5)) ;
20 draw anchored.lrt(image(draw textext("\documentvariable{subtitle}") xsized(.750PaperWidth) withcolor white),(lrcorner Page) shifted (PaperWidth20, PaperWidth10)) ;
21 draw anchored.urt(image(draw textext("\documentvariable{author}") xsized(.375PaperWidth) rotated 90 withcolor white),(urcorner Page) shifted (PaperWidth20,PaperWidth20)) ;
22
23 setbounds currentpicture to Page ;
24
25 StopPage ;
26
27 \stopMPcode
28
29\stoppagemakeup
30
31\stopcomponent
32 |