21 Jul
2012
21 Jul
'12
7:25 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.
Quick hack: \definecolor[MyColor][white] \setupbackgrounds[page][background=color, backgroundcolor=MyColor] \def\Slide#1#2#3{% #1: background, #2: foreground, #3: words \definecolor[MyColor][#1] \startstandardmakeup \setupalign[middle]% \setupcolors[textcolor=#2]% #3 \stopstandardmakeup } \starttext \Slide{red}{white}{Page is red and text is white.} \Slide{blue}{yellow}{Page is blue and text is yellow.} \stoptext Be patient, others (Wolfgang?!) will probably post cleaner solutions. -- Peter