%==============================================================================
% Prosper -- (PPRazure.sty) 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: PPRazure.sty,v 1.1.1.1 2000/11/28 11:15:11 exupery Exp $
%==============================================================================
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{PPRazure}[2000/04/18]
\typeout{Azure style for Prosper ---}
\typeout{(c) 2000 Frederic Goualard, IRIN, France}
\typeout{CVSId: $Id: PPRazure.sty,v 1.1.1.1 2000/11/28 11:15:11 exupery Exp $}
\typeout{ }

% Required packages
\IfFileExists{pst-grad}{\RequirePackage{pst-grad}}{\RequirePackage{gradient}}
\RequirePackage{amssymb}
\RequirePackage{times}

% Colors 
\newrgbcolor{lightblue}{.30 .86 .89}
\ifinColor
\def\colA{blue}
\def\colB{black}
\global\let\colC=\lightblue
\ifcolorBG
\global\let\colD=\white
\else
\global\let\colD=\black
\fi
\else
\def\colA{white}
\def\colB{lightgray}
\global\let\colC=\blue
\global\let\colD=\black
\fi

% The fonts
\FontTitle{%
  \usefont{T1}{ptm}{b}{n}\fontsize{18.74pt}{20pt}\selectfont\colC}{%
  \usefont{T1}{ptm}{b}{n}\fontsize{18.74pt}{20pt}\selectfont\colC}
\FontText{%
  \usefont{T1}{ptm}{m}{n}\fontsize{14.4pt}{13pt}\selectfont\colD}{%
  \usefont{T1}{ptm}{m}{n}\fontsize{14.4pt}{13pt}\selectfont\colD}

\ColorFoot{\colD}

% Positionning of the title of a slide.
\def\slidetitle#1{\rput[lb](0.0,3.8){%\parbox{12.5cm}
{\fontTitle{\baselineskip=0pt #1}}}}

% Positionning for a logo
\LogoPosition{-1,-1.1}

\newcommand{\BSquareFrame}[1]{%
  \ifcolorBG
  \psframe[fillstyle=gradient,gradbegin=\colB,gradend=\colA,gradmidpoint=1]%
          (-2,-1.4)(12.5,9)
  \fi
  \psframe[fillstyle=gradient,gradbegin=\colA,gradend=\colB,gradmidpoint=.5,
          linestyle=none]%
          (-2,-1.4)(-2,9)
  \multirput(-1.4,-1)(0,.35){1}{%
    \psframe[fillstyle=solid,fillcolor=\colA,linestyle=none](0,0)(.25,.25)}
  \PutLogo % Mandatory
  {#1}}

\NewSlideStyle{t}{6,3.4}{BSquareFrame}
\PDFCroppingBox{10 15 594 840}


\endinput

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