Draft Watermark

From ConTeXt wiki
Revision as of 00:14, 29 November 2006 by Shagreel (talk | contribs)
Jump to navigationJump to search

Here is a simple example of a 'Draft' watermark.

\setupcolors[state=start]

\defineoverlay[WatermarkOverlay]
              [{\framed[frame=off,foregroundcolor=gray]
               {\scale[sx=12,sy=12]
               {\rotate[rotation=20.0]{Draft}}}}]

\setupbackgrounds[page][background=WatermarkOverlay]

\starttext
\chapter{first}  \dorecurse{30}{\input tufte  }
\stoptext