%%
%% This is file `powerdot-pazik.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% powerdot.dtx  (with options: `pdpazik')
%% 
%% ---------------------------------------------------------------
%% 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-pazik}[2005/12/10 v1.1 pazik style (CE,HA)]
\RequirePackage{pifont}
\RequirePackage{pst-char}
\RequirePackage{pst-grad}
\RequirePackage{type1cm}
\DeclareFixedFont\pd@psmath{OML}{cmm}{m}{it}{2cm}
\DeclareFixedFont\pd@psroman{OT1}{cmr}{m}{n}{2cm}
\pddefinepalettes{red}{
  \definecolor{pdcolor1}{RGB}{225,187,100}    % gold
  \definecolor{pdcolor2}{RGB}{111,24,17}      % brick red
  \definecolor{pdcolor3}{RGB}{0,0,0}          % black
  \colorlet{mytoctcolor}{pdcolor1}
  \colorlet{mytochlcolor}{pdcolor2!90}
  \colorlet{mytitlecolor}{pdcolor1}
  \colorlet{myiacolor}{pdcolor1!65!pdcolor3}
  \def\pd@pazik@i{\pd@psmath\char25}
  \def\pd@pazik@ii{\pd@psroman e}
  \def\pd@pazik@iii{\pd@psroman i}
  \def\pd@pazik@iv{\pd@psmath\char16}
}{brown}{
  \definecolor{pdcolor1}{RGB}{22,80,100}      % blue
  \definecolor{pdcolor2}{rgb}{.749,.635,.376} % tan
  \definecolor{pdcolor3}{RGB}{0,0,0}          % black
  \colorlet{mytoctcolor}{pdcolor2}
  \colorlet{mytochlcolor}{pdcolor1}
  \colorlet{mytitlecolor}{pdcolor2}
  \colorlet{myiacolor}{pdcolor1!70}
  \def\pd@pazik@i{\pd@psmath h}
  \def\pd@pazik@ii{\pd@psmath e}
  \def\pd@pazik@iii{\pd@psmath c}
  \def\pd@pazik@iv{\pd@psmath\char11}
}
\pddefinetemplate{titleslide}{
  textpos={.15\slidewidth,.75\slideheight},
  textwidth=.7\slidewidth,
  titlefont=\bfseries\LARGE\centering,
  textfont=\centering,
  ifsetup=landscape,
    textheight=.67\slideheight,
  ifsetup=portrait,
    textheight=.55\slideheight
}{{%
  \psframe*[linestyle=none,linecolor=pdcolor2!90]%
    (0,0)(\slidewidth,\slideheight)%
  \psset{linestyle=none,fillstyle=gradient,gradbegin=pdcolor2!90,%
    gradend=pdcolor3,gradmidpoint=0,linewidth=0pt}%
  \pdifsetup{landscape}{%
    \psframe[gradangle=90](0\slidewidth,0\slideheight)%
      (.15\slidewidth,\slideheight)%
    \pd@pazik@lbg
  }{%
    \psframe[gradangle=180](0\slidewidth,0\slideheight)%
      (\slidewidth,.2\slideheight)%
    \pd@pazik@pbg
  }%
}}
\pddefinetemplate{basic}{%
  titlefont=\bfseries\LARGE\color{mytitlecolor}\raggedright,
  rfpos={.98\slidewidth,.015\slideheight},
  lffont=\tiny,cffont=\tiny,rffont=\tiny,
  iacolor=myiacolor,
  clockhook=t,
  clockalign=1,
  clockcolor=pdcolor1,
  toctcolor=mytoctcolor,
  tochltcolor=mytoctcolor,
  tochlcolor=mytochlcolor,
  tocfont=\tiny\raggedright,
  ifsetup=landscape,
    textheight=.82\slideheight,
    titlepos={.02\slidewidth,.94\slideheight},
    titlewidth=.96\slidewidth,
  ifsetup=portrait,
    lfpos={.02\slidewidth,.015\slideheight},
    cfpos={.5\slidewidth,.015\slideheight},
    clockpos={.5\slidewidth,.035\slideheight},
    titlepos={.02\slidewidth,.945\slideheight},
    titlewidth=.96\slidewidth,
    textpos={.02\slidewidth,.87\slideheight},
    textwidth=.96\slidewidth,
}{{%
  \psframe*[linestyle=none,linecolor=pdcolor2!90]%
    (0,0)(\slidewidth,\slideheight)%
  \psset{linestyle=none,fillstyle=gradient,gradbegin=pdcolor2!90,%
    gradend=pdcolor3,gradmidpoint=0,gradangle=90,linewidth=0pt}%
  \pdifsetup{landscape}{%
     \psframe(.145\slidewidth,\slideheight)(\slidewidth,.9\slideheight)%
     \pd@pazik@lbg
  }{%
     \psframe(0,\slideheight)(\slidewidth,.9\slideheight)%
     \pd@pazik@pbg
  }%
}}
\pddefinetemplate[basic]{slide}{
  ifsetup=landscape,
    lfpos={.17\slidewidth,.015\slideheight},
    cfpos={.575\slidewidth,.015\slideheight},
    clockpos={.07\slidewidth,.045\slideheight},
    textpos={.17\slidewidth,.87\slideheight},
    textwidth=.81\slidewidth,
    tocwidth=.12\slidewidth,
    tocslidesep=.3em,tocslideindent=.2em,
    tocsecm={\psline[linewidth=.2pt,linecolor=pdcolor1]%
      (-.05,-.05)(.12\slidewidth,-.05)},
    tocpos={.015\slidewidth,.86\slideheight},
  ifsetup=portrait,
    textheight=.65\slideheight,tocsecsep=.2em,
    stochook=tr,stocpos={.44\slidewidth,.18\slideheight},
    stocfont=\tiny\raggedleft,
    tocslidesep=.2em,
    ntocpos={.56\slidewidth,.18\slideheight},
    ntocfont=\tiny\raggedright
}{%
  \pdifsetup{landscape}{%
    \psframe*[linestyle=none,linecolor=pdcolor3]%
      (0,0)(.15\slidewidth,\slideheight)%
  }{%
    \psframe*[linestyle=none,linecolor=pdcolor3]%
      (0,0)(\slidewidth,.2\slideheight)%
  }%
}
\pddefinetemplate[basic]{wideslide}{%
  ifsetup=landscape,
    tocpos,textpos={.02\slidewidth,.87\slideheight},
    textwidth=.96\slidewidth,
    lfpos={.02\slidewidth,.015\slideheight},
    cfpos={.5\slidewidth,.015\slideheight},
    clockpos={.5\slidewidth,.045\slideheight},
  ifsetup=portrait,
    textheight=.82\slideheight,
}{%
  \pdifsetup{landscape}{%
    \psframe*[linestyle=none,linecolor=pdcolor3]%
      (0,\slideheight)(.15\slidewidth,.9\slideheight)%
  }{}%
}
\pddefinetemplate[slide]{sectionslide}{%
  titlehook=c,
  titlefont=\bfseries\LARGE\centering,
  titlewidth=.9\slidewidth,
  ifsetup=landscape,
    titlepos={.585\slidewidth,.6\slideheight},
  ifsetup=portrait,
    titlepos={.5\slidewidth,.6\slideheight}
}{%
}
\pddefinetemplate[wideslide]{sectionwideslide}{%
  titlehook=c,
  titlefont=\bfseries\LARGE\centering,
  titlepos={.5\slidewidth,.6\slideheight},
  titlewidth=.9\slidewidth
}{}
\def\pd@pazik@lbg{%
  \psset{fillstyle=solid,fillcolor=pdcolor2}%
  \rput{-10}(.35\slidewidth,.6\slideheight){\pscharpath{\pd@pazik@i}}%
  \rput{15}(.4\slidewidth,.3\slideheight){\pscharpath{\pd@pazik@ii}}%
  \rput{-20}(.8\slidewidth,.2\slideheight){\pscharpath{\pd@pazik@iii}}%
  \rput{30}(.7\slidewidth,.7\slideheight){\pscharpath{\pd@pazik@iv}}%
}
\def\pd@pazik@pbg{%
  \psset{fillstyle=solid,fillcolor=pdcolor2}%
  \rput{-10}(.23\slidewidth,.78\slideheight){\pscharpath{\pd@pazik@i}}%
  \rput{15}(.35\slidewidth,.4\slideheight){\pscharpath{\pd@pazik@ii}}%
  \rput{-20}(.8\slidewidth,.3\slideheight){\pscharpath{\pd@pazik@iii}}%
  \rput{30}(.7\slidewidth,.7\slideheight){\pscharpath{\pd@pazik@iv}}%
}
\setkeys[pd]{section}{sectemp=sectionslide,widesectemp=sectionwideslide}
\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-pazik.sty'.
