Beamer (presentation)

Code snippets for beamer presentations:

For themes, check out the beamer theme gallery here.

 

Table of contents
\documentclass{beamer}
\usetheme{Berkeley}
\begin{document}

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

\section{First}
\begin{frame}{First section slide}
	...
\end{frame}

\section{Second}
%Contents with current section highlighted
\frame{\tableofcontents[currentsection]}
\begin{frame}{Second section slide}
	...
\end{frame}

\end{document}

 

Enumerate (numbered list)
\begin{frame}{Enumerate}
	\begin{enumerate}
		\item
		\item
		\item
	\end{enumerate}
\end{frame}

 

Itemize (bulleted list)
\begin{frame}{Itemize}
	\begin{itemize}
		\item
		\item
		\item
	\end{itemize}
\end{frame}

 

Side-by-side figure/table/list with columns
\begin{frame}{Side-by-side figure/table/text with columns}
	\begin{columns}
		\begin{column}[C]{.45\textwidth}
% the T argument instead of C will align the top of the two columns, instead of the centers
			\rule{\textwidth}{0.75\textwidth}
		\end{column}
		\begin{column}[C]{.45\textwidth}
			\begin{enumerate} % numbered list
				\item
				\item
				\item
			\end{enumerate}
		\end{column}
	\end{columns}
\end{frame}

 

Side-by-side figure/table/list with minipage
\begin{frame}{Side-by-side figure/table/text with minipage}
	\begin{minipage}{0.45\textwidth} % figure
		\rule{\textwidth}{0.75\textwidth}
	\end{minipage}
	\qquad
	\begin{minipage}{0.45\textwidth}
		\begin{enumerate} % numbered list
			\item
			\item
			\item
		\end{enumerate}
	\end{minipage}
\end{frame}