Jon Wong schrieb am 27.12.2019 um 04:13:
Any way to put the watermark in front?
You can use the foreground to flush the content in a frame and place
then your layer on top of it.
\definecolor [Watermark] [s=1,a=1,t=0.5]
% \defineoverlay
% [watermark]
%
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
___
ntg-context
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