21 Jul
2012
21 Jul
'12
9:10 p.m.
On Sat, Jul 21 2012, Pablo Rodríguez wrote:
Page is red and text is white. \page Page is blue and text is yellow.
All you need, can be done with \framed: \setuppapersize[S6] \setuplayout[page] \def\Slide#1#2#3{% #1: background, #2: foreground, #3: words \framed[offset=overlay, width=\textwidth, height=\textheight, background=color, backgroundcolor=#1, foregroundcolor=#2, align={middle, lohi}, frame=off]{#3}} \starttext \Slide{red}{white}{Page is red and text is white.\\Newline} \Slide{blue}{yellow}{Page is blue and text is yellow.} \stoptext -- Peter