%============================================================================== % Prosper -- (PPRrybflags.sty) Style file % A LaTeX class for creating slides % Author: Yue MA (coolger@gmail.com) % http://ma-yue.net % Univeristy of Tokushima, Japan % % Copyright (c) 2004 Yue MA % All rights reserved. % % !! This style file is a revised version of PPRblends.sty !! % % 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. % %============================================================================= \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{PPRrybflags}[2001/11/15] \typeout{'RYBFlags' style for Prosper ---} \typeout{(c) 2004 Yue MA} \IfFileExists{pst-grad}{\RequirePackage{pst-grad}}{\RequirePackage{gradient}} \RequirePackage{semhelv} \ifinColor \newrgbcolor{cyellow}{1.0 1 0} \newrgbcolor{cred}{1.0 0 0} \newrgbcolor{cblue}{0 0 1} \newrgbcolor{ctitle}{0.2 0.2 1} \newrgbcolor{cblack}{0.110 0.110 0.110} \else \newgray{cyellow}{0.75} \newgray{cred}{0.50} \newgray{cblue}{0.25} \newgray{ctitle}{0.00} \newrgbcolor{cblack}{0.110 0.110 0.110} \fi \FontTitle{% \usefont{T1}{phv}{b}{n}\fontsize{17.28pt}{14pt}\selectfont\ctitle}{% \usefont{T1}{phv}{b}{n}\fontsize{17.28pt}{14pt}\selectfont\ctitle} \FontText{% \black\usefont{T1}{phv}{m}{n}\fontsize{14pt}{12pt}\selectfont}{% \black\usefont{T1}{phv}{m}{n}\fontsize{14pt}{12pt}\selectfont} \ColorFoot{\ctitle} \newcommand{\slidetitle}[1]{% \rput[lb](0,3.3){% \parbox{9.4cm}{\begin{flushleft}\fontTitle{#1}\end{flushleft}}}} \LogoPosition{-1.5,-1.1} \newcommand{\Blendsframe}[1]{% \rput[lt](-1.5,6.0){% \psframe[gradbegin=cyellow,gradend=white,gradmidpoint=1, gradangle=135,fillstyle=gradient,gradlines=1000, linestyle=none](1.1,3)(14,0.7) \psframe[gradbegin=cblue,gradend=white,gradmidpoint=1, gradangle=-45,fillstyle=gradient,gradlines=1000, linestyle=none](-0.2,0.7)(1.1,-9) \psframe[gradbegin=white,gradend=cred,gradmidpoint=1, gradangle=45,fillstyle=gradient,gradlines=1000, linestyle=none](-0.2,3)(1.1,0.7) \psframe[gradbegin=white,gradend=cblack,gradmidpoint=1, gradangle=0,fillstyle=gradient,gradlines=1000, linestyle=none](1.06,3)(1.15,0.6) \psframe[gradbegin=cblack,gradend=white,gradmidpoint=1, gradangle=0,fillstyle=gradient,gradlines=1000, linestyle=none](1.06,0.7)(1.15,-9) \psframe[gradbegin=cblack,gradend=white,gradmidpoint=1, gradangle=90,fillstyle=gradient,gradlines=1000, linestyle=none](1.0,0.75)(14,0.66) \psframe[gradbegin=white,gradend=cblack,gradmidpoint=1, gradangle=90,fillstyle=gradient,gradlines=1000, linestyle=none](-0.5,0.75)(1.1,0.66) %%\psgrid(0,0)(-10,-10)(20,10) } \PutLogo % Mandatory {#1}} \myitem{1}{\psframe[fillstyle=solid,fillcolor=cblue,% linestyle=none](-.15,.25)(0.1,.1)} \myitem{2}{\psframe[fillstyle=solid,fillcolor=cred,% linestyle=none](-.15,.25)(0.1,.1)} \myitem{3}{\psframe[fillstyle=solid,fillcolor=cyellow,% linestyle=none](-.15,.25)(0.1,.1)} %%\NewSlideStyle{t}{5.2,2.2}{Blendsframe} \NewSlideStyle{tl}{0.2,2.5}{Blendsframe} \PDFCroppingBox{0 15 700 810} \endinput