summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/prosper/PPRprettybox.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-13 00:03:33 +0000
committerKarl Berry <karl@freefriends.org>2006-01-13 00:03:33 +0000
commitbbcc6f9fcd3737edc987b1df9e63e52407da99d3 (patch)
tree8635345408dcecb0c553d98ea27fffa9fc6d52e0 /Master/texmf-dist/tex/latex/prosper/PPRprettybox.sty
parentdba09c751a6f9d8fd641a41c73fc590634c4eb19 (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/PPRprettybox.sty')
-rw-r--r--Master/texmf-dist/tex/latex/prosper/PPRprettybox.sty105
1 files changed, 105 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/prosper/PPRprettybox.sty b/Master/texmf-dist/tex/latex/prosper/PPRprettybox.sty
new file mode 100644
index 00000000000..19c14ccc0ab
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/prosper/PPRprettybox.sty
@@ -0,0 +1,105 @@
+%==============================================================================
+% Prosper -- (PPRprettybox.sty) Style file
+% A LaTeX class for creating slides
+% Author: Marlon Régis Schmitz(mschmitz@if.ufrgs.br)
+% Instituto de Física
+% Universidade Federal do Rio Grande do Sul, Brazil
+%
+% This comes from PPRframes.sty
+% Many thank for Frederic Goualard <Frederic.Goualard@irin.univ-nantes.fr>
+%
+% Copyright (c) 2002 Marlon Régis Schmitz
+% All rights reserved.
+%
+% 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: PPRprettybox.sty,v 1.1 2003/01/27 14:39:20 exupery Exp $
+%==============================================================================
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesPackage{PPRprettybox}[2002/11/29]
+\typeout{`Pretty Box' style for prosper ---}
+\typeout{(c) 2002 Marlon Régis Schmitz,IFUFRGS, Brazil}
+\typeout{CVSId : $Id: PPRprettybox.sty,v 1.1 2003/01/27 14:39:20 exupery Exp $}
+\typeout{Do you like this?}
+
+\RequirePackage{semhelv}
+\RequirePackage{amssymb}
+
+% Loading of pstrick's files (test the current names to generate different
+%versions of pstricks)
+\IfFileExists{pst-grad}{\RequirePackage{pst-grad}}{\RequirePackage{gradient}}
+
+\FontTitle{\usefont{T1}{phv}{b}{sl}\fontsize{14.4pt}{12pt}\selectfont}{%
+ \usefont{T1}{phv}{b}{sl}\fontsize{14.4pt}{12pt}\selectfont}
+\FontText{\usefont{T1}{phv}{m}{n}\fontsize{13pt}{12pt}\selectfont}{%
+ \usefont{T1}{phv}{m}{n}\fontsize{13pt}{12pt}\selectfont}
+
+\def\labelitemi{\ensuremath{\blacktriangleright}}
+
+\newcommand{\slidetitle}[1]{%
+ \rput[lb](0.75,3.65){%
+ \parbox{9cm}{\fontTitle{#1}}}}
+
+\LogoPosition{-1.25,7.5}
+
+%blue tones
+\newrgbcolor{blue1}{0 0 1} %=blue
+\newrgbcolor{blue2}{0 0 .93}
+\newrgbcolor{blue3}{0 0 .8} %=mediumblue
+\newrgbcolor{blue4}{0 0 .55} %=darkblue
+\newrgbcolor{lightblue}{.68 .85 .9}
+\newrgbcolor{mediumblue}{0 0 .8}
+\newrgbcolor{darkblue}{0 0 .55}
+
+%MY gray tones
+\newgray{Gray1}{.75}
+\newgray{Gray2}{0.5}
+\newgray{Gray3}{0.25}
+
+\def\AVeryPrettyBox#1{%
+%line below the title
+ %left line
+ \psframe[linestyle=none,fillstyle=gradient,
+ gradbegin=Gray1, gradend=Gray2,gradmidpoint=1.0]%
+ (0,-1.0)(0.5, 8.5)
+ %bottom line
+ \psframe[linestyle=none,fillstyle=gradient,
+ gradbegin=Gray1, gradend=Gray2,gradmidpoint=1.0, gradangle=90]%
+ (-1.5,-0.5)(12.0, -0.45)
+ %left right
+ \psframe[linestyle=none,fillstyle=gradient,
+ gradbegin=Gray1, gradend=Gray2,gradmidpoint=1.0]%
+ (11.7,-0.75)(11.75, 7.75)
+ %top line
+ \psframe[linestyle=none,fillstyle=gradient,
+ gradbegin=lightblue, gradend=darkblue,gradmidpoint=1.0, gradangle=90]%
+ (-1.5 ,7.0)(12.0,7.25)
+ \PutLogo % Mandatory
+ {#1}}
+
+\NewSlideStyle{t}{6,2.4}{AVeryPrettyBox}
+\PDFCroppingBox{10 40 594 820}
+
+
+\endinput
+
+%%% Local Variables:
+%%% mode: latex
+%%% TeX-master: t
+%%% End: