%% 
%%  An UIT Edition example
%% 
%%  Example 04-06-7 on page 85.
%% 
%%  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) 1,2

%% ==== 
\PassOptionsToClass{}{beamer}
\documentclass{exabeamer}
% graphic converted to gray in book

%\StartShownPreambleCommands
\usetheme{Berlin}
%\StopShownPreambleCommands

\begin{document}
\begin{frame}{\texttt{\textbackslash altenv} environment}
\Huge This
\begin{altenv}<2>{(}{)}{[}{]} word \end{altenv}
\only<2>{is in parentheses in overlay 2,}
\only<1>{is in square brackets in overlay 1.}
\end{frame}
\end{document}
