[NTG-context] textbackground within framedtext

Christoph Reller christoph.reller at gmail.com
Wed Feb 18 15:44:20 CET 2015


Hi,

How can I use textbackground within framedtext. In the following MWE, the
background extends beyond the frame of framedtext. Do I have to use a
different mechanism?

\definetextbackground[bg][
  background=color,
  backgroundcolor=yellow,
  frame=off]

\starttext

\startframedtext
  Before \par
  \starttextbackground[bg]
  \input knuth
  \stoptextbackground \par
  After
\stopframedtext

\input tufte \par
\starttextbackground[bg]
\dorecurse{2}{\input knuth \par}
\stoptextbackground
\input tufte

\stoptext

Any feedback is welcome,

Regards,
Christoph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150218/9c7f91f4/attachment.html>


More information about the ntg-context mailing list