summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/prosper/PPRrico.sty
blob: 88541a19c30204dadccc8ba2c6fc2a42f83de49e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
%==============================================================================
% Prosper -- (PPRrico.sty) Style file
% A LaTeX class for creating slides
% Author: Eric Languénou (Eric.Languenou@irin.univ-nantes.fr)
%         Institut de Recherche en Informatique de Nantes
%         University of Nantes, France
%
% Copyright (c) 2000 Eric Languénou
% 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: PPRrico.sty,v 1.1.1.1 2000/11/28 11:15:20 exupery Exp $
%==============================================================================
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{PPRrico}[2000/09/08]
\typeout{`Rico'  style for prosper ---}
\typeout{(c) 2000 Eric Languénou}
\typeout{CVSId: $Id: PPRrico.sty,v 1.1.1.1 2000/11/28 11:15:20 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{12pt}{11pt}\selectfont}{%
 \usefont{T1}{phv}{m}{n}\fontsize{12pt}{11pt}\selectfont}



\myitem{1}{\includegraphics[width=.4cm]{rico_bullet1.ps}} 
\myitem{2}{\includegraphics[width=.3cm]{rico_bullet2.ps}} 
\myitem{3}{\includegraphics[width=.3cm]{rico_bullet3.ps}}


\newcommand{\slidetitle}[1]{%
  \rput[rb](11.6,3.6){%
    \parbox{9cm}{\begin{flushright}\fontTitle{#1}\end{flushright}}}}





\newcommand{\theRICOStyle}[1]{% 
 %la barre horizontale
 \rput[lb](2cm,6cm){\includegraphics[width=10cm,height=1cm]{barre-rico.ps}}
%le coin bas gauche
  \rput[lb](-1cm,-1cm){\includegraphics[width=0.5cm,height=0.5cm]{angleHG.ps}}
%le coin haut gauche
  \rput[lb](-1cm,8cm){\rotatebox[origin=c]{270}{\includegraphics[width=0.5cm,height=0.5cm]{angleHG.ps}}}
%le coin bas droit
  \rput[lb](11.3cm,-1cm){\rotatebox[origin=c]{90}{\includegraphics[width=0.5cm,height=0.5cm]{angleHG.ps}}}
%le coin haut droit
  \rput[lb](11.3cm,8cm){\rotatebox[origin=c]{180}{\includegraphics[width=0.5cm,height=0.5cm]{angleHG.ps}}}

  \PutLogo %
  {#1}}

\DefaultTransition{Glitter}

\NewSlideStyle{t}{6,2.4}{theRICOStyle}
\PDFCroppingBox{10 40 594 820}
\endinput