diff options
Diffstat (limited to 'Master/texmf-dist/doc/context/sources/general/manuals/about/about-titlepage.tex')
-rw-r--r-- | Master/texmf-dist/doc/context/sources/general/manuals/about/about-titlepage.tex | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/context/sources/general/manuals/about/about-titlepage.tex b/Master/texmf-dist/doc/context/sources/general/manuals/about/about-titlepage.tex new file mode 100644 index 00000000000..392fdb1beb0 --- /dev/null +++ b/Master/texmf-dist/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 |