%==============================================================================
% Prosper -- (PPRrico.sty) Style file
% A LaTeX class for creating slides
% Author: Eric Languénou (Eric.Languenou@irin.univ-nantes.fr)
%         Institut de Recherche en Informatique de Nantes
%         University of Nantes, France
%
% Copyright (c) 2000 Eric Languénou
% 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: PPRrico.sty,v 1.1.1.1 2000/11/28 11:15:20 exupery Exp $
%==============================================================================
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{PPRcours}[2000/09/08]
\typeout{`Cours'  style for prosper ---}
\typeout{(c) 2000 Eric Languénou}
\typeout{CVSId: $Id: PPRrico.sty,v 1.1.1.1 2000/11/28 11:15:20 exupery Exp $}
\typeout{ }

\RequirePackage{semhelv}
\RequirePackage{amssymb}

% Chargement des fichiers de pstricks (on teste les noms en vigueur pour
% gérer les différentes versions de pstricks).
\IfFileExists{pst-grad}{\RequirePackage{pst-grad}}{\RequirePackage{gradient}}

\newgray{gris1}{.40}
\newgray{gris2}{.85}
\newgray{gris3}{.30}
\newgray{gris4}{.25}
\newgray{gris5}{.90}
\ifinColor
\newrgbcolor{myblue}{.2 .36 .77}
\newrgbcolor{darkblue}{0.28 0.24 0.55}
\newrgbcolor{vert}{0 0.89 0.18}
\newrgbcolor{orange}{1.0 0.49 0}
\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}{phv}{b}{sl}\fontsize{14.4pt}{12pt}\selectfont}{%
  \usefont{T1}{phv}{b}{sl}\fontsize{14.4pt}{12pt}\selectfont}


\FontText{\usefont{T1}{phv}{m}{n}\fontsize{12pt}{11pt}\selectfont}{%
 \usefont{T1}{phv}{m}{n}\fontsize{12pt}{11pt}\selectfont}


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

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

\myitem{1}{%
  \pscircle[fillstyle=solid,fillcolor=black,linestyle=none](-0.03,0.15){0.08}%
  \pscircle[fillstyle=gradient,gradbegin=white,gradend=darkblue,gradangle=315,gradlines=100,gradmidpoint=1,linestyle=none](0,0.18){0.08}%
}
\myitem{2}{%
  \pscircle[fillstyle=solid,fillcolor=black,linestyle=none](-0.03,0.15){0.08}%
  \pscircle[fillstyle=gradient,gradbegin=white,gradend=orange,gradangle=315,gradlines=100,gradmidpoint=1,linestyle=none](0,0.18){0.08}%
}

\myitem{3}{%
  \pscircle[fillstyle=solid,fillcolor=black,linestyle=none](-0.03,0.15){0.08}%
  \pscircle[fillstyle=gradient,gradbegin=white,gradend=myblue,gradangle=315,gradlines=100,gradmidpoint=1,linestyle=none](0,0.18){0.08}%
}

\LogoPosition{-.7,-1}


\newdimen\slidewidth \slidewidth 9in
\newdimen\slideheight \slideheight 7in
\paperwidth 8.2in
\paperheight 10.8in



\newcommand{\slidetitle}[1]{%
  \rput[rb](10.6,3.6){%
    \parbox{12cm}{\begin{flushright}\fontTitle{#1}\end{flushright}}}}





\newcommand{\theRICOStyle}[1]{% 
 \psframe[linestyle=none](-.4,6.7)(12.5,5.8)
 %la barre horizontale
 \rput[lb](2cm,6.5cm){\includegraphics[width=10cm,height=1cm]{barre-rico.ps}}
%le coin bas gauche
%  \rput[lb](-1cm,-1cm){\includegraphics[width=0.5cm,height=0.5cm]{angleHG.ps}}
%le coin haut gauche
%  \rput[lb](-1cm,8cm){\rotatebox[origin=c]{270}{\includegraphics[width=0.5cm,height=0.5cm]{angleHG.ps}}}
%le coin bas droit
%  \rput[lb](11.3cm,-1cm){\rotatebox[origin=c]{90}{\includegraphics[width=0.5cm,height=0.5cm]{angleHG.ps}}}
%le coin haut droit
%  \rput[lb](11.3cm,8cm){\rotatebox[origin=c]{180}{\includegraphics[width=0.5cm,height=0.5cm]{angleHG.ps}}}
   \PutLogo %
  {#1}}

\DefaultTransition{Glitter}


\NewSlideStyle{t}{6,2.4}{theRICOStyle}

%\PDFCroppingBox{10 40 594 820}

\endinput


