ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Draft Watermark of Garden gives unexpected results
@ 2020-06-11 20:31 Jairo A. del Rio
  2020-06-11 21:03 ` Floris van Manen
  0 siblings, 1 reply; 3+ messages in thread
From: Jairo A. del Rio @ 2020-06-11 20:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 351 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 574 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Draft Watermark of Garden gives unexpected results
  2020-06-11 20:31 Draft Watermark of Garden gives unexpected results Jairo A. del Rio
@ 2020-06-11 21:03 ` Floris van Manen
  2020-06-11 21:41   ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Floris van Manen @ 2020-06-11 21:03 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 243 bytes --]



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...


[-- Attachment #2: pEpkey.asc --]
[-- Type: application/pgp-keys, Size: 3094 bytes --]

[-- Attachment #3: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Draft Watermark of Garden gives unexpected results
  2020-06-11 21:03 ` Floris van Manen
@ 2020-06-11 21:41   ` Wolfgang Schuster
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Schuster @ 2020-06-11 21:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Floris van Manen

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-06-11 21:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-11 20:31 Draft Watermark of Garden gives unexpected results Jairo A. del Rio
2020-06-11 21:03 ` Floris van Manen
2020-06-11 21:41   ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).