Hi!

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? The
textbackground has a small gap between the inner and outer frame at
the top and a larger gab at the bottom. I'm not concerned with
horizontal spacing here.

Marco

LMTX 2023.09.04 19:15
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to