Beamer slides (CambridgeUS)
Built-in CambridgeUS theme in dark red, laid out as a course lecture with learning goals and an exercise.
Create an account to use this
- Category
- Presentation
- Document class
beamer(beamer.cls) — ships with TeX Live- Workflow
- Presentation — no revision rounds
- Author
- Till Tantau et al., beamer
- Source
- CTAN
- Licence
- beamer.cls: The LaTeX Project Public License 1.3c; GNU General Public License, version 2 or newer. Sample text: Manulyx, CC0 1.0 (free to use, no conditions).
What you get
main.tex— the file that is compiled · 2 KBreferences.bib· 342 B
These become your files. Editing them afterwards changes your project and nothing else — a project owns its files from the moment it is made.
Link to this template. Send it to a student or co-author: it starts a new paper in this template, through sign-up if they need an account.
https://manulyx.com/start/ctan-presentation-beamer-cambridgeus
Source
main.tex — the file that is compiled · 2 KB
\documentclass{beamer}
\usetheme{CambridgeUS}
\setbeamertemplate{navigation symbols}{}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{booktabs}
\usepackage{tikz}
\title[Lecture 1]{Your paper}
\subtitle{Lecture 1}
\author[A.~Name]{Author Name}
\institute[Univ.]{Department of Statistics\\University Name}
\date{\today}
\begin{document}
\frame{\titlepage}
\begin{frame}{Learning goals}
By the end of this lecture you should be able to:
\begin{enumerate}
\item state the definition;
\item compute it for a simple case;
\item explain what it measures (background: \cite{shannon1948}).
\end{enumerate}
\end{frame}
\section{Definition}
\begin{frame}{Definition}
\begin{definition}
The variance of a random variable $X$ with mean $\mu$ is
\begin{equation}
\operatorname{Var}(X) = \mathbb{E}\left[(X-\mu)^2\right].
\end{equation}
\end{definition}
\end{frame}
\section{Examples}
\begin{frame}{Worked example}
\begin{table}
\centering
\begin{tabular}{ccc}
\toprule
$x$ & $p(x)$ & $(x-\mu)^2 p(x)$ \\
\midrule
0 & 0.25 & 0.25 \\
1 & 0.50 & 0.00 \\
2 & 0.25 & 0.25 \\
\midrule
& & 0.50 \\
\bottomrule
\end{tabular}
\caption{Variance of a sum of two fair coins.}
\end{table}
\end{frame}
\begin{frame}{Picture}
\begin{figure}
\centering
\begin{tikzpicture}
\draw[->] (-0.5,0) -- (3,0) node[right] {$x$};
\foreach \px/\ph in {0/1,1/2,2/1}
\fill[red!60!black] (\px+0.25,0) rectangle (\px+0.75,\ph);
\end{tikzpicture}
\caption{The distribution in the example.}
\end{figure}
\end{frame}
\begin{frame}{Exercise}
\begin{exampleblock}{Try it}
Compute the variance of one roll of a fair die.
\end{exampleblock}
\pause
\begin{alertblock}{Answer}
$35/12 \approx 2.92$.
\end{alertblock}
\end{frame}
\begin{frame}{Reading}
\bibliographystyle{plain}
\bibliography{references}
\end{frame}
\end{document}
references.bib · 342 B
Loading…
The first page, as this template compiles today. Click it to enlarge, and again to shrink. Open the file ↗