[OS X TeX] coloring equations

Gary L. Gray gray at engr.psu.edu
Thu May 18 03:49:16 CEST 2006


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/




More information about the macostex-archives mailing list