%%% PPRpleasingblue.sty --- A prosper style file %% Copyright (C) 2002 by Nevin Kapur %% Author: Nevin Kapur %% This is free software; you can redistribute it and/or modify it %% under the terms of the GNU General Public License as published by %% the Free Software Foundation; either version 2, or (at your option) %% any later version. %% This is distributed in the hope that it will be useful, but %% WITHOUT ANY WARRANTY; without even the implied warranty of %% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU %% General Public License for more details. %%% Commentary: %% This style is inspired by the ConTeXt screen manual. Thanks to %% Jason DeVinney for his help. %% The picture below shows the look of each page. All the colors are %% customizable using \newrgbcolor{[colorname]}{r g b}, and the %% defaults are mentioned below the picture. I would like %% to hear from you if you have interesting color scheme. %% | titlecolor | %% --+--------------------------------------------+-- %% | | %% | textcolor | %% | | %% | - leveloneitem | %% | o leveltwoitem | %% | x levelthreeitem | %% | | %% | | %% | | %% | textbackground | frame- %% | | background %% | | %% | | %% | |<- frameline %% | | %% --+--------------------------------------------+-- %% | | %% %% User-configurable colors: (default) %% - framebackground (white) %% - textbackground (light gray) %% - frameline (bluish) %% - titlecolor (goldenrod) %% - subtitlecolor (dark goldenrod) %% - textcolor (dark bluish) %% - leveloneitem (indian red) %% - leveltwoitem (dark slate gray) %% - levelthreeitem (lavenderish) %%% Code: \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{PPRpleasingblue}[2002/01/31] \typeout{`pleasingblue' style for Prosper ---} \typeout{CVSId: $Id: PPRpleasingblue.sty,v 1.3 2002/10/18 20:13:55 nevin Exp $} \typeout{ } %% Color definitions \newrgbcolor{framebackground}{1 1 1} \newrgbcolor{textbackground}{.96 .96 .96} \newrgbcolor{frameline}{.415 .600 .706} \newrgbcolor{titlecolor}{.855 .647 .125} \newrgbcolor{subtitlecolor}{.545 .412 .078} \newrgbcolor{textcolor}{0 .125 .223} \newrgbcolor{leveloneitem}{.804 0.361 0.361} \newrgbcolor{leveltwoitem}{.184 .310 .310} \newrgbcolor{levelthreeitem}{0.706 0.490 0.612} \FontTitle{% \usefont{T1}{phv}{b}{n}\fontsize{12pt}{14.4pt}\selectfont\titlecolor}{% \usefont{T1}{phv}{b}{n}\fontsize{12pt}{14.4pt}\selectfont\black} \FontSubtitle{% \usefont{T1}{phv}{b}{n}\fontsize{10pt}{12pt}\selectfont\subtitlecolor}{% \usefont{T1}{phv}{b}{n}\fontsize{10pt}{12pt}\selectfont\black} \FontText{% \usefont{T1}{phv}{m}{n}\fontsize{10pt}{12pt}\selectfont\textcolor}{% \usefont{T1}{phv}{m}{n}\fontsize{10pt}{12pt}\selectfont\black} \ColorFoot{\textcolor} % 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]{% \ifcolorBG \psframe*[linecolor=framebackground](-1.3,-1.4)(12.2,8.7)% \psframe*[linecolor=textbackground](-.45,-.4)(11.0,7.65)% \else \fi \ifinColor %% SW - SE \psline[linecolor=frameline,linewidth=0](-.55,-.4)(11.1,-.4)% %% SE - NE \psline[linecolor=frameline,linewidth=0](11,-.5)(11,7.75)% %% NW - NE \psline[linecolor=frameline,linewidth=0](-.55,7.65)(11.1,7.65)% %% SW - NW \psline[linecolor=frameline,linewidth=0](-.45,-.5)(-.45,7.75)% \else %% SW - SE \psline[linecolor=black,linewidth=0](-.55,-.4)(11.1,-.4)% %% SE - NE \psline[linecolor=black,linewidth=0](11,-.5)(11,7.75)% %% NW - NE \psline[linecolor=black,linewidth=0](-.55,7.65)(11.1,7.65)% %% SW - NW \psline[linecolor=black,linewidth=0](-.45,-.5)(-.45,7.75)% \fi %% Navigation buttons when in PDF \onlyInPDF{% \rput[c](5.4,-.75){% \psframebox[linecolor=frameline,% fillcolor=textbackground,linewidth=0pt,% fillstyle=solid]{% \ttfamily\tiny\textcolor \Acrobatmenu{GoBack}{\makebox[\totalheight]{<}}~% \Acrobatmenu{GoForward}{\makebox[\totalheight]{>}}~% \Acrobatmenu{PrevPage}{\makebox[\totalheight]{-}}~% \Acrobatmenu{NextPage}{\makebox[\totalheight]{+}}% }% }% }% \PutLogo% Mandatory {#1}} \NewSlideStyle{t}{5.3,3.2}{BasicFrame} \PDFCroppingBox{10 40 594 800} \RequirePackage{semhelv} \ifinColor \myitem{1}{\psframe*[linecolor=leveloneitem](-.15,.22)(0.03,.04)}% \myitem{2}{\psframe*[linecolor=leveltwoitem](-.15,.22)(0.03,.04)}% \myitem{3}{\psframe*[linecolor=levelthreeitem](-.15,.22)(0.03,.04)}% \else \myitem{1}{\psframe[fillstyle=solid,fillcolor=black,% linestyle=solid](-.15,.22)(0.03,.04)}% \myitem{2}{\psframe[fillstyle=crosshatch,hatchwidth=.2pt,% hatchsep=1pt,fillcolor=black,% linestyle=solid](-.15,.22)(0.03,.04)}% \myitem{3}{\psframe[fillstyle=none,fillcolor=black,% linestyle=solid](-.15,.22)(0.03,.04)}% \fi \titleSpacing{\vspace*{10pt}} \endinput %%% PPRpleasingblue.sty ends here