diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-13 00:03:33 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-13 00:03:33 +0000 |
commit | bbcc6f9fcd3737edc987b1df9e63e52407da99d3 (patch) | |
tree | 8635345408dcecb0c553d98ea27fffa9fc6d52e0 /Master/texmf-dist/tex/latex/prosper/PPRwj.sty | |
parent | dba09c751a6f9d8fd641a41c73fc590634c4eb19 (diff) |
prosper
git-svn-id: svn://tug.org/texlive/trunk@1223 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/prosper/PPRwj.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/prosper/PPRwj.sty | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/prosper/PPRwj.sty b/Master/texmf-dist/tex/latex/prosper/PPRwj.sty new file mode 100644 index 00000000000..698fd2f7305 --- /dev/null +++ b/Master/texmf-dist/tex/latex/prosper/PPRwj.sty @@ -0,0 +1,81 @@ +%============================================================================== +% Prosper -- (PPRwj.sty) Style file +% A LaTeX class for creating slides +% Author: Willem-Jan van Hoeve, (W.J.van.Hoeve@cwi.nl) +% +% Permission is hereby granted, without written agreement and without +% license or royalty fees, to use, copy, modify, and distribute this +% software and its documentation for any purpose, provided that the +% above copyright notice and the following two paragraphs appear in +% all copies of this software. +% +% IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, +% SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF +% THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE AUTHOR HAS BEEN ADVISED +% OF THE POSSIBILITY OF SUCH DAMAGE. +% +% THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, +% INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +% AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS +% ON AN "AS IS" BASIS, AND THE AUTHOR HAS NO OBLIGATION TO +% PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. +% +% CVSId : $Id: PPRwj.sty,v 1.1 2003/01/27 14:39:22 exupery Exp $ +%============================================================================== +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{PPRwj}[2001/04/03] +\typeout{`wj' style for Prosper ---} +\typeout{CVSId: $Id: PPRwj.sty,v 1.1 2003/01/27 14:39:22 exupery Exp $} +\typeout{ } + +\RequirePackage{amssymb} +% Loading packages necessary to define this slide style. +% none + +\newgray{grayb}{.5} + +\FontTitle{% + \usefont{T1}{phv}{b}{n}\fontsize{20.74pt}{18pt}\selectfont\red}{% + \usefont{T1}{ptm}{b}{n}\fontsize{20.74pt}{18pt}\selectfont\blue} +\FontText{% + \black\usefont{T1}{phv}{m}{n}\fontsize{12.4pt}{12pt}\selectfont}{% + \black\usefont{T1}{phv}{m}{n}\fontsize{12.4pt}{12pt}\selectfont} + + +% Positionning of the title of a slide. +\newcommand{\slidetitle}[1]{% + %\rput[c](5.25,4.4){\fontTitle{#1}} + \rput[l](-0.5,4.4){\fontTitle{#1}} +} + +% Positionning for a logo +\LogoPosition{-1,-1.1} + +% Definition of this style for slides. + +\newcommand{\BasicFrame}[1]{% +%\ifinColor +%\else +%\fi +\psline[linewidth=1.5pt,linecolor=yellow](-1,7.4)(11.4,7.4) % upper +\psline[linewidth=1.5pt,linecolor=yellow](-1,-0.6)(11.4,-0.6) % down +\psline[linewidth=.5pt,linecolor=red](-1,7.4)(11.4,7.4) % upper +\psline[linewidth=.5pt,linecolor=red](-1,-0.6)(11.4,-0.6) % down + \PutLogo % Mandatory + {#1}} + +\NewSlideStyle[115mm]{t}{5.3,3.5}{BasicFrame} +%\NewSlideStyle[115mm]{t}{5.3,3.2}{BasicFrame} +\PDFCroppingBox{10 40 594 800} +\RequirePackage{semhelv} + +\myitem{1}{\includegraphics[width=.4cm]{red-bullet-on-white.ps}} +\myitem{2}{\includegraphics[width=.3cm]{green-bullet-on-white.ps}} +\myitem{3}{\includegraphics[width=.3cm]{yellow-bullet-on-white.ps}} + +\endinput + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: t +%%% End: |