[OS X TeX] coloring equations

KL Tah kl_tah at hotmail.com
Thu May 18 03:10:31 EDT 2006


sorry, I should have been clearer . I actually want to color just 
portions of an equation.
eg.
\begin{equation}
\color{\phi} \rho
\end{equation}

but this just seems to color the whole equation.

KL
On May 17, 2006, at 6:49 PM, Gary L. Gray wrote:

>
> On May 17, 2006, at 9:27 PM, KL Tah wrote:
>
>> Hi All,
>>
>> the \textcolor command doesn't seem to work in math mode. Does anyone 
>> happen to know how to color math equations?
>
> Just issue a \color declaration within the environment as in:
>
> \begin{equation*}\color{red}
> v_{a} = \frac{1}{\lambda} \int_{0}^{\lambda} v_{x}\,dx.
> \end{equation*}
>
> -- Gary
> ------------------------- Info --------------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>          & FAQ: http://latex.yauh.de/faq/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Archive: http://tug.org/pipermail/macostex-archives/
>


------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list