\documentclass[pdf,wj,slideColor,nocolorBG]{prosper}
%\documentclass[ps,whitecross,slideBW,nocolorBG]{prosper}
%% use pdf and colorBG for powerpoint-like presentation,
%% ps and colorBW to print slides
%% other styles: alienglow,autumn,azure,blends,contemporain,darkblue,
%%    default,frames,lignesbleues,nuancegris,troispoints,
%% contrib styles: alcatel,blends,capsules,corners,fyma,gyom,mancini,
%%    pascal,prettybox,rico,serpaggi,thomasd,umbcN(N=1..4),whitecross,winter,wj
%% my favorites:prettybox,wj
\DefaultTransition{Wipe}
%Other choices:Split,Blinds,Box,Wipe,Dissolve,Glitter,Replace(default)
%% Use PStricks packages for graphics:
\usepackage{pstricks,pst-plot,pst-node,pst-text,pst-3d}
\usepackage[all]{xy}
%\usepackage{pause} % Causes problems under OS X)
% the pstcol package also interferes with prosper's color schemes.
%\usepackage[colorlinks,bookmarks]{hyperref}
\begin{document}
\title{Sample Prosper file}
\subtitle{animated \LaTeX\ presentations}
\author{\href{http://www.math.wisc.edu/~ynagel}{{\red Yvonne Nagel}}}
\institution{%
  UW Math Dept\\
    Madison, WI}
\maketitle

\overlays{4}{%
\begin{slide}{PStrick example}
\vspace*{1cm}
\psset{arrows=->,labelsep=3pt,
  linecolor=green,mnode=circle,
  fillcolor=yellow,fillstyle=solid}
\begin{pspicture}(-2,-2)(2,2)
\psset{xunit=1in,yunit=1in}
\psset{radius=.2cm}
\rput(0,0){\circlenode{A}{A}}
\rput(0,1){\circlenode{B}{B}}
\fromSlide*{2}{\rput(1,1){\circlenode{C}{C}}}
\fromSlide*{3}{\rput(1,0){\circlenode{D}{D}}}
\ncline[arrows=->]{A}{B}\naput{\emph{firstly}}
\fromSlide*{2}{\ncline[arrows=->]{B}{C}\naput{\emph{secondly}}}
\fromSlide*{3}{\ncline[arrows=->]{C}{D}\naput{\emph{thirdly}}}
\fromSlide*{4}{\ncline[arrows=->]{D}{A}\naput{\emph{fourthly}}}
\end{pspicture}
\end{slide}
}

\overlays{2}{%
\begin{slide}{XYpic example}
\fromSlide{1}{
   \[\begin{xy}<1cm,0cm>:
        (0,0)*+@{*}="a"*+!DL{\mathrm{A}},"a"
  \ar@(dr,dl)
\end{xy}\]
 }
\fromSlide{2}{
\[\begin{xy}<1cm,0cm>:
  \ar@{~>} (2,0)*+@{*}="b"*+!DR{\mathrm{B}},"b"
  \ar@(r,d)  "b";"b"
  \ar@{<->} "b";(2,2)*+@{*}="c"*+!UR{\mathrm{C}},"c"
\end{xy}\]
}
\end{slide}
}
\end{document}
