forked from snitramodranoel/lecture
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnotes.tex
More file actions
61 lines (46 loc) · 1.76 KB
/
notes.tex
File metadata and controls
61 lines (46 loc) · 1.76 KB
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
\title{Sample lecture}
\subtitle{Prime numbers and Euler's identity}
\date{\today}
\author{John Doe, Ph.D.}
\institute{%
University of Scholastics\\%
Department of \LaTeX\ Studies\\%
\par%
LS101\\%
Lecture Preparation with Beamer}
\graphicspath{{./graphics/}}
\titlegraphic{\includegraphics[width=2.5cm]{logo.png}}
\mode<article>{\lecturenumber{1}}
\begin{document}
\maketitle
\mode* % ignore text outside frame in presentation mode
This is your lecture abstract. It should contain a short description of the lecture contents, what its goals are, and preferably not exceed a few dozen words.\marginnote{Do not forget to use margin notes to add more context to your material.}
\section{The largest prime number}
\begin{frame}
\begin{theorem}
There is no largest prime number.
\end{theorem}%
\pause
\mode<article>{The proof uses reductio ad absurdum. Although this comment is inside a \texttt{beamer} frame, it only appears in the handout.}
\begin{block}{Proof}
\begin{enumerate}
\item<alert@2> Suppose $p$ were the largest prime number.
\item<alert@3> Let $\Pi$ be the product of the first $p$ primes.
\item<alert@4> Then $\Pi + 1$ is not divisible by any prime.
\item<alert@5> Therefore, $\Pi + 1$ is also a prime. \qedhere
\end{enumerate}
\end{block}
\end{frame}
You should restrain references to the bibliography outside frame environments, e.g.~\citet{newton1687} states that ``when arithmetical addition has been defined [it follows that] 1 + 1 = 2.''\cite{newton1687}
\section{The most beautiful equation}
\begin{frame}{Euler's identity}
\begin{equation}
e^{i\pi} + 1 = 0
\end{equation}
\end{frame}
\begin{frame}<beamer>[standout]
Thank you.
\end{frame}
\bibliographystyle{plainnat}
\bibliography{references}
\end{document}