summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/prosper/contrib/PPRgyom.sty
blob: 624e352f12a9027d8ec3bd156f969c4b8bea3e97 (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
94
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: