On Mon, 14 Oct 2002 19:46:27 +0200
Manfred Lotz <[EMAIL PROTECTED]> 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
[EMAIL PROTECTED]
http://ref.ntg.nl/mailman/listinfo/ntg-context

Reply via email to