summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/prosper/PPRwj.sty
blob: 698fd2f730521a9c2d95091e3120478739035d17 (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
%==============================================================================
% Prosper -- (PPRwj.sty) Style file
% A LaTeX class for creating slides
% Author: Willem-Jan van Hoeve, (W.J.van.Hoeve@cwi.nl)
% 
% 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: PPRwj.sty,v 1.1 2003/01/27 14:39:22 exupery Exp $
%==============================================================================
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{PPRwj}[2001/04/03]
\typeout{`wj' style for Prosper ---}
\typeout{CVSId: $Id: PPRwj.sty,v 1.1 2003/01/27 14:39:22 exupery Exp $}
\typeout{ }

\RequirePackage{amssymb}
% Loading packages necessary to define this slide style.
% none

\newgray{grayb}{.5}

\FontTitle{%
  \usefont{T1}{phv}{b}{n}\fontsize{20.74pt}{18pt}\selectfont\red}{%
  \usefont{T1}{ptm}{b}{n}\fontsize{20.74pt}{18pt}\selectfont\blue}
\FontText{%
  \black\usefont{T1}{phv}{m}{n}\fontsize{12.4pt}{12pt}\selectfont}{%
  \black\usefont{T1}{phv}{m}{n}\fontsize{12.4pt}{12pt}\selectfont}


% Positionning of the title of a slide.
\newcommand{\slidetitle}[1]{%
  %\rput[c](5.25,4.4){\fontTitle{#1}}
  \rput[l](-0.5,4.4){\fontTitle{#1}}
}

% Positionning for a logo
\LogoPosition{-1,-1.1}

% Definition of this style for slides.

\newcommand{\BasicFrame}[1]{%
%\ifinColor
%\else
%\fi
\psline[linewidth=1.5pt,linecolor=yellow](-1,7.4)(11.4,7.4) % upper
\psline[linewidth=1.5pt,linecolor=yellow](-1,-0.6)(11.4,-0.6) % down
\psline[linewidth=.5pt,linecolor=red](-1,7.4)(11.4,7.4) % upper
\psline[linewidth=.5pt,linecolor=red](-1,-0.6)(11.4,-0.6) % down
  \PutLogo % Mandatory
 {#1}}

\NewSlideStyle[115mm]{t}{5.3,3.5}{BasicFrame}
%\NewSlideStyle[115mm]{t}{5.3,3.2}{BasicFrame}
\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: