%==============================================================================
% 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: PPRpopper.sty,v 1.3 2004/07/18 14:58:57 iblech Exp $
%==============================================================================
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{PPRpopper}[2000/04/18]
\typeout{`Contemporain' style for prosper, veraendert von Ingo Blechschmidt ---}
\typeout{(c) 2000 Frederic Goualard, IRIN, France und 2004 Ingo Blechschmidt}
\typeout{CVSId: $Id: PPRpopper.sty,v 1.3 2004/07/18 14:58:57 iblech Exp $}
\typeout{ }

\RequirePackage{amssymb}

\ifinColor
\newrgbcolor{myblue}{.2 .36 .77}
\newrgbcolor{darkblue}{0.28 0.24 0.55}
\newrgbcolor{darkred}{0.55 0.24 0.28}
\newrgbcolor{mywhite}{1 1 1}
\newrgbcolor{mygray}{1 1 1}
\else
\newrgbcolor{myblue}{1 1 1}
\newrgbcolor{darkblue}{0.28 0.24 0.55}
\newrgbcolor{darkred}{0.55 0.24 0.28}
\newrgbcolor{mywhite}{1 1 1}
\newrgbcolor{mygray}{1 1 1}
\fi
\ifinColor
\ifcolorBG
\let\colC=\black
\else
\let\colC=\black
\fi
\else
\let\colC=\black
\fi

% thx to http://66.102.11.104/search?q=cache:1rOaliOQCaIJ:www.cse.iitd.ernet.in/~anup/homepage/UNIX/latex.html+backgroundeps&hl=de&ie=UTF-8
\def\BackgroundEPS#1#2#3#4{%
\special{ps: @beginspecial @setspecial initmatrix 0.9 setgray #2 #3 translate #4 dup scale}%
\special{ps: plotfile #1}%
\special{ps: @endspecial}%
}

\FontTitle{%
  \usefont{T1}{phv}{b}{n}\fontsize{25.74pt}{20pt}\selectfont\mygray}{%
  \usefont{T1}{phv}{b}{n}\fontsize{25.74pt}{20pt}\selectfont\black}
\FontText{\colC\usefont{T1}{phv}{m}{n}\fontsize{14.4pt}{14pt}%
  \selectfont}{%
  \colC\usefont{T1}{phv}{m}{n}\fontsize{14.4pt}{14pt}\selectfont}

\ColorFoot{\colC}

\newcommand{\slidetitle}[1]{%
  \rput[lt](.3,4){\fontTitle{#1}}}

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

%\LogoPosition{-.4,-.7}
\LogoPosition{.3,-1.2}

\newcommand{\ContempFrame}[1]{%
\ifcolorBG%
\psframe[linestyle=none,fillstyle=solid,fillcolor=mywhite](-2,-1.4)(12.5,9)%
\BackgroundEPS{hintergrund.eps}{-24}{-2}{2}%
\psframe[linestyle=none,fillstyle=solid,fillcolor=darkblue](.14,6.7)(12.5,7.8)%
\psframe[linestyle=none,fillstyle=solid,fillcolor=darkblue](.14,-.7)(4.5,-1.35)%
\BackgroundEPS{popper-logo.eps.old}{-10}{11}{1}%
\psset{linecolor=lightgray}%
\multirput(5,-.8)(.8,0){10}{\qdisk(0,0){1.2pt}}%
\multirput(.4,8)(0,.3){3}{\qdisk(0,0){1.2pt}}%
\fi%
\PutLogo% % Mandatory
{#1}}

\NewSlideStyle{t}{5.5,2.4}{ContempFrame}

\RequirePackage{semhelv}

%\myitem{1}{\vspace{20cm}\includegraphics[width=.3cm]{green-bullet-on-blue.ps}}
\newcommand{\itemblue}{{\scriptsize\darkblue\raisebox{2pt}{\ensuremath{\bullet}}}}
\newcommand{\itemred}{{\scriptsize\darkred\raisebox{2pt}{\ensuremath{\bullet}}}}
\myitem{1}{\itemblue}
\myitem{2}{\itemred}

\PDFCroppingBox{0 40 594 920}

\endinput

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