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 ___________________________________________________________________________________