%==============================================================================
% 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{PPRbpstyle}[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}
%  -bp1/28/02.
\newrgbcolor{mygreen}{0.133 0.56 0}
\newrgbcolor{mydarkgreen}{0.10 0.43 0}
\fi
\ifinColor
\ifcolorBG
\let\colC=\white
\else
\let\colC=\black
\fi
\else
\let\colC=\black
\fi

%  \usefont{T1}{ptm}{b}{n}\fontsize{20.74pt}{20pt}\selectfont%
%  \myblue}{%
%  \usefont{T1}{ptm}{b}{n}\fontsize{20.74pt}{20pt}\selectfont%
%  \lightgray}
\setlength{\slideWidth}{25cm}

%\FontTitle{%
%%  \usefont{T1}{ptm}{b}{n}\fontsize{20.74pt}{20pt}\selectfont%
%  \usefont{T1}{ptm}{b}{n}\fontsize{19.74pt}{19pt}\selectfont%
%  \lightgray}{
%  \usefont{T1}{ptm}{b}{n}\fontsize{19.74pt}{19pt}\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}

\FontTitle{%
%  \usefont{T1}{ptm}{b}{n}\fontsize{20.74pt}{20pt}\selectfont%
  \usefont{T1}{ptm}{b}{n}\fontsize{17.74pt}{17pt}\selectfont%
  \lightgray}{
  \usefont{T1}{ptm}{b}{n}\fontsize{17.74pt}{17pt}\selectfont%
  \lightgray}
\FontSubtitle{%
%  \usefont{T1}{ptm}{b}{n}\fontsize{20.74pt}{20pt}\selectfont%
  \usefont{T1}{ptm}{b}{n}\fontsize{17.74pt}{17pt}\selectfont%
  \lightgray}{
  \usefont{T1}{ptm}{b}{n}\fontsize{17.74pt}{17pt}\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}

\FontText{\colC\usefont{T1}{phv}{m}{n}\fontsize{13.4pt}{13pt}%
  \selectfont}{%
  \colC\usefont{T1}{phv}{m}{n}\fontsize{13.4pt}{13pt}\selectfont}

\ColorFoot{\colC}

\newcommand{\slidetitle}[1]{%
  \rput[lt](0,4.5){\fontTitle{#1}}}

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

% \LogoPosition{-.4,-.7}
% \LogoPosition{-1.6,-.7}
\LogoPosition{0,-.7}

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

% \NewSlideStyle{t}{5.5,2.4}{ContempFrame}
% \NewSlideStyle{t}{5.9,3.1}{ContempFrame}
\NewSlideStyle{t}{5.9,3.1}{ContempFrame}

\RequirePackage{semhelv}

% \PDFCroppingBox{10 40 594 820}
% \PDFCroppingBox{10 40 594 860}

\endinput

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