Re: [NTG-context] Color in math in MkIV

2008-09-02 Thread Hans Hagen
Aditya Mahajan wrote:
> Hi,
> 
> The color commands do not work inside math mode in MKIV. For example
> 
> $f(\color[blue]{A}) = b$
> 
> $f({\blue A}) = b$
> 
> come out black and
> 
> $f(\blue{A}) = b$
> 
> colors everything blue. I have an easy work around for the moment:
> 
> \unprotected\def\mathcolor[#1]#2%
>{\preparebinrel{#2}
> [EMAIL PROTECTED] #2$}}}
> 
> 
> and then use \mathcolor.

math is on the agenda for later this year ... no attributes there yet

Hans


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | www.pragma-pod.nl
-
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Color in math in MkIV

2008-09-02 Thread Aditya Mahajan
Hi,

The color commands do not work inside math mode in MKIV. For example

$f(\color[blue]{A}) = b$

$f({\blue A}) = b$

come out black and

$f(\blue{A}) = b$

colors everything blue. I have an easy work around for the moment:

\unprotected\def\mathcolor[#1]#2%
   {\preparebinrel{#2}
[EMAIL PROTECTED] #2$}}}


and then use \mathcolor.

Aditya

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___