%============================================================================== % Prosper -- (PPRcray.sty) Style file % A LaTeX class for creating slides % Author: Ki-Joo Kim (kijoo2000@yahoo.com) % US EPA, Cincinnati, OH % Version : 0.2 % Date : 10/24/2003 % You can freely modify and redistribute it! %============================================================================== \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{PPRcray}[2003/10/01] \typeout{`Cray' style for Prosper} \typeout{(c) 2001-2003 Ki-Joo Kim} \typeout{ } % Packages -------------------------------------------------------------------- \RequirePackage{amsmath,amssymb,pifont} % AMS Math & Pifont for dingbats \renewcommand{\familydefault}{\sfdefault} % Needed for sf font on the slide cover \RequirePackage{pst-grad,pst-blur} % Required pstricks packages to make % backgrounds and item bullets % More Color Definitions (in PSTricks) ----------------------------------------- \newrgbcolor{lubrown}{0.6 0.4 0.0} % LU brown \newrgbcolor{lublue}{0.0 0.2 0.6} % LU blue \newrgbcolor{lugray}{0.4 0.4 0.4} % LU gray \newrgbcolor{bblue}{0 0.5 1} % Bright blue \newcmykcolor{pink}{0 0.96 0.39 0} % Wild strawberry color \newcmykcolor{olive}{0.64 0 0.95 0.40} % Olive green color \newrgbcolor{crayorange}{0.965 0.525 0.361} % Cray orange \newrgbcolor{crayblue}{0.643 0.967 0.937} % Cray blue \newrgbcolor{craypurple}{0.757 0.663 1} % Cray purple % Item bullets 1 -------------------------------------------------------------- % Sphere bulltes from Prosper. Fancy, but it will require long compilation % time and generate bulky PDF file (almost double the Pifont bullets). %\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}} % Item bullets 2 -------------------------------------------------------------- % Pifont bullets. Fancy, but any colored stuffs right after Type 1 font % bullets are not working. A known Propser bug. %\myitem{1}{{\raisebox{0.5pt}{{\scriptsize \crayorange \ding{113}}}}} %\myitem{2}{{\raisebox{0.5pt}{{\tiny \craypurple \ding{226}}}}} %\myitem{3}{{\raisebox{0.5pt}{{\tiny \crayblue \ding{51}}}}} % Item bullets 3 -------------------------------------------------------------- % Ki-Joo's bullets created using PSTricks. Almost same PDF size made with % Pifont bullets. \myitem{1}{\scaleboxto(0,1.4ex){% \pspicture[](0,0)(2,2)% \rput(-0.3,0){\psframe[linecolor=crayorange,linewidth=10pt,shadow=true,% blur=true,shadowsize=15pt,shadowcolor=lightgray](0,0)(2,2)}% \endpspicture}}% \myitem{2}{\scaleboxto(0,1.2ex){% \pspicture[](0,0)(2,2)% \rput(-0.3,0){\pspolygon[linecolor=craypurple,linewidth=10pt,shadow=true,% blur=true,shadowsize=15pt,shadowcolor=lightgray](0,0)(0,2)(2,1)}% \endpspicture}}% \myitem{3}{\scaleboxto(0,1.0ex){% \pspicture[](0,0)(2,2)% \rput(-0.3,0){\pscircle[linecolor=crayorange,linewidth=10pt,shadow=true,% blur=true,shadowsize=15pt,shadowcolor=lightgray](1,1){1}}% \endpspicture}}% % Position of Slide Title ----------------------------------------------------- \newcommand{\slidetitle}[1]{\rput[lt](0,4){\fontTitle{#1}}} % Fonts for Slide Title and Body Text ----------------------------------------- % #1 for color slide % #2 for BW slide \FontTitle% {\usefont{OT1}{cmss}{m}{n}\fontsize{20.74pt}{22pt}\selectfont\blue}% {\usefont{OT1}{cmss}{m}{n}\fontsize{20.74pt}{22pt}\selectfont} \FontText% {\usefont{OT1}{cmss}{m}{n}\fontsize{12.4pt}{12pt}\selectfont}% {\usefont{OT1}{cmss}{m}{n}\fontsize{12.4pt}{12pt}\selectfont} % Position for a logo --------------------------------------------------------- \LogoPosition{0,-1.1} % Slide background figure (Currently optimized for letter size) --------------- \newcommand{\CRAYStyle}[1]{% \psset{linewidth=0.7pt}% \psframe[linestyle=none,fillstyle=gradient,gradbegin=white,gradend=crayblue,gradmidpoint=1,gradangle=90](-0.2,-0.4)(-0.6,6.3)% \psframe[linestyle=none,fillstyle=gradient,gradbegin=white,gradend=craypurple,gradmidpoint=1,gradangle=90](-0.7,-0.4)(-1.0,8)% \psframe[linestyle=none,fillstyle=gradient,gradbegin=white,gradend=crayorange,gradmidpoint=1](-0.7,8)(6.2,8.3)% \psline(-1.1,8)(6.3,8)\psline(6.2,8.5)(6.2,7.9)% For crayorange bar \psline(-0.2,6.3)(-0.2,-0.7)% For crayblue bar \psline(-0.7,8.5)(-0.7,-0.5)\psline(-1.1,6.3)(-0.1,6.3)\psline(-1.1,-0.4)(-0.1,-0.4)% For craypurple bar \PutLogo % Mandatory {#1}} \NewSlideStyle{t}{5.3,2.7}{CRAYStyle} % Set the created background \ColorFoot{\black} % Color for footer % Other settings -------------------------------------------------------------- \DefaultTransition{Replace} \PDFCroppingBox{7 30 594 810} % For best view on 4:3 computer monitor \endinput