%==============================================================================
% Prosper -- (PPRprettybox.sty) Style file
% A LaTeX class for creating slides
% Author: Marlon Régis Schmitz(mschmitz@if.ufrgs.br)
%         Instituto de Física
%         Universidade Federal do Rio Grande do Sul, Brazil
%
% This comes from PPRframes.sty
% Many thank for Frederic Goualard <Frederic.Goualard@irin.univ-nantes.fr>
%
% Copyright (c) 2002 Marlon Régis Schmitz
% 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: PPRprettybox.sty,v 1.1.1.1 2004/02/18 22:03:02 turtle Exp $
%==============================================================================
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{PPRprettybox}[2002/11/29]
\typeout{`Pretty Box' style for prosper ---}
\typeout{(c) 2002 Marlon Régis Schmitz,IFUFRGS, Brazil}
\typeout{CVSId : $Id: PPRprettybox.sty,v 1.1.1.1 2004/02/18 22:03:02 turtle Exp $}
\typeout{Do you like this?}

\RequirePackage{semhelv}
\RequirePackage{amssymb}

% Loading of pstrick's files (test the current names to generate different
%versions of pstricks)
\IfFileExists{pst-grad}{\RequirePackage{pst-grad}}{\RequirePackage{gradient}}

\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{13pt}{12pt}\selectfont}{%
  \usefont{T1}{phv}{m}{n}\fontsize{13pt}{12pt}\selectfont}

\def\labelitemi{\ensuremath{\blacktriangleright}}

\newcommand{\slidetitle}[1]{%
  \rput[lb](0.75,3.65){%
    \parbox{9cm}{\fontTitle{#1}}}}

\LogoPosition{-1.25,7.5}

%blue tones
\newrgbcolor{blue1}{0 0 1}   %=blue
\newrgbcolor{blue2}{0 0 .93} 
\newrgbcolor{blue3}{0 0 .8}  %=mediumblue
\newrgbcolor{blue4}{0 0 .55} %=darkblue
\newrgbcolor{lightblue}{.68 .85 .9}
\newrgbcolor{mediumblue}{0 0 .8}
\newrgbcolor{darkblue}{0 0 .55}

%MY gray tones
\newgray{Gray1}{.75}
\newgray{Gray2}{0.5}
\newgray{Gray3}{0.25}

\def\AVeryPrettyBox#1{%
%line below the title
  %left line
  \psframe[linestyle=none,fillstyle=gradient,
  gradbegin=Gray1, gradend=Gray2,gradmidpoint=1.0]%
  (0,-1.0)(0.5, 8.5)
  %bottom line
  \psframe[linestyle=none,fillstyle=gradient,
  gradbegin=Gray1, gradend=Gray2,gradmidpoint=1.0, gradangle=90]%
  (-1.5,-0.5)(12.0, -0.45)
  %left right
  \psframe[linestyle=none,fillstyle=gradient,
  gradbegin=Gray1, gradend=Gray2,gradmidpoint=1.0]%
  (11.7,-0.75)(11.75, 7.75)
  %top line
  \psframe[linestyle=none,fillstyle=gradient,
  gradbegin=lightblue, gradend=darkblue,gradmidpoint=1.0, gradangle=90]%
  (-1.5 ,7.0)(12.0,7.25)
  \PutLogo % Mandatory
  {#1}}

\NewSlideStyle{t}{6,2.4}{AVeryPrettyBox}
\PDFCroppingBox{10 40 594 820}


\endinput

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