[powerdot] Re: currently active colour

  • From: ecatchpole <E.Catchpole@xxxxxxxxxxx>
  • To: powerdot@xxxxxxxxxxxxx
  • Date: Wed, 26 Oct 2005 16:05:45 +1000

On 26/10/05 15:13,  ecatchpole wrote,:

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

Or, neater still, in case anyone else wants to do this:

-----------------------
\documentclass{powerdot}

\newcommand{\hl}[1]{{\onslide*{+0}{\color{red}} #1}}

\begin{document}

\begin{slide}{Slide 1}

\hl{Can powerdot do this without duplicating everything?}\pause

\begin{itemize}
  \item \hl{This is the first item}\pause
  \item \hl{This is the second}\pause
  \item \hl{This is the last.}
\end{itemize}\pause

\hl{Yes it can!}\pause

\end{slide}

\end{document}
----------------------

Cheers, and thanks.

Ted.


-- Dr E.A. Catchpole Visiting Fellow Univ of New South Wales at ADFA, Canberra, Australia and University of Kent, Canterbury, England - www.ma.adfa.edu.au/~eac - fax: +61 2 6268 8786 - ph: +61 2 6268 8895

Other related posts: