summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/prosper/contrib/PPRalcatel.sty
blob: f402c38ab20112dbf25d6e098808460b6d09e2fa (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
%==============================================================================
% Alcatel style by Guillaume Raschia, IRIN
% Based on PPRtroispoints
% 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: PPRalcatel.sty,v 1.1.1.1 2000/11/28 11:15:19 exupery Exp $
%==============================================================================
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{PPRalcatel}[2000/06/30]
\typeout{`Alcatel' style for Prosper ---}
\typeout{(c) 2000 Guillaume Raschia, IRIN, France}
\typeout{CVSId: $Id: PPRalcatel.sty,v 1.1.1.1 2000/11/28 11:15:19 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\mellow}
\FontText{%
  \mellow\usefont{T1}{phv}{m}{n}\fontsize{14.4pt}{14pt}\selectfont}{%
  \black\usefont{T1}{phv}{m}{n}\fontsize{14.4pt}{14pt}\selectfont}
\BGColor{black}{white}

\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]{%
  \if@inColor
  \if@colorBG
  \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: