%%
%% This is file `powerdot-klope.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% powerdot.dtx  (with options: `pdklope')
%% 
%% ---------------------------------------------------------------
%% Copyright (C) 2005-2014 Hendri Adriaens
%% ---------------------------------------------------------------
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%%   http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2003/12/01 or later.
%%
%% This work has the LPPL maintenance status "maintained".
%%
%% This Current Maintainer of this work is Hendri Adriaens.
%%
%% This work consists of all files listed in manifest.txt.
%%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{powerdot-klope}[2005/12/10 v1.1 klope style (CE,HA)]
\RequirePackage{pifont}
\RequirePackage{pst-slpe}
\pddefinepalettes{Spring}{
  \definecolor{pdcolor1}{rgb}{.475,.376,.271} % cedar
  \definecolor{pdcolor2}{rgb}{.682,.749,.376} % moss
  \definecolor{pdcolor3}{rgb}{1,.949,.749}    % sand
  \definecolor{pdcolor4}{rgb}{.749,.675,.376} % driftwood
  \colorlet{myiacolor}{pdcolor4}
  \colorlet{sectitlecolor}{pdcolor2}
  \colorlet{stitlecolor}{pdcolor3}
  \colorlet{lgsquare}{pdcolor1}
  \colorlet{smsquare}{pdcolor4}
  \colorlet{slidebg}{pdcolor3}
  \colorlet{slidehbg}{pdcolor2}
  \colorlet{mytoctcolor}{pdcolor1}
  \colorlet{mytochltcolor}{pdcolor3}
  \def\pd@klopebg{%
    \psframe[linestyle=none,fillstyle=slope,slopebegin=pdcolor3,%
      slopeend=pdcolor2,slopeangle=270](0,0)(\slidewidth,\slideheight)%
  }
}{PastelFlower}{
  \definecolor{pdcolor1}{rgb}{.349,.5,.5}     % sea green
  \definecolor{pdcolor2}{rgb}{.8,.706,.561}   % brown
  \definecolor{pdcolor3}{rgb}{.812,.902,.902} % sky blue
  \definecolor{pdcolor4}{rgb}{.8,.561,.561}   % rose
  \colorlet{myiacolor}{pdcolor4}
  \colorlet{sectitlecolor}{pdcolor4}
  \colorlet{stitlecolor}{pdcolor3}
  \colorlet{lgsquare}{pdcolor1}
  \colorlet{smsquare}{pdcolor4}
  \colorlet{slidebg}{pdcolor3}
  \colorlet{slidehbg}{pdcolor2}
  \colorlet{mytoctcolor}{pdcolor1}
  \colorlet{mytochltcolor}{pdcolor3}
  \def\pd@klopebg{%
    \psframe[linestyle=none,fillstyle=slope,slopebegin=pdcolor3,%
      slopeend=pdcolor2,slopeangle=270](0,0)(\slidewidth,\slideheight)%
  }
}{BlueWater}{
  \definecolor{pdcolor1}{rgb}{.902,.957,1}    % lightblue
  \definecolor{pdcolor2}{rgb}{.376,.588,.749} % medblue
  \definecolor{pdcolor3}{rgb}{.749,.635,.376} % lighttan
  \definecolor{pdcolor4}{rgb}{1,.8,.749}      % pink
  \colorlet{myiacolor}{pdcolor3}
  \colorlet{sectitlecolor}{pdcolor1}
  \colorlet{stitlecolor}{pdcolor2}
  \colorlet{lgsquare}{pdcolor3}
  \colorlet{smsquare}{pdcolor4}
  \colorlet{slidebg}{pdcolor2}
  \colorlet{slidehbg}{pdcolor1}
  \colorlet{mytoctcolor}{pdcolor3}
  \colorlet{mytochltcolor}{pdcolor2}
  \def\pd@klopebg{%
    \psframe*[linecolor=pdcolor2](0,0)(\slidewidth,\slideheight)%
  }
}{BlackWhite}{
  \definecolor{pdcolor1}{rgb}{0,0,0}    % white
  \definecolor{pdcolor2}{rgb}{1,1,1}    % black
  \definecolor{pdcolor3}{rgb}{.5,.5,.5} % gray
  \colorlet{myiacolor}{pdcolor3}
  \colorlet{sectitlecolor}{pdcolor1}
  \colorlet{stitlecolor}{pdcolor1}
  \colorlet{lgsquare}{pdcolor1}
  \colorlet{smsquare}{pdcolor3}
  \colorlet{slidebg}{pdcolor2}
  \colorlet{slidehbg}{pdcolor2}
  \colorlet{mytoctcolor}{pdcolor3}
  \colorlet{mytochltcolor}{pdcolor1}
  \def\pd@klopebg{%
    \psframe*[linecolor=pdcolor2](0,0)(\slidewidth,\slideheight)%
  }
}
\pddefinetemplate{titleslide}{
  textpos={.15\slidewidth,.75\slideheight},
  textwidth=.7\slidewidth,
  titlefont=\bfseries\LARGE\centering,
  textfont=\centering,
  textheight=.67\slideheight,
  clockhook=t,clockpos={.5\slidewidth,.045\slideheight},
  clockalign=1,clockcolor=pdcolor1
}{{%
  \psset{linewidth=0pt}\pd@klopebg
  \pd@klopesq+-01\pd@klopesq++00\pd@klopesq-+10\pd@klopesq--11%
}}
\pddefinetemplate{slide}{
  titlepos={.15\slidewidth,.93\slideheight},
  titlewidth=.7\slidewidth,
  titlefont=\bfseries\Large\color{stitlecolor}\centering,
  stochook=t,
  stocpos={.5\slidewidth,.89\slideheight},
  stocwidth=.7\slidewidth,stocorient=h,
  toctcolor=mytoctcolor,
  tochltcolor=mytochltcolor,
  tocsecsep=4pt,
  textpos={.05\slidewidth,.8\slideheight},
  textwidth=.9\slidewidth,
  textheight=.72\slideheight,
  lfpos={.015\slidewidth,.015\slideheight},
  lffont=\tiny,
  cfpos={.5\slidewidth,.015\slideheight},
  cffont=\tiny,
  rfpos={.985\slidewidth,.015\slideheight},
  rffont=\tiny,
  iacolor=myiacolor,
  clockhook=t,clockpos={.5\slidewidth,.045\slideheight},
  clockalign=1,clockcolor=pdcolor1
}{{%
  \psset{linewidth=0pt}%
  \psframe*[linecolor=slidebg](0,0)(\slidewidth,\slideheight)%
  \psframe*[linecolor=slidehbg](0,.85\slideheight)(\slidewidth,\slideheight)%
  \pd@klopesq+-01\pd@klopesq--11%
  \psset{linewidth=.1pt}%
  \psline[linecolor=pdcolor1](0,.05\slideheight)(\slidewidth,.05\slideheight)%
  \psline[linecolor=slidehbg](0,.055\slideheight)(\slidewidth,.055\slideheight)%
}}
\pddefinetemplate[slide]{wideslide}{}{}
\pddefinetemplate[slide]{sectionslide}{
  titlepos={.15\slidewidth,.55\slideheight},
  titlefont=\bfseries\LARGE\color{sectitlecolor}\centering,
  textpos,lfpos,cfpos,rfpos
}{{%
  \psframe*[linecolor=slidebg](0,0)(\slidewidth,.5\slideheight)%
  \pd@klopesq++00\pd@klopesq-+10%
}}
\def\pd@klopesq#1#2#3#4{%
  \@tempdima#3\slidewidth\@tempdimb#4\slideheight
  \advance\@tempdima#1.3cm\advance\@tempdimb#2.3cm
  \edef\pd@tempa{\the\@tempdima}\edef\pd@tempb{\the\@tempdimb}%
  \advance\@tempdima#1.8cm\advance\@tempdimb#2.8cm
  \psframe*[linecolor=lgsquare](\pd@tempa,\pd@tempb)%
    (\@tempdima,\@tempdimb)%
  \@tempdima\pd@tempa\@tempdimb\pd@tempb
  \advance\@tempdima#1.3cm\advance\@tempdimb#2.3cm
  \edef\pd@tempa{\the\@tempdima}\edef\pd@tempb{\the\@tempdimb}%
  \advance\@tempdima#1.7cm\advance\@tempdimb#2.7cm
  \psframe*[linecolor=smsquare](\pd@tempa,\pd@tempb)%
    (\@tempdima,\@tempdimb)%
}
\def\pd@tocdisplay#1{\pd@usedtocfont\color\pd@@toctcolor#1}
\def\pd@tochighlight#1{\pd@usedtocfont\color\pd@@tochltcolor#1}
\setkeys[pd]{section}{sectemp=sectionslide,widesectemp=sectionslide}
\def\labelitemi{\footnotesize\ding{110}}
\def\labelitemii{\small\ding{117}}
\def\labelitemiii{\tiny\ding{110}}
\def\labelitemiv{\tiny\ding{117}}
\pdsetup{
  list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt}
}
\def\rmdefault{cmss}
\endinput
%%
%% End of file `powerdot-klope.sty'.
