summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/powerdot/powerdot-bframe.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-bframe.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-bframe.sty')
-rw-r--r--Master/texmf-dist/tex/latex/powerdot/powerdot-bframe.sty73
1 files changed, 38 insertions, 35 deletions
diff --git a/Master/texmf-dist/tex/latex/powerdot/powerdot-bframe.sty b/Master/texmf-dist/tex/latex/powerdot/powerdot-bframe.sty
index 45ac0510ed4..4bf4bb84af8 100644
--- a/Master/texmf-dist/tex/latex/powerdot/powerdot-bframe.sty
+++ b/Master/texmf-dist/tex/latex/powerdot/powerdot-bframe.sty
@@ -6,9 +6,9 @@
%%
%% powerdot.dtx (with options: `pdbframe')
%%
-%% ----------------------------------------------------------
-%% 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,37 +20,41 @@
%%
%% 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-bframe}[2005/10/09 v1.0 bframe style (PRU,HA)]
+\ProvidesPackage{powerdot-bframe}[2005/12/06 v1.1 bframe style (PRU,HA)]
\RequirePackage{pifont}
\RequirePackage{pst-blur}
-\definecolor{pdred}{rgb}{.7,.1,.1}
-\definecolor{pddblue}{rgb}{.01,.05,.56}
+\pddefinepalettes{default}{
+ \colorlet{pdcolor1}{white}
+ \definecolor{pdcolor2}{rgb}{.7,.1,.1}
+ \definecolor{pdcolor3}{rgb}{.01,.05,.56}
+}
\pddefinetemplate{basic}{
titlehook=B,titlefont=\large\bfseries\centering,
+ clockcolor=pdcolor3,clockpos={.99\slidewidth,\slideheight},
lfpos={.05\slidewidth,.04\slideheight},
rfpos={.95\slidewidth,.04\slideheight},
tocslidesep=.6ex,
toctcolor=white,
- tochlcolor=pdred,
+ tochlcolor=pdcolor2,
ifsetup=portrait,
- titlepos={.5\slidewidth,.91\slideheight},
- titlewidth=.9\slidewidth,
- textpos={.05\slidewidth,.85\slideheight},
- textwidth=.9\slidewidth,textheight=.69\slideheight,
- tocsecsep=.6ex,
- stochook=tr,stocpos={.48\slidewidth,.13\slideheight},
- stocfont=\tiny\raggedleft,
- ntocpos={.52\slidewidth,.13\slideheight},
+ titlepos={.5\slidewidth,.91\slideheight},
+ titlewidth=.9\slidewidth,
+ textpos={.05\slidewidth,.85\slideheight},
+ textwidth=.9\slidewidth,textheight=.69\slideheight,
+ tocsecsep=.6ex,
+ stochook=tr,stocpos={.48\slidewidth,.13\slideheight},
+ stocfont=\tiny\raggedleft,
+ ntocpos={.52\slidewidth,.13\slideheight},
ifsetup=landscape,
- titlepos={.58\slidewidth,.91\slideheight},
- titlewidth=.75\slidewidth,
- textpos={.2\slidewidth,.85\slideheight},
- textwidth=.75\slidewidth,textheight=.69\slideheight
+ titlepos={.58\slidewidth,.91\slideheight},
+ titlewidth=.75\slidewidth,
+ textpos={.2\slidewidth,.85\slideheight},
+ textwidth=.75\slidewidth,textheight=.69\slideheight
}{}
\pddefinetemplate[basic]{titleslide}{
texthook=t,textpos={.5\slidewidth,.75\slideheight},
@@ -65,12 +69,12 @@
}\pd@bframebg
\pddefinetemplate[basic]{slide}{
ifsetup=landscape,
- tocpos={.015\slidewidth,.83\slideheight},
- tocwidth=.14\slidewidth,
- tocsecm={\psline[linewidth=.5pt,linecolor=pdred]%
- (-.05,-.05)(.143\slidewidth,-.05)}
-}{%
- \psset{linecolor=pddblue,shadow=true,blur=true,shadowcolor=gray!60}%
+ tocpos={.015\slidewidth,.83\slideheight},
+ tocwidth=.14\slidewidth,
+ tocsecm={\psline[linewidth=.5pt,linecolor=pdcolor2]%
+ (-.05,-.05)(.143\slidewidth,-.05)}
+}{{%
+ \psset{linecolor=pdcolor3,shadow=true,blur=true,shadowcolor=gray!60}%
\pdifsetup{landscape}{%
\psframe*[framearc=.3](0,.87\slideheight)(.17\slidewidth,.15\slideheight)%
\psframe*[framearc=.1](.18\slidewidth,.87\slideheight)(.98\slidewidth,.15\slideheight)%
@@ -79,33 +83,33 @@
\psframe*[framearc=.3](.02\slidewidth,.01\slideheight)(.98\slidewidth,.14\slideheight)%
\psframe*[framearc=.1](.02\slidewidth,.87\slideheight)(.98\slidewidth,.15\slideheight)%
}%
-}
+}}
\pddefinetemplate[slide]{sectionslide}{
titlehook=c,titlefont=\Large\bfseries\centering,
ifsetup=landscape,
- titlepos={.575\slidewidth,.55\slideheight},
+ titlepos={.575\slidewidth,.55\slideheight},
ifsetup=portrait,
- titlepos={.5\slidewidth,.55\slideheight},
+ titlepos={.5\slidewidth,.55\slideheight},
}{}
\pddefinetemplate[wideslide]{sectionwideslide}{
titlehook=c,titlefont=\color{white}\Large\bfseries\centering,
titlepos={.5\slidewidth,.55\slideheight},
titlewidth=.9\slidewidth
}{}
-\def\pd@bframebg{%
+\def\pd@bframebg{{%
\pdifsetup{landscape}{%
\def\pd@tempa{.08\slideheight}%
}{%
\def\pd@tempa{.14\slideheight}%
}%
- \psset{linecolor=pddblue,shadow=true,blur=true,shadowcolor=gray!60}%
+ \psset{linecolor=pdcolor3,shadow=true,blur=true,shadowcolor=gray!60}%
\psframe*[framearc=.3](.02\slidewidth,.01\slideheight)(.98\slidewidth,\pd@tempa)%
\psframe*[framearc=.1](.02\slidewidth,.87\slideheight)(.98\slidewidth,.15\slideheight)%
-}
+}}
\def\pd@slidetitle#1{%
\settowidth\@tempdima{#1}%
\ifdim\@tempdima>\pd@@titlewidth\@tempdima\pd@@titlewidth\fi
- \rput[B](0,0){\psframebox*[framearc=.3,fillcolor=pddblue,%
+ \rput[B](0,0){\psframebox*[framearc=.3,fillcolor=pdcolor3,%
shadow=true,blur=true,shadowcolor=gray!60]{%
\parbox[b]\@tempdima{#1}%
}%
@@ -115,7 +119,7 @@
{\let\thanks\@gobble\let\footnote\@gobble\settowidth\@tempdima{#1}}%
\ifdim\@tempdima>\pd@@titlewidth\@tempdima\pd@@titlewidth\fi
\advance\@tempdima-6pt
- \psframebox*[framearc=.3,fillcolor=pdred]{\parbox[b]\@tempdima{#1}}%
+ \psframebox*[framearc=.3,fillcolor=pdcolor2]{\parbox[b]\@tempdima{#1}}%
}
\setkeys[pd]{section}{sectemp=sectionslide,widesectemp=sectionwideslide}
\pdifsetup{landscape}{\def\pd@tocslide#1{{\tiny\color{yellow}\ding{117}} #1}}{}
@@ -126,7 +130,6 @@
\pdsetup{
list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt}
}
-\color{white}
\def\rmdefault{put}
\endinput
%%