%%============================================================================= %% PPRlignesbleues.sty (a slide style for Prosper) %% Copyright 2000-2001 Frédéric Goualard %% %% This program may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.2 %% of this license or (at your option) any later version. %% The latest version of this license is in %% http://www.latex-project.org/lppl.txt %% and version 1.2 or later is part of all distributions of LaTeX %% version 1999/12/01 or later. %% %% This program consists of the files listed in manifest.txt %% %% CVSId : $Id: PPRlignesbleues.sty,v 1.3 2001/10/24 15:11:25 exupery Exp $ %%============================================================================= \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{PPRlignesbleues}[2000/04/18] \typeout{`Lignes bleues' style for prosper ---} \typeout{(c) 1999 Frederic Goualard, IRIN, France} \typeout{CVSId: $Id: PPRlignesbleues.sty,v 1.3 2001/10/24 15:11:25 exupery Exp $} \typeout{ } \RequirePackage{amssymb} \newgray{mygrey}{.6} \newrgbcolor{orange}{1.00 0.65 0.00} \ifinColor \ifcolorBG \let\colC=\white \let\colA=\yellow \else \let\colC=\black \let\colA=\blue \fi \def\colB{black} \def\colD{blue} \else \let\colC=\black \let\colA=\blue \def\colB{mygrey} \def\colD{white} \fi % 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}} \FontTitle{\usefont{T1}{ptm}{m}{n}\fontsize{20.74pt}{20pt}% \selectfont\colA}{% \usefont{T1}{ptm}{m}{n}\fontsize{20.74pt}{20pt}% \selectfont\colA} \FontText{\usefont{T1}{phv}{m}{n}\fontsize{14.4pt}{14pt}% \selectfont\colC}{% \usefont{T1}{phv}{m}{n}\fontsize{14.4pt}{14pt}% \selectfont\colC} \ColorFoot{\yellow} \def\labelitemi{{\scriptsize\colA\ensuremath{\blacklozenge}}} \newcommand{\slidetitle}[1]{% \rput[b](5.3,3.2){\parbox{10cm}{\centering\fontTitle{#1}}}} % Positionning for a logo \LogoPosition{-1,-1.1} \newcommand{\TPFrame}[1]{% \ifinColor \ifcolorBG \psframe[linestyle=none,fillstyle=solid,fillcolor=black](-2,-1.4)(12.5,9) \fi\fi \multirput(-3,-1.5)(1.2,0){13}{% \pspolygon[fillstyle=gradient,gradbegin=\colB,linestyle=none,% gradend=\colD](0,0)(1,0)(2,1.4)(1,1.4)} \PutLogo % Mandatory {#1}} \NewSlideStyle{t}{5.3,2.4}{TPFrame} \RequirePackage{semhelv} \PDFCroppingBox{10 40 594 820} \endinput %%% Local Variables: %%% mode: latex %%% TeX-master: t %%% End: