diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-13 00:03:33 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-13 00:03:33 +0000 |
commit | bbcc6f9fcd3737edc987b1df9e63e52407da99d3 (patch) | |
tree | 8635345408dcecb0c553d98ea27fffa9fc6d52e0 /Master/texmf-dist/tex/latex/prosper/PPRframes.sty | |
parent | dba09c751a6f9d8fd641a41c73fc590634c4eb19 (diff) |
prosper
git-svn-id: svn://tug.org/texlive/trunk@1223 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/prosper/PPRframes.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/prosper/PPRframes.sty | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/prosper/PPRframes.sty b/Master/texmf-dist/tex/latex/prosper/PPRframes.sty new file mode 100644 index 00000000000..75c7896a58e --- /dev/null +++ b/Master/texmf-dist/tex/latex/prosper/PPRframes.sty @@ -0,0 +1,81 @@ +%%============================================================================= +%% PPRframes.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: PPRframes.sty,v 1.3 2001/10/24 15:11:25 exupery Exp $ +%%============================================================================= +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{PPRframes}[2000/04/18] +\typeout{`Frames' style for prosper ---} +\typeout{(c) 2000 Frederic Goualard, IRIN, France} +\typeout{CVSId: $Id: PPRframes.sty,v 1.3 2001/10/24 15:11:25 exupery Exp $} +\typeout{ } + +\RequirePackage{semhelv} +\RequirePackage{amssymb} + +% 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}} + +\newgray{gris1}{.40} +\newgray{gris2}{.85} +\newgray{gris3}{.30} +\newgray{gris4}{.25} +\newgray{gris5}{.90} + +\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[rb](11.6,3.6){% + \parbox{9cm}{\begin{flushright}\fontTitle{#1}\end{flushright}}}} + +\LogoPosition{-.7,-.1} + +\def\TWRFrame#1{% + \psframe[linestyle=none,fillstyle=gradient, + gradbegin=gris1, gradend=gris2,gradmidpoint=0.9]% + (-1.2,-1.4)(-0.8,8.8 ) + \psframe[linestyle=none,fillstyle=gradient, + gradbegin=gris1, gradend=gris2,gradmidpoint=0.2]% + (-1.2,2)(-0.4,8.8) + \psframe[linestyle=none,fillstyle=gradient, + gradbegin=gris2,gradend=gris4,gradmidpoint=0.4]% + (-1.2,7.9)(1.2,8.8) + \psframe[linestyle=none,fillstyle=gradient, + gradbegin=gris2,gradend=gris3,gradmidpoint=0.2]% + (-1.2,5)(0.8,8.8) + \psframe[linestyle=none,fillstyle=gradient, + gradbegin=gris1, gradend=gris2,gradmidpoint=0.2]% + (-1.2,4)(0.5,8.8) + \psframe[linestyle=none,fillstyle=gradient,gradangle=90, + gradbegin=black,gradend=gris2,gradmidpoint=0.7]% + (-1.2,7)(11.6,7.1) + \PutLogo % Mandatory + {#1}} + +\NewSlideStyle{t}{6,2.4}{TWRFrame} +\PDFCroppingBox{10 40 594 820} + + +\endinput + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: t +%%% End: |