Thursday, January 5, 2012

An Updated Set of Beamer Slides - Now with Tikz and Matrix Examples

I have updated my Beamer slide gallery with a couple of new specialized slides.  You can see the new slides -- one including a node-based graph and one including a matrix.  I will again paste the actual LaTeX code below so you can see how to make or adapt similar slides.


Beamer Slide Gallery


\documentclass{beamer}

\usepackage{beamerthemesplit}
\usepackage{listings}
\usepackage{tikz}
\usepackage{amsmath}
\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}

\begin{frame}
\frametitle{List on the Left, Network 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]
\begin{tikzpicture}
\draw[step=.5cm,very thin,black!20] (-2,-2) grid (2,2);
\draw (-2,0) node {A};
\node[shape=rectangle,draw=blue,fill=blue!50] (nodeA) at (1,0) {C};
\node[shape=circle,draw=black,fill=white] (nodeB) at (0,0) {B};
\draw[red,->] (nodeA) -- (nodeB);
\draw[solid,->] (-1,2) -- (-1,0) node[pos=.5, right] {$X$};
%\draw[dotted,->] (.35,0) -- (.75,0);
\end{tikzpicture}
\caption{Caption}
\end{figure}
\end{columns}
\end{frame}

\begin{frame}
\frametitle{List on the Left, Matrix on the Right}
\begin{columns}
\column{.5\textwidth}
List Title
\begin{itemize}
\item Item 1
\item Item 2
\end{itemize}
\column{.5\textwidth}
\[
\left[ {\begin{array}{ccc}
    1 & 0 & 0 \\
    0 & 1 & 0 \\
    0 & 0 & 1 \\
  \end{array}} \right]
\]
\end{columns}
\end{frame}

\end{document}

No comments:

Post a Comment