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

\RequirePackage{amssymb}
% Loading packages necessary to define this slide style.
\IfFileExists{pst-grad}{\RequirePackage{pst-grad}}{\RequirePackage{gradient}}

\newgray{mygray}{.5}
\newrgbcolor{mellow}{.847 .72 .525}
\newrgbcolor{orange}{1.00 0.65 0.00}
\newrgbcolor{myred}{.90 .10 .10}
\newrgbcolor{lemonchiffon}{1.00 .98 .80}
\newrgbcolor{pink}{1.00 .75 .79}
\newrgbcolor{slategray}{.44 .50 .56}

\FontTitle{%
  \usefont{T1}{ptm}{b}{n}\fontsize{22pt}{20pt}\selectfont\myred}{%
  \usefont{T1}{ptm}{b}{n}\fontsize{22pt}{20pt}\selectfont\black}
\FontText{%
  \slategray\usefont{T1}{phv}{m}{n}\fontsize{14.4pt}{14pt}\selectfont}{%
  \black\usefont{T1}{phv}{m}{n}\fontsize{14.4pt}{14pt}\selectfont}

\ColorFoot{\black}
\ColorFoot{\orange}

% Positionning of the title of a slide.
\newcommand{\slidetitle}[1]{%
  \rput[l](-0.2,4.4){\fontTitle{#1}}
}

% Positionning for a logo
\LogoPosition{-0.6,-1.3}

% Definition of this style for slides.

\newcommand{\TPFrame}[1]{%
\ifinColor
\psline[linewidth=4pt,fillstyle=gradient,gradbegin=lemonchiffon,gradend=orange](-1,8.4)(-1,7.4)(7,7.4)
\else
\psline[linewidth=4pt,fillstyle=gradient,gradbegin=white,gradend=mygray](-1,8.4)(-1,7.4)(7,7.4)
\fi
%\psellipse[linecolor=white,fillstyle=solid,fillcolor=white](7.25,8.34)(4,7.25)
\psline[linewidth=4pt,linecolor=mygray](-1,7.2)(9.5,7.2)
\psline[linewidth=4pt](8.2,7)(-1,7)(-1,-0.4)
\psline[linewidth=4pt](9,-0.7)(11.6,-0.7)(11.6,0.3)
  \PutLogo % Mandatory
 {#1}}

\NewSlideStyle{t}{5.3,2.7}{TPFrame}
\PDFCroppingBox{10 40 594 800}
\RequirePackage{semhelv}

\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}}

\endinput

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