# [texhax] [pstricks] Using "\pause" in Powerdot

Herbert Voss Herbert.Voss at FU-Berlin.DE
Sun Jun 20 17:12:11 CEST 2010

Am 20.06.2010 10:35, schrieb Hubert Lam:

> In the manual the authors of powerdot manage to pause a lstlisting.
> However there are no examples for other math environments.
>
> Is this possible at all?

you can simply use the $...$ notation or the \onslide macro

\documentclass{powerdot}
\usepackage[T1]{fontenc}
\usepackage{mathpazo}
\usepackage{amsmath}
\begin{document}

\begin{slide}[toc=,bm=]{Expand}
Expand the following (not-so-easy) binomial expressions:

\begin{itemize}%[type=1]
\item<1-> $(a + b)^4$
\item<2-> $(a + b)^4 = (a + b)(a + b)^3$
\item<3-> $\phantom{(a + b)^4} = (a + b)(1a^3 + 3a^2 b + 3ab^2 + 1b^3)$
\item<4-> $\phantom{(a + b)^4} = 1a^4 + 4a^3 b + 6a^2 b^2 + 4ab^3 + 1b^4$
\end{itemize}
\end{slide}

\begin{slide}[toc=,bm=]{Expand}
Expand the following (not-so-easy) binomial expressions:

\begin{itemize}
\item<1-> $(a + b)^4$
\end{itemize}
\begin{align}
\onslide{2-}{(a + b)^4 &= (a + b)(a + b)^3\\}
\onslide{3-}{(a + b)^4 &= (a + b)(1a^3 + 3a^2 b + 3ab^2 + 1b^3)\\}
\onslide{4-}{(a + b)^4 &= 1a^4 + 4a^3 b + 6a^2 b^2 + 4ab^3 + 1b^4\\}
\nonumber%only dummy
\end{align}
\end{slide}

\end{document}

Herbert