summaryrefslogtreecommitdiff
path: root/doc/context/sources/general/manuals/about/about-titlepage.tex
diff options
context:
space:
mode:
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