pdf

\documentclass[12pt]{beamer}

\usepackage{color}

\usepackage{fontspec}
\defaultfontfeatures{Scale=MatchLowercase, Mapping=tex-text} 
\setmainfont{Cambria}
\setsansfont[Scale=0.95]{Candara}
\setmonofont{Consolas}

\title{Overlay Examples}
\subtitle{Overlay}
\author{Kilgore Trout}
\institute[Tralfamadore] {Tralfamadore Institute of Technology}
\usetheme{Madrid}

\begin{document}
\begin{frame}[fragile]
  \frametitle{Overlay Examples}
  \begin{itemize}
  \item Successive \color{red}\verb|\only<n>{..}|\\
    \color{gray}\verb|\only<1>{Abra}\only<2>{Cada}\only<3>{Bra}|
    \color{black}$\Rightarrow$
    \only<1>{Abra}\only<2>{Cada}\only<3>{Bra}
    \onslide<4->
  \item \color{red}\verb|\uncover<n>{..}| \color{black}shows at given n. \\
    \color{gray}\verb|\uncover<5>{I am 5}|
    \color{black}$\Rightarrow$ \uncover<5>{I am 5}
    \onslide<6->
  \item \color{red}\verb|\invisible<n>{..}| \color{black}hides at given n.\\
    \color{gray}\verb|\invisible<8>{Invisible at 8}|
    \color{black}$\Rightarrow$ \invisible<8>{Invisible at 8}
    \onslide<10->
  \item \color{red}\verb|\alt<n>{at n}{not at n}|
    \color{black}for two alternatives. \\
    \color{gray}\verb|\alt<11>{I am 11}{I am not 11}|
    \color{black}$\Rightarrow$ \alt<11>{I am 11}{I am not 11}
    \onslide<13->
  \item\color{red}\verb|\temporal<n>{before}{at n}{after}|
    \color{black}for three alternatives. \\
    \color{gray}\verb|\temporal<14>{I am 13}{I am 14}{I am 15}|
    \color{black}$\Rightarrow$ \temporal<14>{I am 13}{I am 14}{I am 15}
  \end{itemize}
  \onslide<15->
  \onslide<1->
  \begin{center}
    \Large Slide \texttt{\thepage}
  \end{center}
\end{frame}
\end{document}
Comments Off on Beamer Overlay
Trackback

no comment until now

Sorry, comments closed.