From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- macros/latex/contrib/prosper/PPRdefault.sty | 73 +++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 macros/latex/contrib/prosper/PPRdefault.sty (limited to 'macros/latex/contrib/prosper/PPRdefault.sty') diff --git a/macros/latex/contrib/prosper/PPRdefault.sty b/macros/latex/contrib/prosper/PPRdefault.sty new file mode 100644 index 0000000000..05762be893 --- /dev/null +++ b/macros/latex/contrib/prosper/PPRdefault.sty @@ -0,0 +1,73 @@ +%============================================================================== +%% PPRdefault.sty (a slide style for Prosper) +%% Copyright 2000-2001 Frédéric Goualard +%% +%% Note: this style was contributed anonymously by a user. +%% +%% This program may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.2 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.2 or later is part of all distributions of LaTeX +%% version 1999/12/01 or later. +%% +%% This program consists of the files listed in manifest.txt +%% +%% CVSId : $Id: PPRdefault.sty,v 1.3 2001/10/24 15:11:25 exupery Exp $ +%%============================================================================= +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{PPRdefault}[2000/11/30] +\typeout{`default' style for Prosper ---} +\typeout{CVSId: $Id: PPRdefault.sty,v 1.3 2001/10/24 15:11:25 exupery Exp $} +\typeout{ } + +\RequirePackage{amssymb} +% Loading packages necessary to define this slide style. +% none + +\newgray{grayb}{.5} + +\FontTitle{% + \usefont{T1}{ptm}{b}{n}\fontsize{20.74pt}{18pt}\selectfont\blue}{% + \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}} +} + +% Positionning for a logo +\LogoPosition{-1,-1.1} + +% Definition of this style for slides. + +\newcommand{\BasicFrame}[1]{% +%\ifinColor +%\else +%\fi +\psline[linewidth=.5pt,linecolor=grayb](-1,0)(-1,-0.6)(-0.4,-0.6) +\psline[linewidth=.5pt,linecolor=grayb](11,-0.6)(11.6,-0.6)(11.6,0) +\psline[linewidth=.5pt,linecolor=grayb](-1,6.7)(-1,7.3)(-0.4,7.3) +\psline[linewidth=.5pt,linecolor=grayb](11.6,6.7)(11.6,7.3)(11,7.3) + \PutLogo % Mandatory + {#1}} + +\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: -- cgit v1.2.3