summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/prosper/PPRtroispoints.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/prosper/PPRtroispoints.sty
Initial commit
Diffstat (limited to 'macros/latex/contrib/prosper/PPRtroispoints.sty')
-rw-r--r--macros/latex/contrib/prosper/PPRtroispoints.sty79
1 files changed, 79 insertions, 0 deletions
diff --git a/macros/latex/contrib/prosper/PPRtroispoints.sty b/macros/latex/contrib/prosper/PPRtroispoints.sty
new file mode 100644
index 0000000000..66af1a7b02
--- /dev/null
+++ b/macros/latex/contrib/prosper/PPRtroispoints.sty
@@ -0,0 +1,79 @@
+%%=============================================================================
+%% PPRtroispoints.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: PPRtroispoints.sty,v 1.3 2001/10/24 15:11:25 exupery Exp $
+%%=============================================================================
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesPackage{PPRtroispoints}[2000/04/17]
+\typeout{`Trois points' style for Prosper ---}
+\typeout{(c) 2000 Frederic Goualard, IRIN, France}
+\typeout{CVSId: $Id: PPRtroispoints.sty,v 1.3 2001/10/24 15:11:25 exupery Exp $}
+\typeout{ }
+
+\RequirePackage{amssymb}
+% Loading packages necessary to define this slide style.
+\IfFileExists{pst-grad}{\RequirePackage{pst-grad}}{\RequirePackage{gradient}}
+
+\newgray{mygrey}{.5}
+\newrgbcolor{mellow}{.847 .72 .525}
+\newrgbcolor{orange}{1.00 0.65 0.00}
+
+\FontTitle{%
+ \usefont{T1}{ptm}{m}{sl}\fontsize{22pt}{20pt}\selectfont\orange}{%
+ \usefont{T1}{ptm}{m}{sl}\fontsize{22pt}{20pt}\selectfont\blue}
+\FontText{%
+ \mellow\usefont{T1}{phv}{m}{n}\fontsize{14.4pt}{14pt}\selectfont}{%
+ \black\usefont{T1}{phv}{m}{n}\fontsize{14.4pt}{14pt}\selectfont}
+
+\ColorFoot{\mellow}
+
+% Positionning of the title of a slide.
+\newcommand{\slidetitle}[1]{%
+ \rput[l](-0.4,3.7){\parbox{10cm}{\fontTitle{#1}}}
+}
+
+% Positionning for a logo
+\LogoPosition{-1,-1.1}
+
+% Definition of this style for slides.
+
+\newcommand{\TPFrame}[1]{%
+ \ifinColor
+ \ifcolorBG
+ \psframe[linestyle=none,fillstyle=solid,fillcolor=black](-2,-1.4)(12.5,9)
+ \fi
+ \fi
+ \psframe[linestyle=dotted,dotsep=5pt,linewidth=2pt,linecolor=mellow]%
+ (-1,-.5)(11.6,8.3)
+ \pspolygon[linestyle=none,fillstyle=solid,%
+ fillcolor=mygrey](8.4,8.4)(9.6,8.4)(9,7.4)
+ \pspolygon[linestyle=none,fillstyle=solid,%
+ fillcolor=red](8.2,8.5)(9.4,8.5)(8.8,7.5)
+ \pspolygon[linestyle=none,fillstyle=solid,%
+ fillcolor=mygrey](1.4,-1.1)(2.6,-1.1)(2,-.1)
+ \pspolygon[linestyle=none,fillstyle=solid,%
+ fillcolor=red](1.1,-.9)(2.3,-.9)(1.7,.1)
+ \PutLogo % Mandatory
+ {#1}}
+
+\NewSlideStyle{t}{5.3,2.9}{TPFrame}
+\PDFCroppingBox{10 40 594 800}
+\RequirePackage{semhelv}
+
+\endinput
+
+%%% Local Variables:
+%%% mode: latex
+%%% TeX-master: t
+%%% End: