~ubuntu-branches/ubuntu/oneiric/latex-beamer/oneiric

« back to all changes in this revision

Viewing changes to examples/beamerexample6.tex

  • Committer: Bazaar Package Importer
  • Author(s): OHURA Makoto
  • Date: 2004-04-21 00:29:41 UTC
  • Revision ID: james.westby@ubuntu.com-20040421002941-j2xutniwduvqfe92
Tags: upstream-2.20
Import upstream version 2.20

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
\documentclass[serif]{beamer}
 
2
 
 
3
% Copyright 2003 by Till Tantau <tantau@cs.tu-berlin.de>.
 
4
%
 
5
% This program can be redistributed and/or modified under the terms
 
6
% of the LaTeX Project Public License Distributed from CTAN
 
7
% archives in directory macros/latex/base/lppl.txt.
 
8
 
 
9
%
 
10
% The purpose of this example is to show how \part can be used to
 
11
% organize a lecture.
 
12
%
 
13
 
 
14
\usepackage{beamerthemeplain}
 
15
\usepackage{times}
 
16
\usepackage[latin1]{inputenc}
 
17
 
 
18
\title{Beamer Animation Example}
 
19
\author{Till~Tantau}
 
20
\institute{
 
21
  Fakult�t f�r Elektrotechnik und Informatik\\
 
22
  Technical University of Berlin}
 
23
 
 
24
 
 
25
\begin{document}
 
26
 
 
27
% View this in acroread with "loop after last page option" in full screen mode.
 
28
 
 
29
\newcount\opaqueness
 
30
\plainframe{
 
31
  \itshape
 
32
  \animate<1-30>
 
33
  \Large
 
34
 
 
35
  \only<1-10>{
 
36
  \animatevalue<1-10>{\opaqueness}{100}{10}
 
37
  \begin{colormixin}{\the\opaqueness!averagebackgroundcolor}
 
38
    \begin{centering}
 
39
      \Huge Urfaust\par
 
40
    \end{centering}
 
41
  \end{colormixin}
 
42
  }
 
43
 
 
44
  \only<11-20>{
 
45
  \animatevalue<11-20>{\opaqueness}{100}{10}
 
46
  \begin{colormixin}{\the\opaqueness!averagebackgroundcolor}
 
47
    \begin{verse}
 
48
      Hab nun, ach! die Philosophey,\\
 
49
      Medizin und Juristerey \\
 
50
      Und leider auch die Theologie\\
 
51
      Durchaus studirt mit heisser M�h.
 
52
    \end{verse}
 
53
  \end{colormixin}
 
54
  }
 
55
 
 
56
  \only<21-30>{
 
57
  \animatevalue<21-30>{\opaqueness}{100}{10}
 
58
  \begin{colormixin}{\the\opaqueness!averagebackgroundcolor}
 
59
    \begin{verse}
 
60
      Da steh ich nun, ich armer Tohr,\\
 
61
      Und binn so klug als wie zuvor.
 
62
    \end{verse}
 
63
  \end{colormixin}}
 
64
}
 
65
 
 
66
\end{document}
 
67
 
 
68