[powerdot] Re: currently active colour

  • From: Chris Ellison <chris.ellison@xxxxxxxxx>
  • To: powerdot@xxxxxxxxxxxxx
  • Date: Tue, 25 Oct 2005 23:40:22 -0700

ecatchpole wrote the following on 2005-10-25 22:13:

On 25/10/05 17:10,  Hendri Adriaens wrote,:


BTW, this could well be written as {\onslide*{1}{\color{red}} some text} which avoids the duplication.

-Hendri.


Ah, that's terribly clever!

The following replicates exactly what I've been trying to do. The \onslide{+0} comes in very handy here!

Many thanks for this.

Ted.

\documentclass{powerdot}
\begin{document}
\begin{slide}{Slide 1}

{\onslide*{1}{\color{red}}
 Can powerdot do this without duplicating everything?}\pause

\begin{itemize}
  \item {\onslide*{+0}{\color{red}} This is the first item}\pause
  \item {\onslide*{+0}{\color{red}} This is the second}\pause
  \item {\onslide*{+0}{\color{red}} This is the last.}
\end{itemize}\pause

{\onslide*{+0}{\color{red}} Yes it can!}\pause

\end{slide}
\end{document}


Watch out for the space after {\color{red}}...unless it was intentional.

\item {\onslide*{+0}{\color{red}} This is the first item}\pause

versus

\item {\onslide*{+0}{\color{red}}This is the first item}\pause

Other related posts: