summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/powerdot/powerdot-upen.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-13 00:03:07 +0000
committerKarl Berry <karl@freefriends.org>2006-01-13 00:03:07 +0000
commitae93734a22bdfdde08d69ec20c7b9404d8e8dc15 (patch)
tree2e665de5f8931352c916c54d1047f956eee77ebf /Master/texmf-dist/tex/latex/powerdot/powerdot-upen.sty
parentf847506524ef2b806df63d430c524c226fc3e88f (diff)
powerdot
git-svn-id: svn://tug.org/texlive/trunk@1210 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/powerdot/powerdot-upen.sty')
-rw-r--r--Master/texmf-dist/tex/latex/powerdot/powerdot-upen.sty177
1 files changed, 177 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/powerdot/powerdot-upen.sty b/Master/texmf-dist/tex/latex/powerdot/powerdot-upen.sty
new file mode 100644
index 00000000000..eea919e6ee2
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/powerdot/powerdot-upen.sty
@@ -0,0 +1,177 @@
+%%
+%% This is file `powerdot-upen.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% powerdot.dtx (with options: `pdupen')
+%%
+%% ----------------------------------------------------------
+%% Copyright (C) 2005 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
+%% 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 Christopher Ellison.
+%%
+%% This work consists of all files listed in manifest.txt.
+%%
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesPackage{powerdot-upen}[2005/10/09 v1.1 upen style (PRU,HA)]
+\RequirePackage{calc}
+\RequirePackage{pifont}
+\RequirePackage{pst-grad}
+\definecolor{pddblue}{rgb}{0,.01,.37}
+\definecolor{pdblue}{rgb}{.01,.06,.65}
+\definecolor{pdlblue}{rgb}{.88,.95,1}
+\definecolor{pdgyellow}{rgb}{.98,.78,.18}
+\pddefinetemplate{basic}{
+ titlefont=\large\bfseries\color{pdgyellow},
+ tocslidesep=.6ex,
+ toctcolor=white,
+ tochlcolor=pddblue,
+ tochltcolor=pdgyellow,
+ ifsetup=portrait,
+ textheight=.64\slideheight,
+ titlepos={.12\slidewidth,.87\slideheight},
+ titlewidth=.83\slidewidth,
+ textpos={.12\slidewidth,.78\slideheight},
+ textwidth=.83\slidewidth,
+ tocsecsep=.6ex,
+ stochook=tr,stocpos={.47\slidewidth,.12\slideheight},
+ stocfont=\tiny\raggedleft,
+ ntochook=tl,ntocpos={.52\slidewidth,.12\slideheight},
+ lfpos={.05\slidewidth,.045\slideheight},
+ rfpos={.95\slidewidth,.045\slideheight},
+ ifsetup=landscape,
+ titlepos={.175\slidewidth,.87\slideheight},
+ titlewidth=.775\slidewidth,
+ textheight=.7\slideheight,
+ textpos={.175\slidewidth,.77\slideheight},
+ textwidth=.775\slidewidth,
+ lfpos={.05\slidewidth,.03\slideheight},
+ rfpos={.95\slidewidth,.03\slideheight},
+ tocpos={.02\slidewidth,.77\slideheight},
+ tocwidth=.13\slidewidth,
+ tocsecm={\psline[linewidth=.5pt,linecolor=pdgyellow]%
+ (-.05,-.05)(.12\slidewidth,-.05)}
+}{%
+ \pdifsetup{landscape}{%
+ \psframe[linestyle=none,fillstyle=gradient,gradbegin=pddblue,%
+ gradend=pdblue,gradangle=-90,gradmidpoint=0,linewidth=0pt]%
+ (0,.8\slideheight)(\slidewidth,0)%
+ \psframe[linestyle=none,fillstyle=gradient,gradbegin=pddblue,%
+ gradend=pddblue,gradmidpoint=0,dimen=outer,linewidth=0pt]%
+ (0,.8\slideheight)(\slidewidth,\slideheight)%
+ }{%
+ \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdblue,%
+ gradend=pddblue,gradmidpoint=0,dimen=outer]%
+ (-.01\slidewidth,1.1\slideheight)(1.05\slidewidth,-.01\slideheight)%
+ }%
+}
+\pddefinetemplate[basic]{titleslide}{
+ texthook=t,textpos={.5\slidewidth,.7\slideheight},
+ textwidth=.9\slidewidth,textfont=\centering\color{pdgyellow},
+ textheight=.63\slideheight,
+ titlefont=\Large\bfseries\centering,tocpos,ntocpos,stocpos
+}{%
+ \setlength\@tempdima{.8\slideheight+.5pt}%
+ \psframe[fillstyle=gradient,gradbegin=pdblue,gradend=pdgyellow,%
+ gradangle=90,gradmidpoint=.5,linestyle=none,dimen=outer,linewidth=0pt]%
+ (0,.8\slideheight)(\slidewidth,\@tempdima)%
+ \setlength\@tempdima{.2\slideheight+.5pt}%
+ \psframe[fillstyle=gradient,gradbegin=pdblue,gradend=pdgyellow,%
+ gradangle=90,gradmidpoint=.5,linestyle=none,dimen=outer,linewidth=0pt]%
+ (0,.2\slideheight)(\slidewidth,\@tempdima)%
+}
+\pddefinetemplate[basic]{slide}{}{%
+ \pdifsetup{landscape}{%
+ \psframe[fillstyle=gradient,gradbegin=pddblue,gradend=pdblue,%
+ gradmidpoint=1,linestyle=none,dimen=outer,linewidth=0pt]%
+ (0,\slideheight)(.15\slidewidth,0)%
+ \pd@upenbg{.15\slidewidth}{.05\slidewidth}%
+ }{\pd@upenbg{.1\slidewidth}{0pt}}%
+}
+\pddefinetemplate[basic]{wideslide}{
+ titlepos={.05\slidewidth,.87\slideheight},
+ titlewidth=.9\slidewidth,
+ textpos={.05\slidewidth,.77\slideheight},
+ textwidth=.9\slidewidth,
+ ifsetup=landscape,tocpos
+}{%
+ \setlength\@tempdima{.8\slideheight-.5pt}%
+ \pdifsetup{landscape}{%
+ \psframe[fillstyle=gradient,gradbegin=pddblue,gradend=white,linewidth=0pt,%
+ gradangle=90,gradmidpoint=.2,linestyle=none,dimen=outer]%
+ (.05\slidewidth,.8\slideheight)(.5\slidewidth,\@tempdima)%
+ }{%
+ \psframe[fillstyle=gradient,gradbegin=pddblue,gradend=white,linewidth=0pt,%
+ gradangle=90,gradmidpoint=.2,linestyle=none,dimen=outer]%
+ (0,.8\slideheight)(.45\slidewidth,\@tempdima)%
+ }%
+}
+\pddefinetemplate[slide]{sectionslide}{
+ titlewidth=.45\slidewidth,titlehook=c,
+ titlefont=\Large\bfseries\centering\color{pdgyellow},
+ ifsetup=landscape,
+ titlepos={.59\slidewidth,.53\slideheight},
+ ifsetup=portrait,
+ titlepos={.5\slidewidth,.53\slideheight}
+}{%
+ \psset{linewidth=.8pt,linecolor=pdblue}%
+ \pdifsetup{landscape}{%
+ \psframe[fillstyle=solid,fillcolor=pddblue,linestyle=none]%
+ (.34\slidewidth,.65\slideheight)(.84\slidewidth,.4\slideheight)%
+ }{%
+ \psframe[fillstyle=solid,fillcolor=pddblue,linestyle=none]%
+ (.16\slidewidth,.65\slideheight)(.84\slidewidth,.4\slideheight)%
+ }%
+}
+\pddefinetemplate[wideslide]{sectionwideslide}{%
+ titlewidth=.62\slidewidth,titlehook=c,
+ titlefont=\Large\bfseries\centering\color{pdgyellow},
+ titlepos={.5\slidewidth,.53\slideheight}
+}{%
+ \psframe*[linecolor=pddblue]%
+ (.16\slidewidth,.65\slideheight)(.84\slidewidth,.4\slideheight)%
+}
+\def\pd@upenbg#1#2{%
+ \setlength\@tempdima{#1+.5pt}%
+ \psframe[fillstyle=gradient,gradbegin=pddblue,gradend=white,%
+ gradmidpoint=.4,linestyle=none,dimen=outer,linewidth=0pt]%
+ (#1,.5\slideheight)(\@tempdima,\slideheight)%
+ \setlength\@tempdima{.45\slidewidth+#2}%
+ \setlength\@tempdimb{.8\slideheight-.5pt}%
+ \psframe[fillstyle=gradient,gradbegin=pddblue,gradend=white,linewidth=0pt,%
+ gradangle=90,gradmidpoint=.2,linestyle=none,dimen=outer]%
+ (#2,.8\slideheight)(\@tempdima,\@tempdimb)%
+}
+\setkeys[pd]{section}{sectemp=sectionslide,widesectemp=sectionwideslide}
+\def\pd@tochighlight#1{%
+ \begin{minipage}[b]\pd@@tocwidth
+ \pd@usedtocfont\color\pd@@tochltcolor#1%
+ \end{minipage}%
+}
+\pdifsetup{landscape}{\def\pd@tocentry#1{{\tiny\ensuremath\bullet}\ #1}}{}
+\def\labelitemi{\footnotesize\ding{110}}
+\def\labelitemii{\color{pdgyellow}\small ---}
+\def\labelitemiii{\color{red}\scriptsize\ding{115}}
+\def\labelitemiv{\color{yellow}\tiny\ensuremath\circ}
+\pdsetup{
+ list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt}
+}
+\color{white}
+\def\rmdefault{phv}
+\def\sfdefault{phv}
+\def\Hv@scale{.85}
+\endinput
+%%
+%% End of file `powerdot-upen.sty'.