summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/prosper/PPRgyom.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-13 00:03:33 +0000
committerKarl Berry <karl@freefriends.org>2006-01-13 00:03:33 +0000
commitbbcc6f9fcd3737edc987b1df9e63e52407da99d3 (patch)
tree8635345408dcecb0c553d98ea27fffa9fc6d52e0 /Master/texmf-dist/tex/latex/prosper/PPRgyom.sty
parentdba09c751a6f9d8fd641a41c73fc590634c4eb19 (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/PPRgyom.sty')
-rw-r--r--Master/texmf-dist/tex/latex/prosper/PPRgyom.sty95
1 files changed, 95 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/prosper/PPRgyom.sty b/Master/texmf-dist/tex/latex/prosper/PPRgyom.sty
new file mode 100644
index 00000000000..624e352f12a
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/prosper/PPRgyom.sty
@@ -0,0 +1,95 @@
+%==============================================================================
+% Prosper -- (PPRgyom.sty) Style file
+% A LaTeX class for creating slides
+% Author: Gyôm Raschia (raschia@irin.univ-nantes.fr)
+% Institut de Recherche en Informatique de Nantes
+% University of Nantes, France
+%
+% Copyright (c) 2000 Gyôm Raschia
+% 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: PPRgyom.sty,v 1.1.1.1 2000/11/28 11:15:20 exupery Exp $
+%==============================================================================
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesPackage{PPRgyom}[2000/04/17]
+\typeout{`Gyôm personal' style for Prosper ---}
+\typeout{(c) 2000 Gyôm Raschia, IRIN, France}
+\typeout{CVSId: $Id: PPRgyom.sty,v 1.1.1.1 2000/11/28 11:15:20 exupery Exp $}
+\typeout{ }
+
+\RequirePackage{amssymb}
+% Loading packages necessary to define this slide style.
+\IfFileExists{pst-grad}{\RequirePackage{pst-grad}}{\RequirePackage{gradient}}
+
+\newgray{mygray}{.5}
+\newrgbcolor{mellow}{.847 .72 .525}
+\newrgbcolor{orange}{1.00 0.65 0.00}
+\newrgbcolor{myred}{.90 .10 .10}
+\newrgbcolor{lemonchiffon}{1.00 .98 .80}
+\newrgbcolor{pink}{1.00 .75 .79}
+\newrgbcolor{slategray}{.44 .50 .56}
+
+\FontTitle{%
+ \usefont{T1}{ptm}{b}{n}\fontsize{22pt}{20pt}\selectfont\myred}{%
+ \usefont{T1}{ptm}{b}{n}\fontsize{22pt}{20pt}\selectfont\black}
+\FontText{%
+ \slategray\usefont{T1}{phv}{m}{n}\fontsize{14.4pt}{14pt}\selectfont}{%
+ \black\usefont{T1}{phv}{m}{n}\fontsize{14.4pt}{14pt}\selectfont}
+
+\ColorFoot{\black}
+\ColorFoot{\orange}
+
+% Positionning of the title of a slide.
+\newcommand{\slidetitle}[1]{%
+ \rput[l](-0.2,4.4){\fontTitle{#1}}
+}
+
+% Positionning for a logo
+\LogoPosition{-0.6,-1.3}
+
+% Definition of this style for slides.
+
+\newcommand{\TPFrame}[1]{%
+\ifinColor
+\psline[linewidth=4pt,fillstyle=gradient,gradbegin=lemonchiffon,gradend=orange](-1,8.4)(-1,7.4)(7,7.4)
+\else
+\psline[linewidth=4pt,fillstyle=gradient,gradbegin=white,gradend=mygray](-1,8.4)(-1,7.4)(7,7.4)
+\fi
+%\psellipse[linecolor=white,fillstyle=solid,fillcolor=white](7.25,8.34)(4,7.25)
+\psline[linewidth=4pt,linecolor=mygray](-1,7.2)(9.5,7.2)
+\psline[linewidth=4pt](8.2,7)(-1,7)(-1,-0.4)
+\psline[linewidth=4pt](9,-0.7)(11.6,-0.7)(11.6,0.3)
+ \PutLogo % Mandatory
+ {#1}}
+
+\NewSlideStyle{t}{5.3,2.7}{TPFrame}
+\PDFCroppingBox{10 40 594 800}
+\RequirePackage{semhelv}
+
+\myitem{1}{\includegraphics[width=.4cm]{red-bullet-on-white.ps}}
+\myitem{2}{\includegraphics[width=.3cm]{green-bullet-on-white.ps}}
+\myitem{3}{\includegraphics[width=.3cm]{yellow-bullet-on-white.ps}}
+
+\endinput
+
+%%% Local Variables:
+%%% mode: latex
+%%% TeX-master: t
+%%% End: