%%
%% This is file `powerdot-ikeda.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% powerdot.dtx  (with options: `pdikeda')
%% 
%% ---------------------------------------------------------------
%% 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-ikeda}[2005/12/10 v1.4 ikeda style (CE,HA)]
\RequirePackage{calc}
\RequirePackage{pifont}
\pddefinepalettes{default}{
  \definecolor{pdcolor1}{rgb}{.941,.98,1}
  \definecolor{pdcolor2}{rgb}{.435,.031,.165}
  \definecolor{pdcolor3}{rgb}{.051,.094,.29}
  \definecolor{pdcolor4}{rgb}{.051,.329,.29}
}
\pddefinetemplate{titleslide}{
  titlefont=\Large\bfseries\centering,
  clockcolor=pdcolor1,clockpos={.99\slidewidth,\slideheight},
  textpos={.13\slidewidth,.7\slideheight},
  textwidth=.75\slidewidth,
  textfont=\centering,
  textheight=.56\slideheight
}{%
  \psframe*[linecolor=pdcolor2](0,\slideheight)(\slidewidth,0)%
  \psframe*[linecolor=pdcolor3]%
    (.05\slidewidth,.95\slideheight)(.95\slidewidth,.05\slideheight)%
  \psline[linecolor=pdcolor1,linewidth=.01]%
    (.1\slidewidth,.1\slideheight)(.1\slidewidth,.9\slideheight)%
  \psline[linecolor=pdcolor1,linewidth=.01]%
    (.9\slidewidth,.1\slideheight)(.9\slidewidth,.9\slideheight)%
  \pspolygon[linestyle=none,fillstyle=vlines*,fillcolor=pdcolor2,%
    hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
    (.1\slidewidth,.1\slideheight)(.25\slidewidth,.07\slideheight)%
    (.5\slidewidth,.1\slideheight)(.75\slidewidth,.13\slideheight)%
    (.9\slidewidth,.1\slideheight)%
  \pspolygon[linestyle=none,fillstyle=hlines*,fillcolor=pdcolor2,%
    hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
    (.1\slidewidth,.9\slideheight)(.25\slidewidth,.93\slideheight)%
    (.5\slidewidth,.9\slideheight)(.75\slidewidth,.87\slideheight)%
    (.9\slidewidth,.9\slideheight)%
}
\pddefinetemplate{basic}{
  titlehook=Bc,titlefont=\large\bfseries\centering,
  clockcolor=pdcolor1,clockpos={.99\slidewidth,\slideheight},
  tocslidesep=.6ex,
  toctcolor=pdcolor1,
  tochlcolor=pdcolor3,
  tochltcolor=pdcolor1,
  ifsetup=portrait,
    tocsecsep=.6ex,
    textpos={.05\slidewidth,.83\slideheight},
    textwidth=.9\slidewidth,
    lfpos={.03\slidewidth,.025\slideheight},
    cfpos={.5\slidewidth,.025\slideheight},
    rfpos={.97\slidewidth,.025\slideheight},
    stochook=tr,stocpos={.47\slidewidth,.15\slideheight},
    stocfont=\tiny\raggedleft,
    ntocpos={.53\slidewidth,.15\slideheight},
  ifsetup=landscape,
    textpos={.2\slidewidth,.84\slideheight},
    textwidth=.75\slidewidth,
    lfpos={.19\slidewidth,.025\slideheight},
    cfpos={.58\slidewidth,.025\slideheight},
    rfpos={.97\slidewidth,.025\slideheight}
}{%
  \psframe*[linecolor=pdcolor3](0,0)(\slidewidth,\slideheight)%
}
\pddefinetemplate[basic]{slide}{
  ifsetup=landscape,
    titlewidth=.75\slidewidth,
    titlepos={.575\slidewidth,.92\slideheight},
    tocpos={.01\slidewidth,.83\slideheight},
    tocwidth=.14\slidewidth,
    tocsecm={\psline[linewidth=.5pt,linecolor=pdcolor3](-.05,-.05)(.143\slidewidth,-.05)},
    textheight=.72\slideheight,
  ifsetup=portrait,
    titlepos={.5\slidewidth,.88\slideheight},
    titlewidth=.95\slidewidth,
    textheight=.64\slideheight
}{{%
  \psset{linestyle=none}%
  \pdifsetup{landscape}{%
    \psframe*[linecolor=pdcolor2](0,0)(.16\slidewidth,\slideheight)%
    \setlength\@tempdima{.16\slidewidth-.4cm}%
    \setlength\@tempdimb{.97\slideheight-.8cm}%
    \psframe*[linecolor=pdcolor3]%
      (.16\slidewidth,.97\slideheight)(\@tempdima,\@tempdimb)%
    \setlength\@tempdima{.16\slidewidth+.4cm}%
    \psframe*[linecolor=pdcolor2]%
      (.16\slidewidth,.97\slideheight)(\@tempdima,\@tempdimb)%
    \pspolygon[fillstyle=solid,fillcolor=pdcolor3]%
      (0,.935\slideheight)(.02\slidewidth,.945\slideheight)%
      (.065\slidewidth,.935\slideheight)(.11\slidewidth,.925\slideheight)%
      (.13\slidewidth,.935\slideheight)%
    \pspolygon[fillstyle=hlines*,fillcolor=pdcolor2,%
      hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
      (.185\slidewidth,.09\slideheight)(.335\slidewidth,.06\slideheight)%
      (.58\slidewidth,.09\slideheight)%
    \pspolygon[fillstyle=vlines*,fillcolor=pdcolor2,%
      hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
      (.58\slidewidth,.09\slideheight)(.825\slidewidth,.06\slideheight)%
      (.975\slidewidth,.09\slideheight)%
  }{%
    \pspolygon[fillstyle=vlines*,fillcolor=pdcolor2,%
      hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
      (.02\slidewidth,.95\slideheight)(.17\slidewidth,.98\slideheight)%
      (.5\slidewidth,.95\slideheight)%
    \pspolygon[fillstyle=hlines*,fillcolor=pdcolor2,%
      hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
      (.5\slidewidth,.95\slideheight)(.82\slidewidth,.98\slideheight)%
      (.98\slidewidth,.95\slideheight)%
    \pd@ikedapbg
  }%
}}
\pddefinetemplate[basic]{wideslide}{
  lfpos={.03\slidewidth,.025\slideheight},
  cfpos={.5\slidewidth,.025\slideheight},
  titlewidth=.95\slidewidth,
  textwidth=.95\slidewidth,
  ifsetup=landscape,
    titlepos={.5\slidewidth,.88\slideheight},
    textpos={.025\slidewidth,.84\slideheight},
    textheight=.72\slideheight,
  ifsetup=portrait,
    titlepos={.5\slidewidth,.92\slideheight},
    textpos={.025\slidewidth,.87\slideheight},
    textheight=.68\slideheight
}{{%
  \psset{linestyle=none}%
  \pdifsetup{landscape}{%
    \pspolygon[fillstyle=vlines*,fillcolor=pdcolor2,%
      hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
      (.02\slidewidth,.95\slideheight)(.17\slidewidth,.98\slideheight)%
      (.5\slidewidth,.95\slideheight)%
    \pspolygon[fillstyle=hlines*,fillcolor=pdcolor2,%
      hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
      (.5\slidewidth,.95\slideheight)(.83\slidewidth,.98\slideheight)%
      (.98\slidewidth,.95\slideheight)%
    \pspolygon[fillstyle=hlines*,fillcolor=pdcolor2,%
      hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
      (.02\slidewidth,.09\slideheight)(.17\slidewidth,.06\slideheight)%
      (.5\slidewidth,.09\slideheight)%
    \pspolygon[fillstyle=vlines*,fillcolor=pdcolor2,%
      hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
      (.5\slidewidth,.09\slideheight)(.83\slidewidth,.06\slideheight)%
      (.98\slidewidth,.09\slideheight)%
  }\pd@ikedapbg
}}
\pddefinetemplate[slide]{sectionslide}{
  titlehook=c,titlefont=\large\bfseries\centering,
  ifsetup=landscape,
    titlepos={.575\slidewidth,.55\slideheight},
    titlewidth=.75\slidewidth,
  ifsetup=portrait,
    titlepos={.5\slidewidth,.55\slideheight},
    titlewidth=.9\slidewidth
}{}
\pddefinetemplate[wideslide]{sectionwideslide}{
  titlehook=c,titlefont=\large\bfseries\centering,
  titlepos={.5\slidewidth,.55\slideheight},
  titlewidth=.9\slidewidth
}{}
\def\pd@ikedapbg{%
  \psframe*[linecolor=pdcolor2](0,0)(\slidewidth,.17\slideheight)%
  \pspolygon[fillstyle=vlines*,fillcolor=pdcolor2,%
    hatchcolor=pdcolor3,hatchwidth=.1\pslinewidth,hatchsep=1.6pt]%
    (.05\slidewidth,.1\slideheight)(.08\slidewidth,.08\slideheight)%
    (.14\slidewidth,.1\slideheight)(.20\slidewidth,.12\slideheight)%
    (.23\slidewidth,.1\slideheight)%
  \pspolygon[fillstyle=hlines*,fillcolor=pdcolor2,%
    hatchcolor=pdcolor3,hatchwidth=.1\pslinewidth,hatchsep=1.6pt]%
    (.77\slidewidth,.1\slideheight)(.80\slidewidth,.12\slideheight)%
    (.86\slidewidth,.1\slideheight)(.92\slidewidth,.08\slideheight)%
    (.95\slidewidth,.1\slideheight)%
}
\setkeys[pd]{section}{sectemp=sectionslide,widesectemp=sectionwideslide}
\def\labelitemi{\color{pdcolor2}\footnotesize\ding{110}}
\def\labelitemii{\color{pdcolor4}\small\ding{115}}
\def\labelitemiii{\color{pdcolor2}\tiny\ding{110}}
\def\labelitemiv{\color{pdcolor4}\tiny\ding{115}}
\pdsetup{
  list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt}
}
\def\rmdefault{cmss}
\endinput
%%
%% End of file `powerdot-ikeda.sty'.
