summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/powerdot/powerdot-elcolors.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-elcolors.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-elcolors.sty')
-rw-r--r--Master/texmf-dist/tex/latex/powerdot/powerdot-elcolors.sty77
1 files changed, 40 insertions, 37 deletions
diff --git a/Master/texmf-dist/tex/latex/powerdot/powerdot-elcolors.sty b/Master/texmf-dist/tex/latex/powerdot/powerdot-elcolors.sty
index 7893403c130..b3d3ecac54b 100644
--- a/Master/texmf-dist/tex/latex/powerdot/powerdot-elcolors.sty
+++ b/Master/texmf-dist/tex/latex/powerdot/powerdot-elcolors.sty
@@ -6,9 +6,9 @@
%%
%% powerdot.dtx (with options: `pdelcolors')
%%
-%% ----------------------------------------------------------
-%% 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,52 +20,56 @@
%%
%% 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-elcolors}[2005/09/19 v1.1 elcolors style (HA)]
+\ProvidesPackage{powerdot-elcolors}[2005/12/06 v1.2 elcolors style (HA)]
\RequirePackage{pifont}
-\colorlet{pdyellow}{yellow!10}
-\colorlet{pdred}{red!10}
-\colorlet{pdblue}{blue!10}
-\definecolor{pddblue}{rgb}{.17,.31,.44}
-\colorlet{pdmixyr}{rgb,2:pdyellow,-1;pdred,-1}
-\colorlet{pdmixyb}{rgb,2:pdyellow,-1;pdblue,-1}
+\pddefinepalettes{default}{
+ \definecolor{pdcolor1}{rgb}{.17,.31,.44}
+ \colorlet{pdcolor2}{yellow!10}
+ \colorlet{pdcolor3}{red!10}
+ \colorlet{pdcolor4}{blue!10}
+ \colorlet{pdcolor5}{rgb,2:pdcolor2,1;pdcolor3,1}
+ \colorlet{pdcolor6}{rgb,2:pdcolor2,1;pdcolor4,1}
+}
\pddefinetemplate{basic}{
titlepos={.95\slidewidth,.93\slideheight},titlehook=Br,
titlewidth=.75\slidewidth,textheight=.68\slideheight,
titlefont=\large\bfseries\raggedleft,
+ clockcolor=pdcolor1,clockhook=tl,clockalign=0,
+ clockpos={0,\slideheight},
lfpos={.03\slidewidth,.04\slideheight},
rfpos={.97\slidewidth,.04\slideheight},
tocslidesep=.6ex,
- toctcolor=pddblue,
- tochlcolor=pddblue,
- tochltcolor=pdblue,
+ toctcolor=pdcolor1,
+ tochlcolor=pdcolor1,
+ tochltcolor=pdcolor4,
ifsetup=portrait,
- textpos={.05\slidewidth,.83\slideheight},
- textwidth=.9\slidewidth,
- tocsecsep=.6ex,
- stochook=tr,stocpos={.42\slidewidth,.13\slideheight},
- stocfont=\tiny\raggedleft,
- ntocpos={.46\slidewidth,.13\slideheight},
+ textpos={.05\slidewidth,.83\slideheight},
+ textwidth=.9\slidewidth,
+ tocsecsep=.6ex,
+ stochook=tr,stocpos={.42\slidewidth,.13\slideheight},
+ stocfont=\tiny\raggedleft,
+ ntocpos={.46\slidewidth,.13\slideheight},
ifsetup=landscape,
- textpos={.2\slidewidth,.83\slideheight},
- textwidth=.68\slidewidth
-}{%
+ textpos={.2\slidewidth,.83\slideheight},
+ textwidth=.68\slidewidth
+}{{%
\psset{linewidth=0pt}%
- \psframe*[linecolor=pdred]%
+ \psframe*[linecolor=pdcolor3]%
(0,0)(.44\slidewidth,.14\slideheight)%
- \psframe*[linecolor=pdred]%
+ \psframe*[linecolor=pdcolor3]%
(\slidewidth,\slideheight)(.56\slidewidth,.86\slideheight)%
- \psframe*[linecolor=pdyellow]%
+ \psframe*[linecolor=pdcolor2]%
(.09\slidewidth,.09\slideheight)(.91\slidewidth,.91\slideheight)%
- \psframe*[linecolor=pdmixyr]%
+ \psframe*[linecolor=pdcolor5]%
(.09\slidewidth,.09\slideheight)(.44\slidewidth,.14\slideheight)%
- \psframe*[linecolor=pdmixyr]%
+ \psframe*[linecolor=pdcolor5]%
(.91\slidewidth,.91\slideheight)(.56\slidewidth,.86\slideheight)%
-}
+}}
\pddefinetemplate[basic]{titleslide}{
titlefont=\large\bfseries\centering,
lfpos={.03\slidewidth,.04\slideheight},
@@ -84,23 +88,23 @@
\pddefinetemplate[basic]{slide}{
tocpos={.015\slidewidth,.83\slideheight},
tocwidth=.14\slidewidth,
- tocsecm={\psline[linewidth=.5pt,linecolor=pddblue]%
+ tocsecm={\psline[linewidth=.5pt,linecolor=pdcolor1]%
(-.05,-.05)(.143\slidewidth,-.05)}
}{%
- \psframe*[linecolor=pdblue,linewidth=0pt]%
+ \psframe*[linecolor=pdcolor4,linewidth=0pt]%
(0,\slideheight)(.17\slidewidth,.2\slideheight)%
- \psframe*[linecolor=pdmixyb,linewidth=0pt]%
+ \psframe*[linecolor=pdcolor6,linewidth=0pt]%
(.09\slidewidth,.91\slideheight)(.17\slidewidth,.2\slideheight)%
}
}
\pddefinetemplate[slide]{sectionslide}{
titlehook=c,titlefont=\Large\bfseries\centering,
ifsetup=landscape,
- titlepos={.54\slidewidth,.55\slideheight},
- titlewidth=.68\slidewidth,
+ titlepos={.54\slidewidth,.55\slideheight},
+ titlewidth=.68\slidewidth,
ifsetup=portrait,
- titlepos={.5\slidewidth,.55\slideheight},
- titlewidth=.76\slidewidth
+ titlepos={.5\slidewidth,.55\slideheight},
+ titlewidth=.76\slidewidth
}{}
\pddefinetemplate[wideslide]{sectionwideslide}{
titlehook=c,titlefont=\Large\bfseries\centering,
@@ -115,7 +119,6 @@
\pdsetup{
list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt}
}
-\color{pddblue}
\def\rmdefault{cmss}
\endinput
%%