summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/prosper/PPRdefault.sty
blob: 05762be8937e59c0a438a7b30ace44eca0995f21 (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
%==============================================================================
%% PPRdefault.sty (a slide style for Prosper)
%% Copyright 2000-2001 Frédéric Goualard
%%
%% Note: this style was contributed anonymously by a user.
%%
%% 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: PPRdefault.sty,v 1.3 2001/10/24 15:11:25 exupery Exp $
%%=============================================================================
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{PPRdefault}[2000/11/30]
\typeout{`default' style for Prosper ---}
\typeout{CVSId: $Id: PPRdefault.sty,v 1.3 2001/10/24 15:11:25 exupery Exp $}
\typeout{ }

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

\newgray{grayb}{.5}

\FontTitle{%
  \usefont{T1}{ptm}{b}{n}\fontsize{20.74pt}{18pt}\selectfont\blue}{%
  \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}}
}

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

% Definition of this style for slides.

\newcommand{\BasicFrame}[1]{%
%\ifinColor
%\else
%\fi
\psline[linewidth=.5pt,linecolor=grayb](-1,0)(-1,-0.6)(-0.4,-0.6)
\psline[linewidth=.5pt,linecolor=grayb](11,-0.6)(11.6,-0.6)(11.6,0)
\psline[linewidth=.5pt,linecolor=grayb](-1,6.7)(-1,7.3)(-0.4,7.3)
\psline[linewidth=.5pt,linecolor=grayb](11.6,6.7)(11.6,7.3)(11,7.3)
  \PutLogo % Mandatory
 {#1}}

\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: