Re: [NTG-context] frameoffset in textbackground?
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 ___ 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] frameoffset in textbackground?
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 textbackgroundoffset.pdf Description: Adobe PDF document ___ 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] frameoffset in textbackground
Wolfgang Werners-Lucchini wrote: Hallo, I asked this question a week ago, but got no answer. Does anybody know what is 'frameoffset' for? frameoffset only seems to do something useful in horizontal mode. Try this, to see what it does: \starttext A\framed[frameoffset=5mm]{B}A \stoptext Best wishes, Taco ___ 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] frameoffset in textbackground
Hallo, I asked this question a week ago, but got no answer. Does anybody know what is 'frameoffset' for? I can not see any difference with and without this parameter. -- \setupcolors[state=start] \definetextbackground[strong] [backgroundcolor=lightgray, location=paragraph, frame=on, frameoffset=5mm] \starttext bla \starttextbackground[strong] zack \stoptextbackground blub \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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] frameoffset in textbackground
Hallo, what is 'frameoffset' for? There seems to be no difference with and without this key. -- \setupcolors[state=start] \definetextbackground[strong] [backgroundcolor=lightgray, location=paragraph, frame=on, frameoffset=5mm] \starttext bla \starttextbackground[strong] zack \stoptextbackground blub \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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___