%==============================================================================
% Prosper -- (PPRcp1.sty) Style file
% A LaTeX class for creating slides
%==============================================================================
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{PPRcp1}[2003/07/21]
\typeout{cp1 style for Prosper ---}

% Required packages
\IfFileExists{pst-grad}{\RequirePackage{pst-grad}}{\RequirePackage{gradient}}
\RequirePackage{amssymb}
\RequirePackage{times}

% Colors 
\newrgbcolor{goldenrod}{.80392 .60784 .11373}
\newrgbcolor{darkgoldenrod}{.5451 .39608 .03137}
\newrgbcolor{brown}{.15 .15 .15}
\newrgbcolor{darkolivegreen}{.1 .33 .05}
\ifinColor
\def\colA{darkolivegreen}
\def\colB{brown}
\global\let\colC=\goldenrod
\ifcolorBG
\global\let\colD=\white
\else
\global\let\colD=\black
\fi
\else
\def\colA{white}
\def\colB{lightgray}
\global\let\colC=\blue
\global\let\colD=\black
\fi

% The fonts
\FontTitle{%
\usefont{T1}{phv}{b}{n}\fontsize{16pt}{16pt}\selectfont\colD}{%
\usefont{T1}{phv}{b}{n}\fontsize{16pt}{16pt}\selectfont\colD}
\FontSubtitle{%
\usefont{T1}{phv}{b}{n}\fontsize{12pt}{16pt}\selectfont\colC}{%
\usefont{T1}{phv}{b}{n}\fontsize{12pt}{16pt}\selectfont\colC}
\FontText{%
\usefont{T1}{phv}{m}{n}\fontsize{14pt}{17pt}\selectfont\colD}{%
\usefont{T1}{phv}{m}{n}\fontsize{14pt}{17pt}\selectfont\colD}

\ColorFoot{\colD}

% Positionning of the title of a slide.
\def\slidetitle#1{\rput[lb](-.7,3.8){%
    \parbox{11.5cm}{\fontTitle{\baselineskip=0pt #1}}}}

% Positionning for a logo
\LogoPosition{-1,-1.1}

\newcommand{\BSquareFrame}[1]{%
  \ifcolorBG
  \psframe[fillstyle=gradient,gradbegin=\colB,gradend=\colA,gradmidpoint=1]%
          (-2,-1.4)(12.5,9)
  \psframe[fillstyle=gradient,gradbegin=darkolivegreen,gradend=darkgoldenrod,gradmidpoint=1,
          linestyle=none]%
          (-2,-1.4)(1,9)
  \fi
  \psline[linecolor=darkgoldenrod,linewidth=3pt](-.7,7.1)(13,7.1)        
  \psline[linecolor=darkgoldenrod,linewidth=1pt](-.7,7)(13,7)        
  \PutLogo % Mandatory
  {#1}}

\myitem{1}{\psframe[fillstyle=solid,fillcolor=goldenrod,%
  linestyle=none](-.15,.25)(0.1,.01)}
\myitem{2}{\psframe[fillstyle=solid,fillcolor=green,%
  linestyle=none](-.15,.25)(0.1,.01)}
\myitem{2}{\psframe[fillstyle=solid,fillcolor=green,%
  linestyle=none](-.15,.25)(0.1,.01)}

\NewSlideStyle[11.6cm]{t}{5.4,3}{BSquareFrame}
\PDFCroppingBox{10 35 594 830}

\titleSpacing{\vspace*{20pt}}

\endinput

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: t
%%% End: 
