diff options
author | Hans Hagen <pragma@wxs.nl> | 2017-05-14 19:58:50 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2017-05-14 19:58:50 +0200 |
commit | fd0c4577a4b6e85ca2db664906e1a03807ce133f (patch) | |
tree | fa23fcc04248d03ff82e34634b8ef1bb9cf28acb /doc/context/sources/general/manuals/about/about-titlepage.tex | |
parent | db581096187dc2d3cbdbe4cdc39d247c168b1607 (diff) | |
download | context-fd0c4577a4b6e85ca2db664906e1a03807ce133f.tar.gz |
2017-05-14 19:15:00
Diffstat (limited to 'doc/context/sources/general/manuals/about/about-titlepage.tex')
-rw-r--r-- | doc/context/sources/general/manuals/about/about-titlepage.tex | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/context/sources/general/manuals/about/about-titlepage.tex b/doc/context/sources/general/manuals/about/about-titlepage.tex new file mode 100644 index 000000000..392fdb1be --- /dev/null +++ b/doc/context/sources/general/manuals/about/about-titlepage.tex @@ -0,0 +1,31 @@ +\startcomponent about-titlepage + +\environment about-environment + +\setvariables + [document] + [title=about, + subtitle=luatex and context, + author=hans hagen] + +\startpagemakeup + + \startMPcode + + StartPage ; + + fill Page enlarged 5mm withcolor \MPcolor{maincolor} ; + + draw anchored.lrt(image(draw textext("\getvariable{document}{title}") xsized(.750PaperWidth) withcolor white),(lrcorner Page) shifted (-PaperWidth/20, PaperWidth/ 5)) ; + draw anchored.lrt(image(draw textext("\getvariable{document}{subtitle}") xsized(.750PaperWidth) withcolor white),(lrcorner Page) shifted (-PaperWidth/20, PaperWidth/10)) ; + draw anchored.urt(image(draw textext("\getvariable{document}{author}") xsized(.375PaperWidth) rotated 90 withcolor white),(urcorner Page) shifted (-PaperWidth/20,-PaperWidth/20)) ; + + setbounds currentpicture to Page ; + + StopPage ; + + \stopMPcode + +\stoppagemakeup + +\stopcomponent |