From: hackbard Date: Wed, 2 Nov 2005 01:51:20 +0000 (+0000) Subject: added hdw prosper style (needs to get improved) X-Git-Url: https://hackdaworld.org/gitweb/?a=commitdiff_plain;h=bf667bfcbcfebd2d452f6477bc427e0d74c9a519;p=lectures%2Flatex.git added hdw prosper style (needs to get improved) --- diff --git a/styles/PPRhdw.sty b/styles/PPRhdw.sty new file mode 100644 index 0000000..eb5a895 --- /dev/null +++ b/styles/PPRhdw.sty @@ -0,0 +1,44 @@ +% Prosper -- (PPRhdw.sty) Style file +% Copyright (c) 2005 hackbard@hackdaworld.org + +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{PPRhdw}[2005/11/01] +\typeout{`hdw' style for Prosper ---} +\typeout{(c) 2005 hackbard@hackdaworld.org} +\typeout{ } + +\RequirePackage{amssymb} +\IfFileExists{pst-grad}{\RequirePackage{pst-grad}}{\RequirePackage{gradient}} + +\FontTitle{% + \usefont{T1}{ptm}{m}{sl}\fontsize{22pt}{20pt}\selectfont\black}{% + \usefont{T1}{ptm}{m}{sl}\fontsize{22pt}{20pt}\selectfont\blue} +\FontText{% + \black\usefont{T1}{phv}{m}{n}\fontsize{14.4pt}{14pt}\selectfont}{% + \black\usefont{T1}{phv}{m}{n}\fontsize{14.4pt}{14pt}\selectfont} + +\ColorFoot{\black} + +% Positionning of the title of a slide. +\newcommand{\slidetitle}[1]{% + \rput[l](-1,4.3){\fontTitle{#1}} +} + +% Positionning for a logo +\LogoPosition{-1,-1.1} + +% Definition of this style for slides. + +\newcommand{\hdwframe}[1]{% + \psline[linewidth=.5pt](-1,7.5)(11.3,7.5) + \psline[linewidth=.5pt](-1,-0.7)(11.3,-0.7) + \rput(9.5,7.8){\includegraphics[height=1.5cm]{tr.eps}} + \rput(0.8,-0.4){\includegraphics[height=1.5cm]{bl.eps}} + %\PutLogo + {#1}} + +\NewSlideStyle{t}{4.5,3.6}{hdwframe} +\PDFCroppingBox{10 40 594 800} +\RequirePackage{semhelv} + +\endinput