removed openstack, i didn't do much!
[lectures/latex.git] / styles / PPRhdw.sty
1 % Prosper -- (PPRhdw.sty) Style file
2 % Copyright (c) 2005 hackbard@hackdaworld.org
3
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}
8 \typeout{ }
9 \typeout{BIG FAT WARNING: }
10 \typeout{---------------- }
11 \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 }
15 \typeout{items. }
16 \typeout{ }
17 \typeout{you have been warned! ;) }
18 \typeout{ }
19
20 \RequirePackage{amssymb}
21 \RequirePackage{graphicx}
22 \IfFileExists{pst-grad}{\RequirePackage{pst-grad}}{\RequirePackage{gradient}}
23
24 \FontTitle{%
25   \usefont{T1}{ptm}{m}{sl}\fontsize{22pt}{20pt}\selectfont\black}{%
26   \usefont{T1}{ptm}{m}{sl}\fontsize{22pt}{20pt}\selectfont\blue}
27 \FontText{%
28   \black\usefont{T1}{phv}{m}{n}\fontsize{14.4pt}{14pt}\selectfont}{%
29   \black\usefont{T1}{phv}{m}{n}\fontsize{14.4pt}{14pt}\selectfont}
30
31 \ColorFoot{\black}
32
33 % Positionning of the title of a slide.
34 \newcommand{\slidetitle}[1]{%
35   \rput[l](-1,4.3){\fontTitle{#1}}
36 }
37
38 % Positionning for a logo
39 \LogoPosition{-1,-1.1}
40
41 % Definition of this style for slides.
42
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}}
48   %\PutLogo
49  {#1}}
50
51 \myitem{1}{\includegraphics[width=.4cm]{item.eps}}
52 \myitem{2}{\includegraphics[width=.3cm]{item.eps}}
53 \myitem{3}{\includegraphics[width=.3cm]{item.eps}}
54
55 \NewSlideStyle{t}{4.5,3.6}{hdwframe}
56 \PDFCroppingBox{10 40 594 800}
57 \RequirePackage{semhelv}
58
59 \endinput