Draft Watermark

From ConTeXt wiki
Jump to: navigation, 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{The grey Watermark} 
\input knuth 
\input knuth 
\input knuth 
\stoptext

C O N T E X T G A R D E N

Personal tools
Namespaces
Variants
Actions
Help
External Help
Installation
Navigation
Toolbox