From: Alan BRASLAU <alan.braslau@cea.fr>
To: ntg-context@ntg.nl
Subject: Re: bug: colors in TikZ/ConTeXt MKIV
Date: Thu, 2 Dec 2010 08:19:01 +0100 [thread overview]
Message-ID: <201012020819.02057.alan.braslau@cea.fr> (raw)
In-Reply-To: <4CF6466F.4010907@wxs.nl>
On Wednesday 01 December 2010 13:58:23 Hans Hagen wrote:
>
> 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.
>
Indeed, a favorite color is "surprisepink!"
\definecolor [roscolux51] [h=aaacd5] % Touch of color when white light is not
desirable.
\definecolor [surprisepink!] [roscolux51]
The TiKz syntax "red!50!green" is short, sweet and rather strange. But the
question remains on how to support full TiKz use under ConTeXt.
In Metapost, we have 0.5[red,green] (does this work with colors?). Would
\definecolor[xxx][0.5[red,green]] be a better alternative? Is such a syntax
possible? Would this be readable?
The next step would be to allow \color[0.5[red,green]] (or
\color[0.5(red,green)]), i.e. such syntax wherever a color can be used.
Alan
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2010-12-02 7:19 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
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 [this message]
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=201012020819.02057.alan.braslau@cea.fr \
--to=alan.braslau@cea.fr \
--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).