Source

beamer / examples / beamerexample6.tex

% $Header$

\documentclass[serif]{beamer}

% Copyright 2003 by Till Tantau <tantau@cs.tu-berlin.de>.
%
% This program can be redistributed and/or modified under the terms
% of the LaTeX Project Public License Distributed from CTAN
% archives in directory macros/latex/base/lppl.txt.

%
% The purpose of this example is to show how \part can be used to
% organize a lecture.
%

\usepackage{times}
\usepackage[latin1]{inputenc}

\title{Beamer Animation Example}
\author{Till~Tantau}
\institute{
  Fakultät für Elektrotechnik und Informatik\\
  Technical University of Berlin}


\begin{document}

% View this in acroread with "loop after last page option" in full screen mode.

\newcount\opaqueness
\frame[plain]{
  \itshape
  \animate<1-30>
  \Large

  \only<1-10>{
  \animatevalue<1-10>{\opaqueness}{100}{10}
  \begin{colormixin}{\the\opaqueness!averagebackgroundcolor}
    \begin{centering}
      \Huge Urfaust\par
    \end{centering}
  \end{colormixin}
  }
 
  \only<11-20>{
  \animatevalue<11-20>{\opaqueness}{100}{10}
  \begin{colormixin}{\the\opaqueness!averagebackgroundcolor}
    \begin{verse}
      Hab nun, ach! die Philosophey,\\
      Medizin und Juristerey \\
      Und leider auch die Theologie\\
      Durchaus studirt mit heisser Müh.
    \end{verse}
  \end{colormixin}
  }
 
  \only<21-30>{
  \animatevalue<21-30>{\opaqueness}{100}{10}
  \begin{colormixin}{\the\opaqueness!averagebackgroundcolor}
    \begin{verse}
      Da steh ich nun, ich armer Tohr,\\
      Und binn so klug als wie zuvor.
    \end{verse}
  \end{colormixin}}
}

\end{document}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.