On 1/31/2024 7:15 PM, Marco Patzer wrote:
On Thu, 16 Nov 2023 13:52:05 +0100
Marco Patzer <li...@homerow.info> wrote:
I'm having problems getting the textbackground spacing offset to work.
Example:
\setupframedtext
[offset=overlay,
width=max,
depthcorrection=off]
\setuptextbackground
[location=paragraph,
%% offset=overlay, %% does nothing
%% backgroundoffset=overlay, %% does nothing
%% depthcorrection=off, %% does nothing
%% topoffset=3mm, %% works, but only for positive values
background=,
frame=on]
\starttext
\startframedtext
\framed{Foo}
\stopframedtext
\starttextbackground
\framed{Foo}
\stoptextbackground
\stoptext
How do it get the same spacing as in the framedtext case?
Is there a solution to this? Or an explanation why the spacing
differs?
these are fundamentally different mechanisms .. you can play with
\inframed in the second case
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________