% Use this file as a template for your beamer slides.

\documentclass{beamer}

\usepackage{beamerthemesplit}
\setbeamertemplate{items}[ball]
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage{url}

\title{Learning Beamer by Example}
\author{Beamer Novice}
\date{June 15, 2009}

\begin{document}

\maketitle

%first slide begins

\begin{frame}

\frametitle{First Slide...}

%contents of the first slides...

An itemized list:

\begin{itemize}

\item In beamer, a \emph{frame} is what you would normally call a ``slide''.

\item itemized list 2

\item itemized item 3

\end{itemize}

A displayed formula:

\[
\sum_{k = 1}^{n} \binom{n}{k} x^{n - k} y^{k} = (x + y)^{n}
\]

\begin{theorem}

If $n$ is an integer, then $n (n + 1)$ is even.

\end{theorem}

Remark: In addition to the \emph{theorem}  environment, beamer has the the following  predefined environments:
\emph{corollary}, \emph{definition}, \emph{example} and \emph{proof}.

\end{frame} %end of first slide


\begin{frame}[fragile] %second frame

\frametitle{Frames containing verbatim text...}

\begin{itemize}
\item \emph{Frames} containing verbatim text require special attention. Such frame must be marked as \emph{fragile}.
\item This is accomplished as follows

 \begin{verbatim}
 \begin{frame}[fragile]
 %...frame contents..
 \end{frame}
 \end{verbatim}

\item The \verb!\begin{frame}...\end{frame}! block may be repeated any number of times to produce a sequence of slides.
\item The \verb!\frametitle{...}! command puts a title on the slide. Although its use is optional, it is only in very rare cases where omitting a slide title would make sense.
\end{itemize}

\end{frame}

\begin{frame}[fragile]

\frametitle{Including Graphics in Frames...}

\begin{itemize}
\item Beamer recognizes images in any of the PDF, PNG and JPG formats. (Note that PostScript (eps format)  is not among these.)
\item It is important to know that beamer formats its output to a size of 5.04 in by 3.78 in.
\item Example: The code
\begin{verbatim}
\begin{center}
  \includegraphics[width=4in,height=2in]{Sunset.jpg}
\end{center}
\end{verbatim}
results...
\end{itemize}
\end{frame}

\begin{frame}

\frametitle{Including Graphics in Frames...}

\begin{center}
  \includegraphics[width=4in, height = 2in]{c:/images/Sunset.jpg}
\end{center}

\end{frame}


\end{document}