1 % Prosper -- (PPRhdw.sty) Style file
2 % Copyright (c) 2005 hackbard@hackdaworld.org
4 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
5 \ProvidesPackage{PPRhdw}[2005/11/01]
6 \typeout{`hdw' style for Prosper ---}
7 \typeout{(c) 2005 hackbard@hackdaworld.org}
9 \typeout{BIG FAT WARNING: }
10 \typeout{---------------- }
12 \typeout{you will need three (almost) quadratic graphics }
13 \typeout{in your image path called tr.eps, bl.eps (logos) }
14 \typeout{and item.eps, which will be used for all kind of }
17 \typeout{you have been warned! ;) }
20 \RequirePackage{amssymb}
21 \RequirePackage{graphicx}
22 \IfFileExists{pst-grad}{\RequirePackage{pst-grad}}{\RequirePackage{gradient}}
25 \usefont{T1}{ptm}{m}{sl}\fontsize{22pt}{20pt}\selectfont\black}{%
26 \usefont{T1}{ptm}{m}{sl}\fontsize{22pt}{20pt}\selectfont\blue}
28 \black\usefont{T1}{phv}{m}{n}\fontsize{14.4pt}{14pt}\selectfont}{%
29 \black\usefont{T1}{phv}{m}{n}\fontsize{14.4pt}{14pt}\selectfont}
33 % Positionning of the title of a slide.
34 \newcommand{\slidetitle}[1]{%
35 \rput[l](-1,4.3){\fontTitle{#1}}
38 % Positionning for a logo
39 \LogoPosition{-1,-1.1}
41 % Definition of this style for slides.
43 \newcommand{\hdwframe}[1]{%
44 \psline[linewidth=.5pt](-1,7.5)(11.3,7.5)
45 \psline[linewidth=.5pt](-1,-0.7)(11.3,-0.7)
46 \rput(9.5,7.8){\includegraphics[height=1.5cm]{tr.eps}}
47 \rput(0.8,-0.4){\includegraphics[height=1.5cm]{bl.eps}}
51 \myitem{1}{\includegraphics[width=.4cm]{item.eps}}
52 \myitem{2}{\includegraphics[width=.3cm]{item.eps}}
53 \myitem{3}{\includegraphics[width=.3cm]{item.eps}}
55 \NewSlideStyle{t}{4.5,3.6}{hdwframe}
56 \PDFCroppingBox{10 40 594 800}
57 \RequirePackage{semhelv}