ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* frameoffset in textbackground?
@ 2021-06-07 19:46 Hans van der Meer
  2021-06-08 20:40 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Hans van der Meer @ 2021-06-07 19:46 UTC (permalink / raw)
  To: NTG ConTeXt


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

In the following MWE for a textbackground the parameter backgroundoffset has the expected effect. But for positive values only. A backgroundoffset=-10pt has no visible effect.
But the real problem is the parameter frameoffset. No effect at all, whatever frameoffset= is set to.

dr. Hans van der Meer


[-- Attachment #1.2.1: Type: text/html, Size: 1431 bytes --]

[-- Attachment #1.2.2: textbackgroundoffset.pdf --]
[-- Type: application/pdf, Size: 14848 bytes --]

[-- Attachment #1.2.3: Type: text/html, Size: 226 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] 2+ messages in thread

* Re: frameoffset in textbackground?
  2021-06-07 19:46 frameoffset in textbackground? Hans van der Meer
@ 2021-06-08 20:40 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2021-06-08 20:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hans van der Meer schrieb am 07.06.2021 um 21:46:
> In the following MWE for a textbackground the parameter 
> backgroundoffset has the expected effect. But for positive values 
> only. A backgroundoffset=-10pt has no visible effect.
> But the real problem is the parameter frameoffset. No effect at all, 
> whatever frameoffset= is set to.

The textbackground mechanism uses MetaPost to draw the background, lines 
etc.

Not all options are available for each background, e.g. frameoffset 
works by default only for side lines.

Wolfgang


[-- Attachment #1.2: Type: text/html, Size: 1033 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] 2+ messages in thread

end of thread, other threads:[~2021-06-08 20:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-07 19:46 frameoffset in textbackground? Hans van der Meer
2021-06-08 20:40 ` 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).