ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Michael Murphy <michael.murphy@uni-ulm.de>
To: Hans Hagen <pragma@wxs.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: bug: colors in TikZ/ConTeXt MKIV
Date: Wed, 01 Dec 2010 18:37:06 +0100	[thread overview]
Message-ID: <1291225026.2623.32.camel@silver-fox> (raw)
In-Reply-To: <4CF6466F.4010907@wxs.nl>

> I'm pretty sure that I never implemented something using a questionmark. 
> However, we do have:
> 
> \definecolor[red-t]  [r=1,t=0.5,a=1]
> \definecolor[green-t][g=1,t=0.5,a=1]
> \defineintermediatecolor[mycolora][0.5,red,green]
> \defineintermediatecolor[mycolorb][0.5,red-t,green-t]
> 
> \starttext
>      test {\mycolora OEPS} test
>      test {\mycolorb OEPS} test
> \stoptext
> 
> I could probably support
> 
> \definecolor[xxx][0.5(red,green)]
> \definecolor[xxx][0.5(red)]
> 
> which looks better than this ! and is less likely to conflict with names 
> as abc! is a rather value color name.

OK, thanks. Last question then: is there a way to redefine standard
colors? Something like:

\redefinecolor[red][r=0,g=1,b=0]

-- 
Michael Murphy

___________________________________________________________________________________
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-12-01 17:37 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-26 22:24 Mojca Miklavec
2010-11-27 11:04 ` Vedran Miletić
2010-11-27 12:29   ` Hans Hagen
2010-11-27 13:16     ` Mojca Miklavec
2010-11-27 13:25       ` Hans Hagen
2010-12-01 12:36         ` Michael Murphy
2010-12-01 12:58           ` Hans Hagen
2010-12-01 17:37             ` Michael Murphy [this message]
2010-12-01 17:42               ` Wolfgang Schuster
2010-12-02  4:02             ` Aditya Mahajan
2010-12-02  8:01               ` Hans Hagen
2010-12-02 11:01                 ` Aditya Mahajan
2010-12-02 11:04                   ` Hans Hagen
2010-12-02  7:19             ` Alan BRASLAU
2010-12-02 11:17               ` 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=1291225026.2623.32.camel@silver-fox \
    --to=michael.murphy@uni-ulm.de \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.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).