Thursday, December 15, 2011

A Gallery of Beamer Slide Templates

As many  of you know, I have started using LaTeX to create both documents and slides.  To this end, I have created a template that includes the basic types of slides that I use in presentation.  For those who want to see what Beamer can do and how technical it is (or is not -- depending on your perspective), I have linked the PDF of the gallery and the .tex file used to create the PDF.  Comparing the two files should make it easy to see how to create Beamer presentations.


Beamer Slide Gallery

And now for the contents of the .tex file.


\documentclass{beamer}

\usepackage{beamerthemesplit}
\usepackage{listings}
\usetheme{Berkeley}
\usecolortheme{whale}


\begin{document}
\title[Gallery]{Beamer Slide Gallery}
\author[SE Robinson]{Scott E. Robinson}


\institute{\logo{\includegraphics[height=.6in,width=.60in]{bush_logo}}
\begin{center}
    \includegraphics[height=.35in,width=.90in]{istpp_logo}
{\hskip .45in}
\includegraphics[height=.35in,width=.90in]{TAMU_logo}
{\hskip .45in}
\includegraphics[height=.35in,width=.90in]{bush_logo}
\end{center}}
\date{}

\frame{\titlepage}

\section[Outline]{}
\frame{\tableofcontents}

\section{Basic Slides}

\begin{frame}
\frametitle{Basic slide with a simple list}
\begin{itemize}
\item Item 1
\item Item 2
\end{itemize}
\end{frame}

\begin{frame}
\frametitle{A slide with lists within lists}
\begin{itemize}
\item Item 1
        \begin{itemize}
      \item Item 1
      \item Item 2
        \end{itemize}
\item Item 2
        \begin{itemize}
      \item Item 1
      \item Item 2
\end{itemize}
\end{itemize}
\end{frame}

\begin{frame}
\frametitle{A slide with lists within lists and centered text at the top}
\begin{center} Centered Text \end{center}
\begin{itemize}
\item Item 1
        \begin{itemize}
      \item Item 1
      \item Item 2
        \end{itemize}
\item Item 2
        \begin{itemize}
      \item Item 1
      \item Item 2
\end{itemize}
\end{itemize}
\end{frame}

\begin{frame}
\frametitle{A slide with lists within lists and centered text at the bottom}
\begin{itemize}
\item Item 1
        \begin{itemize}
      \item Item 1
      \item Item 2
        \end{itemize}
\item Item 2
        \begin{itemize}
      \item Item 1
      \item Item 2
\end{itemize}
\end{itemize}
\begin{center} Centered Text \end{center}
\end{frame}

\begin{frame}
\frametitle{Two lists with centered text at the bottom}
\begin{columns}
\column{.5\textwidth}
List Title
\begin{itemize}
\item Item 1
\item Item 2
\end{itemize}
\column{.5\textwidth}
List Title
\begin{itemize}
\item Item 1
\item Item 2
\end{itemize}
\end{columns}
\bigskip
\begin{center}
Centered text
\end{center}
\end{frame}

\section{Picture Slides}

\begin{frame}
\frametitle{Simple Picture Slide}
\begin{figure}[c]
\framebox{\includegraphics[width=3.0in]{bush_logo}}
\caption{Caption}
\end{figure}
\end{frame}

\begin{frame}
\frametitle{List on the Left, Picture on the Right}
\begin{columns}
\column{.5\textwidth}
List Title
\begin{itemize}
\item Item 1
\item Item 2
\end{itemize}
\column{.5\textwidth}
\begin{figure}[c]
\framebox{\includegraphics[width=1.5in]{bush_logo}}
\caption{Caption}
\end{figure}
\end{columns}
\end{frame}

\begin{frame}
\frametitle{List on the Right, Picture on the Left}
\begin{columns}
\column{.5\textwidth}
\begin{figure}[c]
\framebox{\includegraphics[width=1.5in]{bush_logo}}
\caption{Caption}
\end{figure}
\column{.5\textwidth}
List Title
\begin{itemize}
\item Item 1
\item Item 2
\end{itemize}
\end{columns}
\end{frame}

\begin{frame}
\frametitle{Two Pictures}
\begin{columns}
\column{.5\textwidth}
\begin{figure}[c]
\framebox{\includegraphics[width=1.5in]{bush_logo}}
\caption{Caption}
\end{figure}
\column{.5\textwidth}
\begin{figure}[c]
\framebox{\includegraphics[width=1.5in]{bush_logo}}
\caption{Caption}
\end{figure}
\end{columns}
\end{frame}

\section{Specialized Slides}

\begin{frame}
\frametitle{Equation Slide}

\begin{equation}
y = mx + b
\end{equation}

\begin{itemize}
\item Item 1
\item Item 2
\end{itemize}
\end{frame}

\end{document}

It is just that simple.  At some point, I may walk through the preamble and a slide in detail.  For now, this should help put Beamer in perspective.

No comments:

Post a Comment