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

  • From: "Cantore" <cantore@xxxxx>
  • To: <powerdot@xxxxxxxxxxxxx>
  • Date: Fri, 10 Aug 2007 11:19:21 +0200

You forgot about: \end{itemize} 
Best,
Rob


> -----Original Message-----
> From: powerdot-bounce@xxxxxxxxxxxxx 
> [mailto:powerdot-bounce@xxxxxxxxxxxxx] On Behalf Of Luis Costa
> Sent: Friday, August 10, 2007 8:47 AM
> To: powerdot@xxxxxxxxxxxxx
> Subject: [powerdot] Re: Colour of inactive equation numbers 
> in the itemize environment
> 
> Hi Hendri,
> 
> I was a bit hasty when I said that problem 2 was resolved 
> automatically (i.e., the equation colour change from inactive 
> to active properly). An additional little hack was required. 
> The solution is neither elegant nor does it work globally, 
> but it works. And, for now, I'm happy and that's enough for 
> me.:-) It wasn't the only way of solving this problem, but 
> this solution made the most sense to me.
> 
> The LaTeX input below shows how I solved my problem.
> 
> Best regards,
> Luis
> 
> 
> \begin{document}
> 
> \begin{slide}{}
> 
> \begin{itemize}[type=1]
>  \item Item one \pause
>  \item Item two
>   \onslide*{-1}{
>     \[ x = y+z \]
>    \item Item three
>     \[ a = b+c \]
>    \item Last item
>   }
>   \onslide{+0-+2}{
>    \begin{equation} x = y+z \end{equation}
>   }
>  \pause
>  \item
>   \onslide*{-2-+3}{Item three
>     \[ a = b+c \]
>    \item Last item
>   }
>   \onslide{+0-+1}{\color{red} Item three
>    \def\normalcolor{\color{red}} % set the eq. no. colour
>    \begin{equation} a = b+c \end{equation}
>    \def\normalcolor{\color{pdcolor1}} % reset the eq. no. colour
>   }
>  \pause
>  \item Last item
> % This last equation shows that \normalcolor is reset 
> properly \begin{equation} A=B \end{equation} \end{itemize}
> 
> \end{slide}
> 
> \end{document}
> 
> 
> On Fri, 10 Aug 2007, Hendri Adriaens wrote:
> 
> > Hi Luis,
> >
> > > Thanks, Hendri, for your prompt reply.
> >
> > You're welcome.
> >
> > > I resolved problem 1 by using the \onslide* and \onslide commands 
> > > and opting to leave out the equation number from the 
> inactive items 
> > > and to make the eq. number to appear when the item with 
> the equation is activated.
> > > Problem 2 was solved along with problem 1.
> >
> > Ok, good. Would you like to share the code with us? It may 
> help other 
> > people as well. Please attach it if it's too big.
> >
> > > Thanks for making this great package. It has all the 
> features I want 
> > > and more. I've switched from my own slide package to 
> powerdot (that 
> > > I've hacked a little :-)
> >
> > :) You're welcome.
> >
> > Best,
> > -Hendri.
> >
> 
> 
> 
> __________ Information from Eset Smart Security, version of 
> virus signature database 2448 (20070809) __________
> 
> The message was checked by Eset Smart Security.
> http://www.eset.com
> 
> 


Other related posts: