added hdw prosper style (needs to get improved)
[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
10 \RequirePackage{amssymb}
11 \IfFileExists{pst-grad}{\RequirePackage{pst-grad}}{\RequirePackage{gradient}}
12
13 \FontTitle{%
14   \usefont{T1}{ptm}{m}{sl}\fontsize{22pt}{20pt}\selectfont\black}{%
15   \usefont{T1}{ptm}{m}{sl}\fontsize{22pt}{20pt}\selectfont\blue}
16 \FontText{%
17   \black\usefont{T1}{phv}{m}{n}\fontsize{14.4pt}{14pt}\selectfont}{%
18   \black\usefont{T1}{phv}{m}{n}\fontsize{14.4pt}{14pt}\selectfont}
19
20 \ColorFoot{\black}
21
22 % Positionning of the title of a slide.
23 \newcommand{\slidetitle}[1]{%
24   \rput[l](-1,4.3){\fontTitle{#1}}
25 }
26
27 % Positionning for a logo
28 \LogoPosition{-1,-1.1}
29
30 % Definition of this style for slides.
31
32 \newcommand{\hdwframe}[1]{%
33   \psline[linewidth=.5pt](-1,7.5)(11.3,7.5)
34   \psline[linewidth=.5pt](-1,-0.7)(11.3,-0.7)
35   \rput(9.5,7.8){\includegraphics[height=1.5cm]{tr.eps}}
36   \rput(0.8,-0.4){\includegraphics[height=1.5cm]{bl.eps}}
37   %\PutLogo
38  {#1}}
39
40 \NewSlideStyle{t}{4.5,3.6}{hdwframe}
41 \PDFCroppingBox{10 40 594 800}
42 \RequirePackage{semhelv}
43
44 \endinput