Debian Codegraph @

texmf-dist/doc/latex/beamer/beameruserguide.tex

raw
1 % Copyright 2003-2007 by Till Tantau
2 % Copyright 2010 by Vedran Mileti\'c
3 % Copyright 2011-2015 by Vedran Mileti\'c, Joseph Wright
4 % Copyright 2016 by Joseph Wright
5 % Copyright 2017,2018 by Louis Stuart, Joseph Wright
6 % Copyright 2020-2026 by Joseph Wright, samcarter
7 %
8 % This file may be distributed and/or modified
9 %
10 % 1. under the LaTeX Project Public License and/or
11 % 2. under the GNU Free Documentation License.
12 %
13 % See the file LICENSE.md for more details.
14
15 \documentclass{ltxdoc}
16
17 \def\beamerugversion{3.77}
18 \def\beamerugpgfversion{3.1.7}
19 \def\beamerugxcolorversion{2.00}
20
21 \usepackage{cmap}
22 \usepackage{lmodern}
23 \usepackage[T1]{fontenc}
24 \usepackage[utf8]{inputenc}
25 \usepackage{amsmath,amssymb}
26 \usepackage{pifont}
27 \usepackage{makeidx}
28 \usepackage{pgf,xcolor}
29 \usepackage[pdfborder={0 0 0},bookmarksnumbered]{hyperref}
30 \usepackage[left=2.25cm,right=2.25cm,top=2.5cm,bottom=2.5cm,nohead]{geometry}
31 \usepackage{translator}
32 \usepackage{tikz}
33 \usepackage{beamerarticle}
34 \usepackage{array}
35 \usepackage{booktabs}
36
37 \input{beamerbasenavigationsymbols}
38 \input{beamerug-macros}
39
40 \makeindex
41
42 %\includeonly{beamerug-introduction}
43
44 \begin{document}
45
46 {
47 \pgfimage[width=.3\textwidth]{beamerlogo}\qquad
48 \parindent 0pt
49 \vbox{\Huge
50 The \beamer\ \textit{class}
51
52 \Large
53 User Guide for version \beamerugversion.}
54 \vskip 3cm
55
56
57
58
59 \normalsize
60 \begin{verbatim}
61 \begin{frame}
62 \frametitle{There Is No Largest Prime Number}
63 \framesubtitle{The proof uses \textit{reductio ad absurdum}.}
64 \begin{theorem}
65 There is no largest prime number.
66 \end{theorem}
67 \begin{proof}
68 \begin{enumerate}
69 \item<1-| alert@1> Suppose $p$ were the largest prime number.
70 \item<2-> Let $q$ be the product of the first $p$ numbers.
71 \item<3-> Then $q+1$ is not divisible by any of them.
72 \item<1-> Thus $q+1$ is also prime and greater than $p$.\qedhere
73 \end{enumerate}
74 \end{proof}
75 \end{frame}
76 \end{verbatim}
77 \pgfimage[width=.45\textwidth,page=2]{beamerugthemePittsburgh}\qquad\pgfimage[width=.45\textwidth,page=2]{beamerugthemeFrankfurt}
78 \vskip 0cm plus 1.5fill
79 \vbox{}
80 \clearpage
81 }
82
83 {
84 \vbox{}
85 \vskip 0pt plus 1fill
86 F\"ur alle, die die Sch\"onheit von Wissenschaft anderen zeigen wollen.
87 \vskip 0pt plus 3fill
88
89 \parindent 0pt
90 Copyright 2003--2007 by Till Tantau
91
92 Copyright 2010,2011 by Joseph Wright and Vedran Mileti\'c
93
94 Copyright 2016,2017 by Joseph Wright
95
96 Copyright 2017,2018 by Louis Stuart and Joseph Wright
97
98 Copyright 2019--present by Joseph Wright and samcarter
99
100 \medskip
101 Permission is granted to copy, distribute and/or modify \emph{the documentation} under the terms of the \textsc{gnu} Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled \textsc{gnu} Free Documentation License.
102
103 \medskip
104 Permission is granted to copy, distribute and/or modify \emph{the code of the package} under the terms of the \textsc{gnu} General Public License, Version 2 or any later version published by the Free Software Foundation. A copy of the license is included in the section entitled \textsc{gnu} General Public License.
105
106 \medskip
107 Permission is also granted to distribute and/or modify \emph{both the documentation and the code} under the conditions of the LaTeX Project Public License, either version 1.3c of this license or (at your option) any later version. A copy of the license is included in the section entitled \LaTeX\ Project Public License.
108
109 \vbox{}
110 \clearpage
111 }
112
113 \index{Themes|see{Presentation themes}}
114 \index{Templates|see{Beamer templates}}
115 \index{Colors|see{Beamer colors}}
116 \index{Fonts|see{Beamer fonts}}
117 \index{Beamer elements|see{Beamer templates, colors, and fonts}}
118 \index{Elements|see{Beamer templates, colors, and fonts}}
119 \index{Template inserts|see{Inserts}}
120
121 \title{\Huge The \beamer\ \textit{class}\\
122 \Large\url{https://github.com/josephwright/beamer}\\
123 \Large User Guide for version \beamerugversion.}
124 \author{\href{mailto:[email protected]}{Till Tantau}, \href{mailto:[email protected]}{Joseph Wright}, \href{mailto:[email protected]}{Vedran Mileti\'c}}
125
126 \maketitle
127
128 \tableofcontents
129
130
131 \include{beamerug-introduction}
132
133
134
135 \part{Getting Started}
136
137 This part helps you getting started. It starts with an explanation of how to install the class. Hopefully, this will be very simple, with a bit of luck the whole class is already correctly installed! You will also find an explanation of special things you should consider when using certain other packages.
138
139 Next, a short tutorial is given that explains most of the features that you'll need in a typical presentation. Following the tutorial you will find a ``possible workflow'' for creating a presentation. Following this workflow may help you avoid problems later on.
140
141 This part includes a guidelines sections. Following these guidelines can help you create good presentations (no guarantees, though). This guideline section is kept as general as possible; most of what is said in that section applies to presentations in general, independent of whether they have been created using \beamer\ or not.
142
143 At the end of this part you will find a summary of the solutions templates that come with \beamer. You can use solutions templates to kick-start the creation of your presentation.
144
145 \include{beamerug-installation}
146 \include{beamerug-tutorial}
147 \include{beamerug-workflow}
148 \include{beamerug-guidelines}
149 \include{beamerug-solutions}
150 \include{beamerug-license}
151
152
153
154 \part{Building a Presentation}
155
156 This part contains an explanation of all the commands that are used to create presentations. It starts with a section treating the commands and environments used to create \emph{frames}, the basic building blocks of presentations. Next, the creation of overlays is explained.
157
158 The following three sections concern commands and methods of \emph{structuring} a presentation. In order, the \emph{static global} structure, the \emph{interactive global} structure, and the \emph{local} structure are treated.
159
160 Two further sections treat graphics and animations. Much of the material in these sections applies to other packages as well, not just to \beamer.
161
162 \include{beamerug-frames}
163 \include{beamerug-overlays}
164 \include{beamerug-globalstructure}
165 \include{beamerug-interaction}
166 \include{beamerug-localstructure}
167 \include{beamerug-graphics}
168 \include{beamerug-animations}
169
170
171
172 \part{Changing the Way Things Look}
173
174 \beamer\ offers ways to change the appearance of a presentation at all levels of detail. On the top level, \emph{themes} can be used to globally change the appearance conveniently. On the bottom level, \emph{templates} allow you to specify the appearance of every minute detail individually.
175
176 Two important aspects of the ``appearance'' of a presentation are treated in extra sections: colors and fonts. Here, too, color and font themes can be used to globally change the colors or fonts used in a presentation, while you can still change the color or font of, say, block titles independently of everything else.
177
178 \include{beamerug-themes}
179 \include{beamerug-elements}
180 \include{beamerug-color}
181 \include{beamerug-fonts}
182
183
184
185 \part{Creating Supporting Material}
186
187 The objective of the \beamer\ class is to simplify the creation of presentations using a projector. However, a presentation rarely exists in isolation. Material that accompanies a presentation includes:
188 \begin{itemize}
189 \item
190 Presentations should normally be accompanied by \emph{handouts}, written text that the audience can read during and/or after your presentation is given.
191 \item
192 You might wish to create notes for yourself that, ideally, are shown to you on your computer screen while the audience sees the presentation.
193 \item
194 You might wish to create a printout of your talk, either for yourself or for checking for errors.
195 \item
196 You might wish to create a transparencies version of your talk as a fall-back.
197 \end{itemize}
198
199 This part discusses how \beamer\ helps you with the creation of the above.
200
201 \include{beamerug-notes}
202 \include{beamerug-transparencies}
203 \include{beamerug-nonpresentation}
204 \include{beamerug-twoscreens}
205
206
207
208 \part{Howtos}
209
210 This part contains explanations-of-how-to-do-things (commonly known as \emph{howtos}). These explanations are not really part of the ``\beamer\ core.'' Rather, they explain how to use \beamer\ to achieve a certain effect or how get something special done.
211
212 The first howto is about tricky uncovering situations.
213
214 The second howto explains how you can import (parts or) presentations created using some other \LaTeX-presentation class, like \prosper.
215
216 \include{beamerug-tricks}
217 \include{beamerug-emulation}
218
219 \printindex
220
221 \end{document}