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