Re: [NTG-context] 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 mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Watermark
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 <[EMAIL PROTECTED]> wrote: 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 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Watermark is behind \externalfigure
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] % [{\backgroundimage{1}{\overlaywidth}{\overlayheight}{\color[Watermark]{\CONTEXT}}}] \defineoverlay [watermark] [{\scale[factor=fit]{\color[Watermark]{\CONTEXT}}}] \setupexternalfigure[location=default] \starttext \externalfigure[mill][background={foreground,watermark}] \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___