summaryrefslogtreecommitdiff
path: root/doc/context/sources/general/manuals/about/about-titlepage.tex
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2016-08-01 16:40:14 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2016-08-01 16:40:14 +0200
commit96f283b0d4f0259b7d7d1c64d1d078c519fc84a6 (patch)
treee9673071aa75f22fee32d701d05f1fdc443ce09c /doc/context/sources/general/manuals/about/about-titlepage.tex
parentc44a9d2f89620e439f335029689e7f0dff9516b7 (diff)
downloadcontext-96f283b0d4f0259b7d7d1c64d1d078c519fc84a6.tar.gz
2016-08-01 14:21:00
Diffstat (limited to 'doc/context/sources/general/manuals/about/about-titlepage.tex')
-rw-r--r--doc/context/sources/general/manuals/about/about-titlepage.tex31
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