On Thu, 16 Nov 2023 13:52:05 +0100 Marco Patzer
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?
On 1/31/2024 7:15 PM, Marco Patzer wrote: 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 -----------------------------------------------------------------