blob: f77a6a1af4e5a755886284c8a857b875c6b20eeb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
% $Header: /cvsroot/latex-beamer/latex-beamer/examples/beamerexample6.tex,v 1.5 2004/10/07 20:53:07 tantau Exp $
\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}
|