In many cases, the math coloring works nicely.  However, with
one of my most common ways of displaying equations, it does
not work!  I have included an example -- it isn't strictly
«minimal», but it shows several types of math, some of which
get colored, some don't.  I haven't been able to find a
pattern of which equations do and which don't.

Henrik.

\documentclass{article}

\usepackage[colormath]{texpower}
\usepackage{amsmath}

\begin{document}
Here is some math:
$b+b=2b$,
some displayed math
\[
  e^{-j\pi}+1=0
\]
and an equation
\begin{equation}
  x = y + z
\end{equation}
a \TeX\ displayed equation
$$   a = b + c  $$
an unnumbered equation:
\begin{equation*}
  x = y + z
\end{equation*}
two aligned equations
\begin{align}
  x &= y + z  \\
  a &= b + c
\end{align}
two gathered equations
\begin{gather}
  x = y + z  \\
  a = b + c
\end{gather}
The ordinary equation doesn't get colored!
\end{document}

Reply via email to