[powerdot] Re: currently active colour

  • From: ecatchpole <e.catchpole@xxxxxxxxxxx>
  • To: powerdot@xxxxxxxxxxxxx
  • Date: Fri, 28 Oct 2005 14:26:38 +1000

On 26/10/05 16:05, ecatchpole wrote,:

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

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

The \onslide*{+0} trick fails, apparently, immediately after exiting from an itemize environment. In the code below, "item 3" and "some text" don't appear highlighted when they first appear; everything else does. Does anyone have any idea what's going wrong?


Thanks,
Ted.

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

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

\begin{document}
\begin{slide}{test}
\begin{itemize}
  \item \hl{item 1}\pause
  \item \hl{item 2}\pause
  \begin{itemize}
    \item \hl{subitem 1}\pause
    \item \hl{subitem 2}\pause
  \end{itemize}
  \item \hl{item 3}\pause
  \item \hl{item 4}\pause
\end{itemize}
\hl{some text}; \pause
\hl{some more text}
\end{slide}
\end{document}
------------------------



--
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: