%% 
%%  An UIT Edition example
%% 
%%  Example 04-07-1 on page 89.
%% 
%%  Copyright (C) 2012 Vo\ss 
%% 
%%  It may be distributed and/or modified under the conditions
%%  of the LaTeX Project Public License, either version 1.3
%%  of this license or (at your option) any later version.
%% 
%%  See http://www.latex-project.org/lppl.txt for details.
%% 

% Show page(s) 3,6

%% ==== 
\PassOptionsToClass{}{beamer}
\documentclass{exabeamer}


%\StartShownPreambleCommands
\usetheme{Malmoe}
%\StopShownPreambleCommands

\begin{document}
\begin{frame}{Overlay environment}
\begin{theorem}<1->[Pythagoras]   \[ c^2 = a^2 + b^2 \]   \end{theorem}
\begin{proof}<2>    \[ 25=16+9 \] \end{proof}
\begin{example}<3>[Derivation]
 \begin{align} f(x) &= \tan x\\f^\prime &= 1+\tan^2 x \end{align}
\end{example}
\end{frame}

\begin{frame}{Overlay environment}
\begin{theorem}<1->[Pythagoras]   \[ c^2 = b^2 + a^2 \]   \end{theorem}
\begin{onlyenv}<2>
  \begin{proof}     \[ 25=16+9 \]  \end{proof}
\end{onlyenv}

\begin{example}<3>[Derivation]
 \begin{align} f(x) &= \tan x\\f^\prime &= 1+\tan^2 x \end{align}
\end{example}
\end{frame}
\end{document}