Changes

Jump to navigation Jump to search
1,013 bytes removed ,  10:39, 13 December 2020
= Another title page =
<texcodecontext mode="mkiv" source="yes">\setuppapersize[A6]
\definetype[ytyp][color=yellow]
\stoptext
</texcodecontext>
Guess who did this one :-) [http://archive.contextgarden.net/message/20050321.011152.0eb2d729.html Reference to mailing list]
 
<context>
\setuplayout[location=middle,scale=.2]
\definetype[ytyp][color=yellow]
 
\startbuffer[title]
\type{/(}\ytyp{h}\type{*?)testexpr/io}\par
\type{/t(}\ytyp{a}\type{*?)estexpr/io}\par
\type{/te(}\ytyp{n}\type{*?)stexpr/io}\par
\type{/tes(}\ytyp{s}\type{*?)texpr/io}\par
\type{/test(}\ytyp{h}\type{*?)expr/io}\par
\type{/teste(}\ytyp{a}\type{*?)xpr/io}\par
\type{/testex(}\ytyp{g}\type{*?)pr/io}\par
\type{/testexp(}\ytyp{e}\type{*?)r/io}\par
\type{/testexpr(}\ytyp{n}\type{*?)/io}\par
\stopbuffer
 
\setupcolors[state=start]
 
\definelayer
[TitleGraphic]
[width=\paperwidth,
height=\paperheight]
 
\setlayer
[TitleGraphic]
[preset=lefttop]
{\scale
[width=\paperwidth,
height=\paperheight]
{\framed
[frame=off,
offset=overlay,
background=color,
backgroundcolor=blue,
foregroundcolor=red,
align=normal]
{\getbuffer[title]}}}
 
\setupbackgrounds[page][background=TitleGraphic]
 
\starttext
 
\startstandardmakeup
 
\stopstandardmakeup
 
\stoptext
</context>
= A simple centered cover for a booklet =

Navigation menu