[powerdot] Re: Contd. Colour of inactive equation numbers in the itemize environment

  • From: Luis Sequeira <lfsequeira@xxxxxxxxx>
  • To: powerdot@xxxxxxxxxxxxx
  • Date: Fri, 24 Aug 2007 11:27:24 +0100


On Aug 24, 2007, at 11:05 AM, Luis Costa wrote:

Hello!

I'm returning to the problem I reported using equations in the
itemize environment. The use of the amsmath package solves the
problem when using \begin{equation} ... \end{eqnation}, but
doesn't address the problem in the eqnarray environment:
\begin{eqnarray} ... \end{eqnarray} will still have the problem
of the active equation number colour even when inactive, which,
I think, is because this environment is not defined in the
amsmath package.

However, a quick (and elegant I think) fix that solves this
problem and does not require the amsmath package is to redefine
\@eqnnum to exclude \normalcolor from its definition (I feel
silly now that I didn't think of this earlier:-).



AFAIK, eqnarray is considered deprecated. The amsmath "align" environment is the recommended replacement. It has arguably better spacing and it does NOT suffer from the problem you mentioned. Consider the example below. The align version is inactive in the second overlay, including the equation number. The eqnarray is inactive in the first overlay, but the number appears in the active color.

Luís Sequeira


\documentclass{powerdot}

\usepackage{amsmath}

\begin{document}
\begin{slide}{Test}
\onslide+{1}{
\begin{align}
a = b
\end{align}}

\onslide+{2}{
\begin{eqnarray}
a = b
\end{eqnarray}}

\end{slide}

\end{document}




Other related posts: