%==============================================================================
% Prosper -- (PPRcontemporain) Style file
% A LaTeX class for creating slides
% Author: Frederic Goualard (Frederic.Goualard@irin.univ-nantes.fr)
%         Institut de Recherche en Informatique de Nantes
%         University of Nantes, France
%
% 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: PPRcontemporain.sty,v 1.1.1.1 2000/11/28 11:15:11 exupery Exp $
%==============================================================================
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{PPRcontemporain}[2000/04/18]
\typeout{`Contemporain' style for prosper ---}
\typeout{(c) 2000 Frederic Goualard, IRIN, France}
\typeout{CVSId: $Id: PPRcontemporain.sty,v 1.1.1.1 2000/11/28 11:15:11 exupery Exp $}
\typeout{ }

\RequirePackage{amssymb}

\ifinColor
\newrgbcolor{myblue}{.2 .36 .77}
\newrgbcolor{darkblue}{0.28 0.24 0.55}
\else
\newrgbcolor{myblue}{1 1 1}
\newrgbcolor{darkblue}{0.28 0.24 0.55}
\fi
\ifinColor
\ifcolorBG
\let\colC=\white
\else
\let\colC=\black
\fi
\else
\let\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%
  \lightgray}
\FontText{\colC\usefont{T1}{phv}{m}{n}\fontsize{14.4pt}{14pt}%
  \selectfont}{%
  \colC\usefont{T1}{phv}{m}{n}\fontsize{14.4pt}{14pt}\selectfont}

\ColorFoot{\colC}

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

\def\labelitemi{{\small\colC\ensuremath{\blacksquare}}}
\def\labelitemii{{\small\colC\ensuremath{\blacklozenge}}}

\LogoPosition{-.4,-.7}

\newcommand{\ContempFrame}[1]{%
  \ifcolorBG
  \psframe[linestyle=none,fillstyle=solid,fillcolor=myblue](-2,-1.4)(12.5,9)
  \fi
  \psframe[linestyle=none,fillstyle=solid,%
  fillcolor=darkblue](-.4,6.7)(12.5,7.8)
  \psframe[linestyle=none,fillstyle=solid,%
  fillcolor=darkblue](-.4,-.7)(4.5,-1.35)
  \psset{linecolor=lightgray}
  \multirput(5,-.8)(.8,0){10}{\qdisk(0,0){1.2pt}}
  \multirput(-.3,8)(0,.3){3}{\qdisk(0,0){1.2pt}}
  \PutLogo % Mandatory
  {#1}}

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

\RequirePackage{semhelv}

\PDFCroppingBox{10 40 594 820}

\endinput

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