Re: [NTG-context] Draft Watermark of Garden gives unexpected results

2020-06-11 Thread Wolfgang Schuster

Floris van Manen schrieb am 11.06.2020 um 23:03:


On 11/06/2020 22:31, Jairo A. del Rio wrote:

The watermark is partially outside the page, whereas the Wiki result is
more "centered". Is that an intended behaviour?


A slightly better version.

\defineoverlay
  [WatermarkOverlay]
  [{\framed
  [frame=off,
   orientation=20,
   foregroundcolor=gray]
  {\scale[width=\textwidth]{Draft}}}]


Also, if you set \rotate[rotation=0.0]{Draft} it will disappear...


I see, there are still problems with decimal values for rotation.

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
___


Re: [NTG-context] Draft Watermark of Garden gives unexpected results

2020-06-11 Thread Floris van Manen


On 11/06/2020 22:31, Jairo A. del Rio wrote:
> The watermark is partially outside the page, whereas the Wiki result is
> more "centered". Is that an intended behaviour?
> 

Also, if you set \rotate[rotation=0.0]{Draft} it will disappear...



pEpkey.asc
Description: application/pgp-keys
___
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
___


[NTG-context] Draft Watermark of Garden gives unexpected results

2020-06-11 Thread Jairo A. del Rio
The following example of using layers doesn't works as expected in ConTeXt

https://wiki.contextgarden.net/Draft_Watermark

The watermark is partially outside the page, whereas the Wiki result is
more "centered". Is that an intended behaviour?

Additionally, how to center an element in a layer with respect to the
current page?

Cordially,

Jairo :)
___
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
___