\documentclass[pdf, final, serpaggi, slideColor, colorBG]{prosper}
\usepackage{boxedminipage}
\usepackage{alltt}
\usepackage{epsfig}

\title{Presentations with Prosper and \LaTeX}
\author{Dan Pemstein}
\email{dbp@uiuc.edu}
\institution{University of Illinois}
\slideCaption{Presentations with Prosper and \LaTeX}

\begin{document}
	\maketitle

	\begin{slide}{What is Prosper?}
		\hypertarget{whatis}{}
		\begin{itemize}
			\item A \LaTeX~document class for creating slide-based
			presentations.

			\item Creates PDF or Post-Script (PS) output.

			\item Capable of producing output appropriate for
			projectors or \hyperlink{linking}{overheads}.
		\end{itemize}
	\end{slide}

	\begin{slide}{Why Use Prosper?}
		\begin{itemize}

			\item Easy to use if you know a bit of \LaTeX.

			\item Provides transitions, overlays, and styles.

			\item Great for math-heavy presentations.

			\item Lets you reuse markup from articles.

			\item Free!
		\end{itemize}
	\end{slide}

	\begin{slide}{Document Class}
		All Prosper source files start with a document class
		declaration of the form: \\
		\verb+\documentclass[ OPTIONS ]{prosper}+

		\vspace{0.5cm}
		\begin{minipage}[t]{5.6cm}
			\begin{itemize}
				\item
					draft, final
				\item
					ps, pdf
				\item
					colorBG, nocolorBG
				\item
					slideColor, slideBW
			\end{itemize}
		\end{minipage}
		\begin{boxedminipage}[t]{5.6cm}
			{\tiny
			\begin{verbatim}
\documentclass[pdf, final,
               serpaggi,
               slideColor, 
               colorBG]{prosper}
			\end{verbatim}
			}
		\end{boxedminipage}
	\end{slide}

	\begin{slide}{Preamble}
		The preamble defines the title slide and some persistent
		features.

		\vspace{0.5cm}
		\begin{minipage}[t]{5.6cm}
			{\small
			\begin{itemize}
				\item
					\verb+\title+
				\item
					\verb+\subtitle+
				\item
					\verb+\author+
				\item
					\verb+\email+
				\item
					\verb+\institution+
				\item
					\verb+\slideCaption+
				\item
					\verb+\Logo+
				\item
					\verb+\DefaultTransition+
			\end{itemize}
			}
		\end{minipage}
		\begin{boxedminipage}[t]{5.6cm}
			{\tiny
			\begin{verbatim}
\title{Presentations with
       Prosper and \LaTeX}
\author{Dan Pemstein}
\email{dbp@uiuc.edu}
\institution{University of
             Illinois}
\slideCaption{Presentations
              with Prosper
              and \LaTeX}

\begin{document}
  \maketitle
			\end{verbatim}
			}
		\end{boxedminipage}
	\end{slide}

	\begin{slide}{The slide Environment}
		Prosper presentations are broken up into slides.  Within a
		slide body you can use all of the standard \LaTeX~commands
		and environments.

		\vspace{0.5cm}
		\begin{minipage}{5.6cm}
			\epsfig{file=Screenshot.eps, width=5.6cm}
		\end{minipage}
		\begin{boxedminipage}{5.6cm}
			{\tiny
			\begin{verbatim}
\begin{slide}[transition]{title}
  ...
	
  \begin{itemize}
    \item 1
    \item 2
    \item 3
  \end{itemize}
\end{slide}

			\end{verbatim}
			}
		\end{boxedminipage}
	\end{slide}

	% Overlays don't seem to handle verbatim right.  Hence the
	% texttt work-around
	\overlays{4} {
	\begin{slide}{Overlays}
		Overlays allow you to incrementally display portions of a
		slide.  This is done with the following command:\\
		\texttt{$\setminus$overlays\{n\} \{
			$\setminus$begin\{slide\} \ldots
		$\setminus$end\{slide\}\}}

		\vspace{0.5cm}
		\onlySlide*{2} {
			Itemized lists are distributed across overlays using the
			\texttt{itemstep} environment:\\
			{\tiny
				\begin{alltt}
$\setminus$begin\{itemstep\}\\
  \hspace{10pt}$\setminus$item 1\\
	\hspace{10pt}$\setminus$item 2\\
	\hspace{10pt}$\setminus$item 3\\
$\setminus$end\{itemstep\}
				\end{alltt}
			}
		}
		\fromSlide{3} {
		You can sequence non-list material or achieve more
		complicated sequences with the below commands.
		\begin{itemize}
			\item \texttt{$\setminus$fromSlide\{p\}\{ \ldots~\}}
			\item \texttt{$\setminus$onlySlide\{p\}\{ \ldots~\}}
			\item \texttt{$\setminus$untilSlide\{p\}\{ \ldots~\}}
		\end{itemize}
		}
		\onlySlide{4} {
			Adding an asterisk to any of the above reclaims space
			when the material goes out of scope.
		}
	\end{slide}
	}

	\begin{slide}[Glitter]{Transitions}
		Prosper supports a wide array of transitions.  Use at your
		own risk.

		\begin{itemize}
			\item Split
			\item Blinds
			\item Box
			\item Wipe
			\item Dissolve
			\item Glitter
			\item Replace (Default)
		\end{itemize}
	\end{slide}

	\begin{slide}{Styles}
		Prosper ships with a number of style options.  It is also
		possible (although somewhat difficult) to create your own.

		\vspace{0.5cm}
		\begin{center}
			\epsfig{file=styles.eps, width=7cm}
		\end{center}
	\end{slide}

	\begin{slide}{Linking}
		You can use hyper-links to jump around in your
		presentation.  For example, we can jump to the
		\hyperlink{whatis}{beginning} of the presentation in one
		click. \hypertarget{linking}{}

		{\tiny
		\begin{verbatim}

\documentclass[pdf, final, serpaggi, slideColor, colorBG]{prosper}
  \hypersetup[colorlinks=true,linkcolor=red]
  \begin{document}
    \begin{slide}{A slide}
      \hyperlink{target}{Click here}
    \end{slide}
    \begin{slide}{Another slide}
      \hypertarget{target}{}
      Here we are.
    \end{slide}
\end{document}
		\end{verbatim}
		}
	\end{slide}

	\begin{slide}{Further Reading}
		\begin{itemize}
			\item Prosper Online\\
			\texttt{http://prosper.sourceforge.net}
			\item A short tutorial by Rajarshi Guha\\
			\texttt{http://freshmeat.net/articles/view/667/}
			\item A more comprehensive tutorial by Rouben
			Rostamian\\
			\texttt{http://www.math.umbc.edu/$\sim$rouben/prosper/}
			\item The source code for this presentation \\
			\texttt{http://kwangteo.brudderhood.org/latex/}
		\end{itemize}
	\end{slide}

\end{document}
