Thanks for the info. You are right. definetextbackground seems more to be what I'm looking for. Where do I find documentation about it? I didn't find a details.pdf. Manfred Jens-Uwe Morawski wrote:
On Mon, 14 Oct 2002 19:46:27 +0200 Manfred Lotz
wrote: I try to create some text with background color. The following code snippet doesn't work however. ___________________________________________ \definecolor [darkgreen] [r=.0, g=.5, b=.0] \setupcolors[state=start]
\setupbackgrounds [text][text] [background=color, backgroundcolor=darkgreen, backgroundoffset=1.25mm]
This defines an "overlay" that is placed under the whole text area. Thus, IMO, not the thing you want get.
As far as i understand details.pdf (following is untested) it should work with:
\definetextbackground[TextBG] [backgroundcolor=darkgreen, backgroundoffset=.25cm, offset=.5cm, frame=off, location=paragraph, color=white]
\starttextbackground[TextBG] Some Text. \stoptextbackground
Jens _______________________________________________ ntg-context mailing list ntg-context@ref.ntg.nl http://ref.ntg.nl/mailman/listinfo/ntg-context