%==============================================================================
% Prosper -- (PPRcontemporain) Style file
% A LaTeX class for creating slides
% Author: Frederic Goualard (Frederic.Goualard@cwi.nl)
%         Centrum voor Wiskunde en Informatica
%
% Copyright (c) 2000 Frederic Goualard
% All rights reserved.
% 
% Permission is hereby granted, without written agreement and without
% license or royalty fees, to use, copy, modify, and distribute this
% software and its documentation for any purpose, provided that the
% above copyright notice and the following two paragraphs appear in
% all copies of this software.
% 
% IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, 
% SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF 
% THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE AUTHOR HAS BEEN ADVISED 
% OF THE POSSIBILITY OF SUCH DAMAGE.
% 
% THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES,
% INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
% AND FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
% ON AN "AS IS" BASIS, AND THE AUTHOR HAS NO OBLIGATION TO
% PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
%
% CVSId : $Id: PPRdarkblue.sty,v 1.1.1.1 2000/11/28 11:15:12 exupery Exp $
%==============================================================================
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{PPRdarkblue}[2000/10/18]
\typeout{`Dark blue background' style for prosper ---}
\typeout{(c) 2000 Frederic Goualard, CWI, The Netherlands}
\typeout{CVSId: $Id: PPRdarkblue.sty,v 1.1.1.1 2000/11/28 11:15:12 exupery Exp $}
\typeout{ }

\IfFileExists{pst-grad}{\RequirePackage{pst-grad}}{\RequirePackage{gradient}}

\newrgbcolor{darkblue}{0.09766 0.09766 0.4375}
\newrgbcolor{myblue}{.2 .36 .77}

\ifinColor
\def\colorA{darkblue}
\def\colorB{myblue}
\ifcolorBG
  \def\colC{\white}
\else
  \def\colC{\black}
\fi
\else
\def\colorA{lightgray}
\def\colorB{white}
\def\colC{\black}
\fi

\FontTitle{%
  \usefont{T1}{ptm}{b}{n}\fontsize{20.74pt}{20pt}\selectfont%
  \lightgray}{%
  \usefont{T1}{ptm}{b}{n}\fontsize{20.74pt}{20pt}\selectfont%
  \white}
\FontText{\colC\usefont{T1}{phv}{m}{n}\fontsize{14.4pt}{14pt}%
  \selectfont}{%
  \colC\usefont{T1}{phv}{m}{n}\fontsize{14.4pt}{14pt}\selectfont}

\ifinColor
\ColorFoot{\white}
\else
\ColorFoot{\black}
\fi

\newcommand{\slidetitle}[1]{%
  \rput[lt](-.2,4){\fontTitle{#1}}}

\LogoPosition{-.4,-.7}

\newcommand{\darkblueFrame}[1]{%
  \psframe[fillstyle=gradient,gradbegin=\colorA,gradend=\colorB,%
           gradmidpoint=1,gradangle=90](-2,-1.4)(12.5,9)
\ifinColor
 \ifcolorBG
  \psframe[fillstyle=gradient,gradbegin=darkblue,gradend=myblue,%
           gradmidpoint=0,gradangle=90,linestyle=none](-.23,-.5)(12.5,6.7)
 \else
  \psframe[fillstyle=solid,fillcolor=white,linestyle=none](-.23,-.5)(12.5,6.7)
 \fi
\else
  \psframe[fillstyle=solid,fillcolor=white,linestyle=none](-.23,-.5)(12.5,6.7)
\fi 
  \psframe[fillstyle=gradient,gradbegin=red,gradend=black,gradmidpoint=1,%
           gradangle=90,linestyle=none](-2,8.1)(-.23,6.7)
  \PutLogo % Mandatory
  {#1}}

\ifinColor
\myitem{1}{\includegraphics[width=.4cm]{red-bullet-on-blue.ps}}
\myitem{2}{\includegraphics[width=.3cm]{green-bullet-on-blue.ps}}
\myitem{3}{\includegraphics[width=.3cm]{yellow-bullet-on-blue.ps}}
\else
\myitem{1}{\includegraphics[width=.4cm]{red-bullet-on-white.ps}}
\myitem{2}{\includegraphics[width=.3cm]{green-bullet-on-white.ps}}
\myitem{3}{\includegraphics[width=.3cm]{yellow-bullet-on-white.ps}}
\fi

\NewSlideStyle{t}{5.5,2.4}{darkblueFrame}

\RequirePackage{semhelv}

\PDFCroppingBox{5 10 590 810}


\endinput

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

