summaryrefslogtreecommitdiff
path: root/support/jed/jlm/latex-templ/beamer.ltx
blob: 322b98ff005df2105b7f98d7d161600df508791e (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
\documentclass%:default:classopt:[%{beamer}

%:default:pkgs:%

%\usetheme{Malmoe}
\usetheme{AnnArbor}
%\usecolortheme{seahorse}
%\usecolortheme{rose}
%\usecolortheme{orchid}

% You must set \author before \begin{document}, because beamer uses it to set
% the author field in PDF, which fails if \author is set after \begin{document}.
% But pay attention, babel is not active here so "o (and the like) do not work.
\author{your name}

\begin{document}

\title{The title of your presentation}
\subtitle{Maybe, a subtitle}
\date{1970-01-01}

\begin{frame}
  \titlepage
\end{frame}

\begin{frame}
  \tableofcontents
\end{frame}

\section{A proof}

\begin{frame}
  \frametitle{There Is No Largest Prime Number}
  \framesubtitle{The proof uses \textit{reductio ad absurdum}.}
  \begin{theorem}
    There is no largest prime number.
  \end{theorem}
  \begin{proof}
    \begin{enumerate}
    \item<1-| alert@1> Suppose $p$ were the largest prime number.
    \item<2-> Let $q$ be the product of the first $p$ numbers.
    \item<3-> Then $q+1$ is not divisible by any of them.
    \item<1-> Thus $q+1$ is also prime and greater than $p$.\qedhere
    \end{enumerate}
  \end{proof}
\end{frame}

\end{document}