Hi, How do I add a simple watermark text (like "Draft") to every page of a Context generated file? Thanks, Maurício
On Tue, 28 Nov 2006, Maurício wrote:
Hi,
How do I add a simple watermark text (like "Draft") to every page of a Context generated file?
See http://wiki.contextgarden.net/Alternating_backgrounds_and_repeating_layers Aditya
Here is a simple example
\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
paul
On 11/28/06, Maurício
Hi,
How do I add a simple watermark text (like "Draft") to every page of a Context generated file?
Thanks, Maurício
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
participants (3)
-
Aditya Mahajan
-
Maurício
-
Paul Jones