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
96
97
|
%%=============================================================================
%% PPRautumn.sty (a slide style for Prosper)
%% Copyright 2000-2001 Frédéric Goualard
%%
%% 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: PPRautumn.sty,v 1.6 2002/10/08 18:34:55 exupery Exp $
%%=============================================================================
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{PPRautumn}[2000/11/24]
\typeout{`autumn' style for Prosper ---}
\typeout{(c) 2000 Frederic Goualard, CWI, The Netherlands}
\typeout{CVSId: $Id: PPRautumn.sty,v 1.6 2002/10/08 18:34:55 exupery Exp $}
\typeout{ }
% Required packages
\IfFileExists{pst-grad}{\RequirePackage{pst-grad}}{\RequirePackage{gradient}}
\RequirePackage{amssymb}
\RequirePackage{times}
% Colors
\newrgbcolor{goldenrod}{.80392 .60784 .11373}
\newrgbcolor{darkgoldenrod}{.5451 .39608 .03137}
\newrgbcolor{brown}{.15 .15 .15}
\newrgbcolor{darkolivegreen}{.33333 .41961 .18431}
\ifinColor
\def\colA{darkolivegreen}
\def\colB{brown}
\global\let\colC=\goldenrod
\ifcolorBG
\global\let\colD=\white
\else
\global\let\colD=\black
\fi
\else
\def\colA{white}
\def\colB{lightgray}
\global\let\colC=\blue
\global\let\colD=\black
\fi
% The fonts
\FontTitle{%
\usefont{T1}{ptm}{b}{n}\fontsize{20.74pt}{20pt}\selectfont\colC}{%
\usefont{T1}{ptm}{b}{n}\fontsize{20.74pt}{20pt}\selectfont\colC}
\FontText{%
\usefont{T1}{ptm}{m}{n}\fontsize{14.4pt}{13pt}\selectfont\colD}{%
\usefont{T1}{ptm}{m}{n}\fontsize{14.4pt}{13pt}\selectfont\colD}
\ColorFoot{\colD}
% Positionning of the title of a slide.
\def\slidetitle#1{\rput[lb](-.7,3.8){%
\parbox{11.5cm}{\fontTitle{\baselineskip=0pt #1}}}}
% Positionning for a logo
\LogoPosition{-1,-1.1}
\newcommand{\BSquareFrame}[1]{%
\ifcolorBG
\psframe[fillstyle=gradient,gradbegin=\colB,gradend=\colA,gradmidpoint=1]%
(-2,-1.4)(12.5,9)
\psframe[fillstyle=gradient,gradbegin=darkolivegreen,gradend=darkgoldenrod,gradmidpoint=1,
linestyle=none]%
(-2,-1.4)(1,9)
\fi
\psline[linecolor=darkgoldenrod,linewidth=3pt](-.7,7.1)(13,7.1)
\psline[linecolor=darkgoldenrod,linewidth=1pt](-.7,7)(13,7)
\PutLogo % Mandatory
{#1}}
\myitem{1}{\psframe[fillstyle=solid,fillcolor=goldenrod,%
linestyle=none](-.15,.25)(0.1,.01)}
\myitem{2}{\psframe[fillstyle=solid,fillcolor=green,%
linestyle=none](-.15,.25)(0.1,.01)}
\myitem{3}{\psframe[fillstyle=solid,fillcolor=green,%
linestyle=none](-.15,.25)(0.1,.01)}
\NewSlideStyle[11.6cm]{t}{5.4,3}{BSquareFrame}
\PDFCroppingBox{10 35 594 830}
\titleSpacing{\vspace*{20pt}}
\endinput
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
|