summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/powerdot/powerdot-ikeda.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-07-14 22:42:30 +0000
committerKarl Berry <karl@freefriends.org>2006-07-14 22:42:30 +0000
commit9050dab9c1fe96ee740f4b240c9f1cbdeb764d08 (patch)
tree7e0ecfb5592cc0cfc6b22a9492daa2a278b04502 /Master/texmf-dist/tex/latex/powerdot/powerdot-ikeda.sty
parent8e31fe3c99d1f1b6a0eda074f89b206fd70aa9e5 (diff)
powerdot update
git-svn-id: svn://tug.org/texlive/trunk@1842 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/powerdot/powerdot-ikeda.sty')
-rw-r--r--Master/texmf-dist/tex/latex/powerdot/powerdot-ikeda.sty175
1 files changed, 89 insertions, 86 deletions
diff --git a/Master/texmf-dist/tex/latex/powerdot/powerdot-ikeda.sty b/Master/texmf-dist/tex/latex/powerdot/powerdot-ikeda.sty
index 94e19bf4f5d..805fcbab0a2 100644
--- a/Master/texmf-dist/tex/latex/powerdot/powerdot-ikeda.sty
+++ b/Master/texmf-dist/tex/latex/powerdot/powerdot-ikeda.sty
@@ -6,9 +6,9 @@
%%
%% powerdot.dtx (with options: `pdikeda')
%%
-%% ----------------------------------------------------------
-%% Copyright (C) 2005 Hendri Adriaens and Christopher Ellison
-%% ----------------------------------------------------------
+%% ---------------------------------------------------------------
+%% Copyright (C) 2005-2006 Hendri Adriaens and Christopher Ellison
+%% ---------------------------------------------------------------
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -20,154 +20,158 @@
%%
%% This work has the LPPL maintenance status "maintained".
%%
-%% This Current Maintainer of this work is Christopher Ellison.
+%% 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/10/09 v1.2 ikeda style (CE,HA)]
+\ProvidesPackage{powerdot-ikeda}[2005/12/06 v1.3 ikeda style (CE,HA)]
\RequirePackage{calc}
\RequirePackage{pifont}
-\definecolor{pdplum}{rgb}{.435,.031,.165}
-\definecolor{pddarkblue}{rgb}{.051,.094,.29}
-\definecolor{pdgogreen}{rgb}{.051,.329,.29}
-\definecolor{pdoffwhite}{rgb}{.941,.98,1}
+\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=pdplum](0,\slideheight)(\slidewidth,0)%
- \psframe*[linecolor=pddarkblue]%
+ \psframe*[linecolor=pdcolor2](0,\slideheight)(\slidewidth,0)%
+ \psframe*[linecolor=pdcolor3]%
(.05\slidewidth,.95\slideheight)(.95\slidewidth,.05\slideheight)%
- \psline[linecolor=pdoffwhite,linewidth=.01]%
+ \psline[linecolor=pdcolor1,linewidth=.01]%
(.1\slidewidth,.1\slideheight)(.1\slidewidth,.9\slideheight)%
- \psline[linecolor=pdoffwhite,linewidth=.01]%
+ \psline[linecolor=pdcolor1,linewidth=.01]%
(.9\slidewidth,.1\slideheight)(.9\slidewidth,.9\slideheight)%
- \pspolygon[linestyle=none,fillstyle=vlines*,fillcolor=pdplum,%
- hatchcolor=pdoffwhite,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
+ \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=pdplum,%
- hatchcolor=pdoffwhite,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
+ \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=pdoffwhite,
- tochlcolor=pddarkblue,
- tochltcolor=pdoffwhite,
+ toctcolor=pdcolor1,
+ tochlcolor=pdcolor3,
+ tochltcolor=pdcolor1,
ifsetup=portrait,
- tocsecsep=.6ex,
- textpos={.05\slidewidth,.83\slideheight},
- textwidth=.9\slidewidth,
- lfpos={.03\slidewidth,.025\slideheight},
- rfpos={.97\slidewidth,.025\slideheight},
- stochook=tr,stocpos={.47\slidewidth,.15\slideheight},
- stocfont=\tiny\raggedleft,
- ntocpos={.53\slidewidth,.15\slideheight},
+ tocsecsep=.6ex,
+ textpos={.05\slidewidth,.83\slideheight},
+ textwidth=.9\slidewidth,
+ lfpos={.03\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},
- rfpos={.97\slidewidth,.025\slideheight}
+ textpos={.2\slidewidth,.84\slideheight},
+ textwidth=.75\slidewidth,
+ lfpos={.19\slidewidth,.025\slideheight},
+ rfpos={.97\slidewidth,.025\slideheight}
}{%
- \psframe*[linecolor=pddarkblue](0,0)(\slidewidth,\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=pddarkblue](-.05,-.05)(.143\slidewidth,-.05)},
- textheight=.72\slideheight,
+ 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
-}{%
+ titlepos={.5\slidewidth,.88\slideheight},
+ titlewidth=.95\slidewidth,
+ textheight=.64\slideheight
+}{{%
\psset{linestyle=none}%
\pdifsetup{landscape}{%
- \psframe*[linecolor=pdplum](0,0)(.16\slidewidth,\slideheight)%
+ \psframe*[linecolor=pdcolor2](0,0)(.16\slidewidth,\slideheight)%
\setlength\@tempdima{.16\slidewidth-.4cm}%
\setlength\@tempdimb{.97\slideheight-.8cm}%
- \psframe*[linecolor=pddarkblue]%
+ \psframe*[linecolor=pdcolor3]%
(.16\slidewidth,.97\slideheight)(\@tempdima,\@tempdimb)%
\setlength\@tempdima{.16\slidewidth+.4cm}%
- \psframe*[linecolor=pdplum]%
+ \psframe*[linecolor=pdcolor2]%
(.16\slidewidth,.97\slideheight)(\@tempdima,\@tempdimb)%
- \pspolygon[fillstyle=solid,fillcolor=pddarkblue]%
+ \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=pdplum,%
- hatchcolor=pdoffwhite,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
+ \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=pdplum,%
- hatchcolor=pdoffwhite,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
+ \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=pdplum,%
- hatchcolor=pdoffwhite,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
+ \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=pdplum,%
- hatchcolor=pdoffwhite,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
+ \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},
titlewidth=.95\slidewidth,
textwidth=.95\slidewidth,
ifsetup=landscape,
- titlepos={.5\slidewidth,.88\slideheight},
- textpos={.025\slidewidth,.84\slideheight},
- textheight=.72\slideheight,
+ 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
-}{%
+ titlepos={.5\slidewidth,.92\slideheight},
+ textpos={.025\slidewidth,.87\slideheight},
+ textheight=.68\slideheight
+}{{%
\psset{linestyle=none}%
\pdifsetup{landscape}{%
- \pspolygon[fillstyle=vlines*,fillcolor=pdplum,%
- hatchcolor=pdoffwhite,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
+ \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=pdplum,%
- hatchcolor=pdoffwhite,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
+ \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=pdplum,%
- hatchcolor=pdoffwhite,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
+ \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=pdplum,%
- hatchcolor=pdoffwhite,hatchwidth=.1\pslinewidth,hatchsep=4pt]%
+ \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,
+ titlepos={.575\slidewidth,.55\slideheight},
+ titlewidth=.75\slidewidth,
ifsetup=portrait,
- titlepos={.5\slidewidth,.55\slideheight},
- titlewidth=.9\slidewidth
+ titlepos={.5\slidewidth,.55\slideheight},
+ titlewidth=.9\slidewidth
}{}
\pddefinetemplate[wideslide]{sectionwideslide}{
titlehook=c,titlefont=\large\bfseries\centering,
@@ -175,27 +179,26 @@
titlewidth=.9\slidewidth
}{}
\def\pd@ikedapbg{%
- \psframe*[linecolor=pdplum](0,0)(\slidewidth,.17\slideheight)%
- \pspolygon[fillstyle=vlines*,fillcolor=pdplum,%
- hatchcolor=pddarkblue,hatchwidth=.1\pslinewidth,hatchsep=1.6pt]%
+ \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=pdplum,%
- hatchcolor=pddarkblue,hatchwidth=.1\pslinewidth,hatchsep=1.6pt]%
+ \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{pdplum}\footnotesize\ding{110}}
-\def\labelitemii{\color{pdgogreen}\small\ding{115}}
-\def\labelitemiii{\color{pdplum}\tiny\ding{110}}
-\def\labelitemiv{\color{pdgogreen}\tiny\ding{115}}
+\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}
}
-\color{pdoffwhite}
\def\rmdefault{cmss}
\endinput
%%