ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans van der Meer <H.vanderMeer@uva.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: coloring rules
Date: Sat, 23 Jan 2010 16:06:17 +0100	[thread overview]
Message-ID: <57E7CA33-3240-4E79-9646-3B618BCF4167@uva.nl> (raw)
In-Reply-To: <4B5AFE57.5030905@googlemail.com>


On 23 jan 2010, at 14:49, Wolfgang Schuster wrote:

> Am 23.01.10 14:32, schrieb Hans van der Meer:
>> Further experimentation has shown that it is not impossible to color
>> \vrule's, thus \blackrule is not specifically needed.
>
> \blackrule is a \vrule which is enclosed in \startcolor/\stopcolor.
>
>> Let me first mention that I put the colored rules away with
>> \setbox\B=\hbox{} and then later call \B up.
>
> Why so complicated?
>
> It is a pity until now I am not able to concoct a
>> minimal example showing consistently the behaviour.
>>
>> However I have made the following observations:
>> define: \definecolor[mycolor][r=myR,g=myG,b=myB]
>
> Have you tried '{\mycolor\vrule <spec>\relax}'?

No, I hadn't, but now I have. And it worked. The simplest solution is  
most of the times the best, indeed. Thanks.

>
> Wolfgang
> ___________________________________________________________________________________

Hans van der Meer
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2010-01-23 15:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-21 16:28 Hans van der Meer
2010-01-21 21:24 ` Aditya Mahajan
2010-01-23 13:32   ` Hans van der Meer
2010-01-23 13:49     ` Wolfgang Schuster
2010-01-23 15:06       ` Hans van der Meer [this message]
2010-01-23 18:19         ` Wolfgang Schuster
2010-01-24 13:02     ` Hans Hagen
2010-01-24 13:04     ` Hans Hagen

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=57E7CA33-3240-4E79-9646-3B618BCF4167@uva.nl \
    --to=h.vandermeer@uva.nl \
    --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).