\documentclass[pdf]{prosper}
\usepackage{amsmath,amsthm}

\title{Making slides}
\subtitle{...and doing it with Prosper}
\author{RSI 2006 staff}

\begin{document}
\maketitle

%%%%%%%%%%%%%%%%%%%Slide 1%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{slide}{What's Prosper?}
\begin{itemize}
\item Prosper is a \LaTeX\ class for making slides and presentations.
\item Using Prosper we can go from a tex file to pdf slides complete with colors, transitions, etc.
\item As you probably guessed, this presentation was made using the Prosper class.
\end{itemize}
\end{slide}


%%%%%%%%%%%%%%%%%%Slide 2%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{slide}{First things first...the basics}\ptsize{8}
It's important to know the basic structure of a Prosper file before you can do any of the fancy stuff. Below is the
basic structure of the presentation you'll be making:
\begin{verbatim}
\documentclass[pdf]{prosper}
%%the preamble%%
\title{The title}
\subtitle{The subtitle}
\author{your name}
\institution{RSI}

\begin{document}
%%make title slide%%
\maketitle
%%make a normal slide%%
\begin{slide}{Title of first slide}
The body of the slide.
\end{slide}
\end{document}
\end{verbatim}
\end{slide}

%%%%%%%%%%%%%%%%%Slide3%%%%%%%%%%%%%%%%%%%%%
\begin{slide}{The stuff in the middle...}
\begin{itemize}
\item So what can you do between \verb=\begin{slide}= and \verb=\end{slide}=?
\item The answer is pretty much anything you can do in a normal \LaTeX\
document. You can add figures, tables, equations, and normal text to
Prosper slides.
\end{itemize}
\end{slide}


%%%%%%%%%%%%%%%%%%Slide 4%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{slide}{An example- figures and graphics}
\begin{figure}[ht]
\begin{center}
\includegraphics[scale=0.3]{LarsonGifted.eps}
\end{center}
\caption{Rickoids are smart.}
\end{figure}
\end{slide}

%%%%%%%%%%%%%%%%%%Slide5%%%%%%%%%%%%%%%%%%%%%%%%
\begin{slide}{...behind the scenes}\ptsize{11}
\begin{verbatim}
\begin{figure}[ht]
\begin{center}
\includegraphics[scale=0.3]{LarsonGifted.eps}
\end{center}
\caption{Rickoids kids are smart.}
\end{figure}
\end{verbatim}
\end{slide}


%%%%%%%%%%%%%%%Slide6%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{slide}{Another example- tables}
\begin{table}[htbp]
\begin{tabular}{|l|c|c|} \hline
Ice Cream Store & Location & How to Get There \\ \hline
Toscanini's & Central Square & Just walk! \\
Herrell's & Harvard Square & Red Line \\
J.P. Licks & Davis Square & Red Line \\
Ben \& Jerry's & Newbury Street & Green Line \\ \hline
\end{tabular}
\end{table}
\end{slide}

%%%%%%%%%%%%%%%%%%%%Slide 7%%%%%%%%%%%%%%%%%%%%%%
\begin{slide}{...behind the scenes}\ptsize{10}
\begin{verbatim}
\begin{table}[htbp]
\begin{tabular}{|l|c|c|}\hline
Ice Cream Stores & Location & How to get there\\ \hline
Toscanini's & Central Square & Just walk!\\
Herrell's & Harvard Square & Red Line\\
J.P. Licks & Davis Square & Red Line\\
Ben & Jerry's & Newbury St. & Green Line\\ \hline
\end{tabular}
\end{table}
\end{verbatim}
\end{slide}

%%%%%%%%%%%%%%%%%%%Slide 8%%%%%%%%%%%%%%%%%%%%%%%%
\begin{slide}{And another example- Math stuff}
\newtheorem{them}{Easy Theorem}
\begin{them}
The equation
$$x^n+y^n=z^n,$$
has no integer solutions for $n>2$ where $x,\,y,\,z\:\neq0$.
\begin{proof}
The proof is trivial and left as an exercise for the reader.
\end{proof}
\end{them}
\end{slide}

%%%%%%%%%%%%%%%%%%%Slide 9%%%%%%%%%%%%%%%%%%%%
\begin{slide}{...behind the scenes}\ptsize{8}
\begin{verbatim}
\begin{slide}{And another example- Math stuff}
\newtheorem{them}{Easy Theorem}
\begin{them}
The equation
$$x^n+y^n=z^n,$$
has no integer solutions for $n>2$ where $x,\,y,\,z\:\neq0$.
\begin{proof}
The proof is trivial and left as an exercise for the reader.
\end{proof}
\end{them}
\end{slide}
\end{verbatim}
\end{slide}

%%%%%%%%%%%%%%%%%Slide10%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{slide}{Too much \LaTeX\ for your slides to handle?}\ptsize{12}
\begin{itemize}
\item You may have so much text that it can't fit on a slide. This is often true when writing mathematical formulas in Prosper. Never fear, there is a solution.
\item Prosper lets you select font sizes for individual slides. The default is $14$, but using the command \verb=\ptsize{n}= right after \verb=\begin{slide}=, the font size can be changed to $8, 9, 10, 11, 12,$ or, $17$.
\item If you want to change the font for all the slides then just add the command  \verb=\ptsize{n}= in the preamble.
\end{itemize}
\end{slide}


%%%%%%%%%%%%%%%%Slide11%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\overlays{8}{
\begin{slide}{Overlaying!!!}
\fromSlide{2}{This is overlaying with text.\\}
\medskip
\fromSlide{3}{But remember,}
\medskip
\fromSlide{4}{too}
\medskip
\fromSlide{5}{much}
\medskip
\fromSlide{6}{overlaying}
\medskip
\fromSlide{7}{is}
\medskip
\fromSlide{8}{annoying.}
\end{slide}
}

%%%%%%%%%%%%%%%%%%%%Slide 12%%%%%%%%%%%%%%%%%%
\begin{slide}{...behind the scenes}\ptsize{8}
\begin{verbatim}
\overlays{11}{
\begin{slide}{Overlaying!!!}
\fromSlide{2}{This is}
\medskip
\fromSlide{3}{overlaying with text.\\}
\medskip
\fromSlide{4}{But}
\medskip
\fromSlide{5}{remember,}
\medskip
\fromSlide{6}{too}
\medskip
\fromSlide{7}{much}
\medskip
\end{verbatim}

You can overlay equations, theorems, and figures too by just saying:
\begin{verbatim}
\fromSlide{n}{put your equation, theorem, or figure here}
\end{verbatim}
\end{slide}

%%%%%%%%%%%%%%%%%%%%%Slide13%%%%%%%%%%%%%%%%%%%
\begin{slide}{One last note on overlaying}
Overlaying an itemized list requires a special format of the form:

\begin{verbatim}
\overlays{5}{
\begin{slide}{Slide title}
\begin{itemstep}
\item Item 1
\item Item 2
\item You get the idea
\end{itemstep}
\end{slide}
}
\end{verbatim} 
\end{slide}

%%%%%%%%%%%%%%%%%%Slide14%%%%%%%%%%%%%%%%%%%%
\begin{slide}[Dissolve]{And now for transitions}
\begin{itemize}
\item The transition you just saw was called \texttt{Dissolve}. 
\item By writing \begin{verbatim}\begin{slide}[Dissolve]{Slide title}\end{verbatim} you can get this transition for a slide. \item you can also replace the word \texttt{Dissolve} in the above command with other transitions like \texttt{Glitter, Box, Wipe,Replace, Split, or Blinds}.
\item Too many funky transitions just make your presentation look tacky...so remember always transition in moderation.
\end{itemize}
\end{slide}

%%%%%%%%%%%%%%%%%%%Slide15%%%%%%%%%%%%%%%%%%%%
\begin{slide}{Making it all look good}\ptsize{10}
There's 4 steps to seeing cool looking pdf slides from your tex file.
\begin{enumerate}
\item \texttt{latex file.tex} or go \texttt{C-c C-f} in emacs.
\item \texttt{dvips -t a4 -o file.ps file.dvi}.\\ Yes, it's long but needed. This command creates \texttt{a4} size slides in \texttt{ps} format.
\item \texttt{ps2pdf file.ps}. This creates a \texttt{pdf} file from your \texttt{ps} file. If you want sharper images in your presentation then do\\ \texttt{ps2pdf -dPDFSETTINGS=/prepress file.ps} instead.
\item \texttt{acroread file.pdf \&}. Then hit \texttt{C-L} to view the slides in full screen mode.
\end{enumerate}
The shortcut command to get \texttt{pdf} files from \texttt{tex} files, \texttt{pdflatex}, does \emph{not} work with Prosper.
\end{slide}

%%%%%%%%%%%%%%%%%%%Slide16%%%%%%%%%%%%%%%%%%%%%%
\begin{slide}{Good sites to visit for Prosper help}
\begin{itemize}
\item http://www.math.umbc.edu/~rouben/prosper/
\item http://freshmeat.net/articles/view/667/
\item The official Prosper site: http://prosper.sourceforge.net/
\end{itemize}
\end{slide}

\end{document}
