UNC Gillings Beamer Theme
Author
Ethan Alt
Last Updated
5年前
License
Creative Commons CC BY 4.0
Abstract
A Beamer template for UNC Gillings (can be adapted easily to other departments)
This was heavily borrowed from Martin Helsø's UiB Beamer Theme.
A Beamer template for UNC Gillings (can be adapted easily to other departments)
This was heavily borrowed from Martin Helsø's UiB Beamer Theme.
\documentclass{beamer}
\usepackage[utf8]{inputenx}
\usepackage{csquotes} % Quotation marks
\usepackage{microtype} % Improved typography
\usepackage{amssymb} % Mathematical symbols
\usepackage{mathtools} % Mathematical symbols
\usepackage[absolute, overlay]{textpos} % Arbitrary placement
\setlength{\TPHorizModule}{\paperwidth} % Textpos units
\setlength{\TPVertModule}{\paperheight} % Textpos units
\usepackage{tikz}
\usetikzlibrary{overlay-beamer-styles} % Overlay effects for TikZ
\usetheme{UNC}
\author{Ethan Alt}
\title{Beamer example}
\subtitle{Usage of the theme \texttt{UNC}}
\begin{document}
\section{Overview}
% Use
%
% \begin{frame}[allowframebreaks]
%
% if the TOC does not fit one frame.
\begin{frame}
\frametitle{Table of contents}
\tableofcontents[currentsection]
\end{frame}
\section{Mathematics}
\subsection{Theorem}
\begin{frame}
\frametitle{Mathematics}
\begin{theorem}[Fermat's little theorem]
For a prime~\(p\) and \(a \in \mathbb{Z}\) it holds that \(a^p \equiv a \pmod{p}\).
\end{theorem}
\begin{proof}
The invertible elements in a field form a group under multiplication.
In particular, the elements
\begin{equation*}
1, 2, \ldots, p - 1 \in \mathbb{Z}_p
\end{equation*}
form a group under multiplication modulo~\(p\).
This is a group of order \(p - 1\).
For \(a \in \mathbb{Z}_p\) and \(a \neq 0\) we thus get \(a^{p-1} = 1 \in \mathbb{Z}_p\).
The claim follows.
\end{proof}
\end{frame}
\subsection{Example}
\begin{frame}
\frametitle{Mathematics}
\begin{example}
The function \(\phi \colon \mathbb{R} \to \mathbb{R}\) given by \(\phi(x) = 2x\) is continuous at the point \(x = \alpha\),
because if \(\epsilon > 0\) and \(x \in \mathbb{R}\) is such that \(\lvert x - \alpha \rvert < \delta = \frac{\epsilon}{2}\),
then
\begin{equation*}
\lvert \phi(x) - \phi(\alpha)\rvert = 2\lvert x - \alpha \rvert < 2\delta = \epsilon.
\end{equation*}
\end{example}
\end{frame}
\section{Highlighting}
\begin{frame}
\frametitle{Highlighting}
Some times it is useful to \alert{highlight} certain words in the text.
\begin{alertblock}{Important message}
If a lot of text should be \alert{highlighted}, it is a good idea to put it in a box.
\end{alertblock}
It is easy to match the \structure{colour theme}.
\end{frame}
\section{Lists}
\begin{frame}
\frametitle{Lists}
\begin{itemize}
\item
Bullet lists are marked with a red box.
\end{itemize}
\begin{enumerate}
\item
Numbered lists are marked with a white number inside a red box.
\end{enumerate}
\begin{description}
\item[Description] highlights important words with red text.
\end{description}
\begin{example}
\begin{itemize}
\item
Lists change colour after the environment.
\end{itemize}
\end{example}
\end{frame}
\section{Effects}
\begin{frame}{Effects}
\begin{columns}[onlytextwidth]
\begin{column}{0.49\textwidth}
\begin{enumerate}[<+-|alert@+>]
\item
Effects that control
\item
when text is displayed
\item
are specified with <> and a list of slides.
\end{enumerate}
\begin{theorem}<2>
This theorem is only visible on slide number 2.
\end{theorem}
\end{column}
\begin{column}{0.49\textwidth}
Use \textbf<2->{textblock} for arbitrary placement of objects.
\pause
\medskip
It creates a box
with the specified width (here in a percentage of the slide's width)
and upper left corner at the specified coordinate (x, y)
(here x is a percentage of width and y a percentage of height).
\end{column}
\end{columns}
\only<1, 3>
{
\begin{textblock}{0.3}(0.45, 0.55)
\includegraphics[width = \textwidth]{images/unc_seal.png}
\end{textblock}
}
\end{frame}
\section{References}
\begin{frame}[allowframebreaks]
\frametitle{References}
\begin{thebibliography}{}
% Article is the default.
\setbeamertemplate{bibliography item}[book]
\bibitem{Hartshorne1977}
R.~Hartshorne.
\newblock \emph{Algebraic Geometry}.
\newblock Springer-Verlag, 1977.
\setbeamertemplate{bibliography item}[article]
\bibitem{Artin1966}
M.~Artin.
\newblock On isolated rational singularities of surfaces.
\newblock \emph{Amer. J. Math.}, 80(1):129--136, 1966.
\setbeamertemplate{bibliography item}[online]
\bibitem{Vakil2006}
R.~Vakil.
\newblock \emph{The moduli space of curves and Gromov--Witten theory}, 2006.
\newblock \url{http://arxiv.org/abs/math/0602347}
\setbeamertemplate{bibliography item}[triangle]
\bibitem{AM1969}
M.~Atiyah og I.~Macdonald.
\newblock \emph{Introduction to commutative algebra}.
\newblock Addison-Wesley Publishing Co., Reading, Mass.-London-Don
Mills, Ont., 1969
\setbeamertemplate{bibliography item}[text]
\bibitem{Fraleigh1967}
J.~Fraleigh.
\newblock \emph{A first course in abstract algebra}.
\newblock Addison-Wesley Publishing Co., Reading, Mass.-London-Don Mills, Ont., 1967
\end{thebibliography}
\end{frame}
\end{document}