Difference between revisions of "Draft Watermark"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
Here is a simple example of a 'Draft' watermark. | Here is a simple example of a 'Draft' watermark. | ||
− | < | + | <context source=yes> |
\setupcolors[state=start] | \setupcolors[state=start] | ||
Line 12: | Line 12: | ||
\starttext | \starttext | ||
− | \chapter{ | + | \chapter{The grey Watermark} |
+ | \input knuth | ||
+ | \input knuth | ||
+ | \input knuth | ||
\stoptext | \stoptext | ||
− | </ | + | </context> |
[[Category:Sample documents]] | [[Category:Sample documents]] |
Revision as of 01:14, 13 December 2010
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