Minimal test file:

 \documentclass[a4paper]{foils}
 \usepackage{amsmath}
 
\usepackage[darkbackground,colormath,,coloremph,colorhighlight,fixcolorstack]{texpower}

 \begin{document}

 This empty page causes the colorstack problem... Remove it and everything
 is fine
 \newpage

 Equation 1:
 \parstepwise{%
 \begin{align}
   \step{X} & = \step{Y}\\
   \step{Z} & = \step{X}
 \end{align}
 }
 Equation 2:
 \parstepwise{%
   \begin{equation}
   \label{eq:1}
   \step{x=\step{\step{y+z+{}}z^2}}
   \end{equation}
 }

 \end{document}

Error: The colors get all crazy.

I'm sorry I couldn't make a smaller test file.

Best regards, Hans

--------------------------------------------------------------------------
   Hans Fredrik Nordhaug,       |   web:    www.mi.uib.no/~hansfn
      Dr. Scient (2001)         |   phone:    (+47) 45 44 34 31
    Department of Mathematics,  |   fax:      (+47) 55 58 96 72
    University of Bergen        |   e-mail:    [EMAIL PROTECTED]
    5008 Bergen, Norway         |
--------------------------------------------------------------------------

Reply via email to