\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{PPRlatex-seminar}[2000/10/18]
\typeout{`Modified Dark blue background' style for prosper ---}
\typeout{ }

\IfFileExists{pst-grad}{\RequirePackage{pst-grad}}{\RequirePackage{gradient}}

\newrgbcolor{darkblue}{0.09766 0.09766 0.4375}

\newrgbcolor{myblue}{.2 .36 .77}

\ifinColor
\def\colorA{darkblue}
\def\colorB{myblue}
\ifcolorBG
  \def\colC{\white}
\else
  \def\colC{\black}
\fi
\else
\def\colorA{lightgray}
\def\colorB{white}
\def\colC{\black}
\fi

\FontTitle{%
  \usefont{T1}{ptm}{b}{n}\fontsize{20.74pt}{20pt}\selectfont%
  \lightgray}{%
  \usefont{T1}{ptm}{b}{n}\fontsize{20.74pt}{20pt}\selectfont%
  \white}

%% \FontText{\colC\usefont{T1}{phv}{m}{n}\fontsize{14.4pt}{14pt}%
%%   \selectfont}{%
%%   \colC\usefont{T1}{phv}{m}{n}\fontsize{14.4pt}{14pt}\selectfont}

%% Use the Latex slide fonts (semlcmss.sty) instead of the
%% helvetica fonts - I like them better :-).
%% Also selecting arbitrary font size for \FontText can create
%% inappropriate realtions ships between \FontText and \small
%% \normalsize. Better by far to use the default document fonts
%% and use the semlcmss, or semhelv and \ptsize{} command
%% top get the fonts you want.
%%
%% Also for slides I like to squeeze the space between lines
%% a little - hence the \baselinestretch factor
\FontText{%
  \colC\renewcommand{\baselinestretch}{0.8}\normalsize%
}{%
  \colC\renewcommand{\baselinestretch}{0.8}\normalsize%
}

%%\renewcommand{\normalcolor}{\colC}

\ifinColor
\ColorFoot{\cyan}
\else
\ColorFoot{\black}
\fi

\newcommand{\slidetitle}[1]{%
  \rput[lt](-.4,4.5){\fontTitle{#1}}}

\LogoPosition{-.4,-.7}

\newcommand{\darkblueFrame}[1]{%
  \psframe[fillstyle=gradient,gradbegin=\colorA,gradend=\colorB,%
           gradmidpoint=1,gradangle=90](-2,-1.4)(12.5,9)
\ifinColor
 \ifcolorBG
  \psframe[fillstyle=gradient,gradbegin=darkblue,gradend=myblue,%
           gradmidpoint=0,gradangle=90,linestyle=none](-.53,-.5)(12.5,7.2)
 \else
  \psframe[fillstyle=solid,fillcolor=white,linestyle=none](-.53,-.8)(12.5,7.2)
 \fi
\else
  \psframe[fillstyle=solid,fillcolor=white,linestyle=none](-.53,-.8)(12.5,7.2)
\fi 
  \psframe[fillstyle=gradient,gradbegin=red,gradend=black,gradmidpoint=1,%
           gradangle=90,linestyle=none](-2,8.6)(-.53,7.2)
  \PutLogo % Mandatory
  {#1}}

\newsavebox{\myitemi}
\newsavebox{\myitemii}
\newsavebox{\myitemiii}
\ifcolorBG
\sbox{\myitemi}{\includegraphics[width=.3cm]{red-bullet-on-blue.ps}}
\sbox{\myitemii}{\includegraphics[width=.25cm]{green-bullet-on-blue.ps}}
\sbox{\myitemiii}{\includegraphics[width=.25cm]{yellow-bullet-on-blue.ps}}
\else
\sbox{\myitemi}{\includegraphics[width=.3cm]{red-bullet-on-white.ps}}
\sbox{\myitemii}{\includegraphics[width=.25cm]{green-bullet-on-white.ps}}
\sbox{\myitemiii}{\includegraphics[width=.25cm]{yellow-bullet-on-white.ps}}
\fi

\myitem{1}{\usebox{\myitemi}}
\myitem{2}{\usebox{\myitemii}}
\myitem{3}{\usebox{\myitemiii}}

\NewSlideStyle[11.5cm]{t}{5.8,3.2}{darkblueFrame}

%% \RequirePackage{semhelv}
%%\usepackage{times}\AtBeginDocument{\ptsize{17}}
%%\usepackage{semhelv}\AtBeginDocument{\ptsize{17}}

%% I use my own doctored version of semlcmss which
%% adds support for \ptsize()'s other than 10.
\usepackage{my-semlcmss}\AtBeginDocument{\ptsize{14}}

%\boldmath

\PDFCroppingBox{5 10 590 810}


\endinput

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: t
%%% End: 
