summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/prosper/PPRnuancegris.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/PPRnuancegris.sty
Initial commit
Diffstat (limited to 'macros/latex/contrib/prosper/PPRnuancegris.sty')
-rw-r--r--macros/latex/contrib/prosper/PPRnuancegris.sty107
1 files changed, 107 insertions, 0 deletions
diff --git a/macros/latex/contrib/prosper/PPRnuancegris.sty b/macros/latex/contrib/prosper/PPRnuancegris.sty
new file mode 100644
index 0000000000..b205590416
--- /dev/null
+++ b/macros/latex/contrib/prosper/PPRnuancegris.sty
@@ -0,0 +1,107 @@
+%%=============================================================================
+%% PPRnuancegris.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: PPRnuancegris.sty,v 1.3 2001/10/24 15:11:25 exupery Exp $
+%%=============================================================================
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesPackage{PPRnuancegris}[2000/04/18]
+\typeout{`Nuances de gris' style for prosper ---}
+\typeout{(c) 1999 Frederic Goualard, IRIN, France}
+\typeout{CVSId: $Id: PPRnuancegris.sty,v 1.3 2001/10/24 15:11:25 exupery Exp $}
+\typeout{ }
+
+\newgray{mygrey}{.67}
+\newgray{mygrey2}{.97}
+
+\RequirePackage{amssymb}
+
+\ifinColor
+\def\colA{black}
+\def\colB{mygrey}
+\ifcolorBG
+\let\colC=\white
+\else
+\let\colC=\black
+\fi
+\else
+\def\colA{lightgray}
+\def\colB{mygrey2}
+\let\colC=\black
+\fi
+
+\newrgbcolor{orange}{1.00 0.65 0.00}
+\newrgbcolor{purple}{0.63 0.13 0.94}
+
+% 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}{phv}{b}{n}\fontsize{20.74pt}{20pt}%
+ \selectfont\colC}{%
+ \usefont{T1}{phv}{b}{n}\fontsize{20.74pt}{20pt}\selectfont\blue}
+\FontText{\usefont{T1}{phv}{m}{n}\fontsize{14.4pt}{14pt}%
+ \selectfont\colC}{%
+ \usefont{T1}{phv}{m}{n}\fontsize{14.4pt}{14pt}\selectfont\colC}
+
+\renewcommand{\labelitemi}{{%
+ \green\ensuremath{\scriptscriptstyle\blacksquare}}}
+
+\ColorFoot{\black}
+
+\newcommand{\slidetitle}[1]{%
+ \rput[lb](-.2,2.3){\parbox{10cm}{\fontTitle{#1}}}}
+
+\LogoPosition{-.5,-.7}
+
+\newcommand{\NGFrame}[1]{%
+ \ifcolorBG
+ \psframe[linestyle=none,fillstyle=gradient,%
+ gradbegin=\colA,gradend=\colB,gradmidpoint=0](-1.5,-.9)(12,8.5)
+ \fi
+ \psframe[linestyle=none,fillstyle=gradient,gradbegin=\colA,
+ gradend=\colB,gradmidpoint=1,gradangle=90](-1.5,7.5)(12,8.5)
+ \psframe[linestyle=none,fillstyle=gradient,gradbegin=\colA,
+ gradend=\colB,gradmidpoint=1](-1.5,8.5)(-.5,-.9)
+ \psframe[linestyle=none,fillstyle=solid,fillcolor=red](11.4,-.4)(11.6,-.6)
+ \psframe[linestyle=none,fillstyle=solid,fillcolor=orange](11.4,0)(11.6,-.2)
+ \psframe[linestyle=none,fillstyle=solid,fillcolor=yellow](11.4,.2)(11.6,.4)
+ \psframe[linestyle=none,fillstyle=solid,fillcolor=green](11.4,.6)(11.6,.8)
+ \psframe[linestyle=none,fillstyle=solid,fillcolor=cyan](11.4,1)(11.6,1.2)
+ \psframe[linestyle=none,fillstyle=solid,fillcolor=blue](11.4,1.4)(11.6,1.6)
+ \psframe[linestyle=none,fillstyle=solid,fillcolor=purple](11.4,1.8)(11.6,2)
+ \psframe[linestyle=none,fillstyle=solid,fillcolor=magenta]%
+ (11.4,2.2)(11.6,2.4)
+
+ \psframe[linestyle=none,fillstyle=solid,fillcolor=orange](11,-.4)(11.2,-.6)
+ \psframe[linestyle=none,fillstyle=solid,fillcolor=yellow](10.6,-.4)(10.8,-.6)
+ \psframe[linestyle=none,fillstyle=solid,fillcolor=green](10.2,-.4)(10.4,-.6)
+ \psframe[linestyle=none,fillstyle=solid,fillcolor=cyan](9.8,-.4)(10,-.6)
+ \psframe[linestyle=none,fillstyle=solid,fillcolor=blue](9.4,-.4)(9.6,-.6)
+ \psframe[linestyle=none,fillstyle=solid,fillcolor=purple](9,-.4)(9.2,-.6)
+ \psframe[linestyle=none,fillstyle=solid,fillcolor=magenta](8.6,-.4)(8.8,-.6)
+ \PutLogo % Mandatory
+ {#1}}
+
+\NewSlideStyle{t}{5.6,1.7}{NGFrame}
+
+\RequirePackage{semhelv}
+
+\PDFCroppingBox{10 40 594 820}
+
+\endinput
+
+%%% Local Variables:
+%%% mode: latex
+%%% TeX-master: t
+%%% End: