ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Manfred Lotz <manfred.lotz@web.de>
Cc: ntg-context@ntg.nl
Subject: Re: [NTG-context] background color problem
Date: Tue, 15 Oct 2002 06:58:17 +0200	[thread overview]
Message-ID: <3DABA069.7020703@web.de> (raw)
In-Reply-To: <20021014211759.7de646cf.morawski@gmx.net>

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 <manfred.lotz@web.de> 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
>  
>


_______________________________________________
ntg-context mailing list
ntg-context@ref.ntg.nl
http://ref.ntg.nl/mailman/listinfo/ntg-context


      reply	other threads:[~2002-10-15  4:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-14 17:46 Manfred Lotz
2002-10-14 19:17 ` Jens-Uwe Morawski
2002-10-15  4:58   ` Manfred Lotz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3DABA069.7020703@web.de \
    --to=manfred.lotz@web.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).