summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/powerdot/powerdot-upen.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-07-02 18:18:45 +0000
committerKarl Berry <karl@freefriends.org>2013-07-02 18:18:45 +0000
commit1a6b61dfa1ffa5032428d260ce4b22db56698693 (patch)
treefe7c45662e4459b8d937e65f27c3bf53d9941187 /Master/texmf-dist/tex/latex/powerdot/powerdot-upen.sty
parentec22b69d36a5c2efaaf68b803ff8eaa6d950eb38 (diff)
powerdot restored
git-svn-id: svn://tug.org/texlive/trunk@31071 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.sty173
1 files changed, 173 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..e459c6231ff
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/powerdot/powerdot-upen.sty
@@ -0,0 +1,173 @@
+%%
+%% This is file `powerdot-upen.sty',
+%% ---------------------------------------------------------------
+%% Copyright (C) 2005-2010 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 "unmaintained".
+%%
+%% This work consists of all files listed in manifest.txt.
+%%
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesPackage{powerdot-upen}[2005/12/10 v1.3 upen style (PRU,HA)]
+\RequirePackage{calc}
+\RequirePackage{pifont}
+\RequirePackage{pst-grad}
+\pddefinepalettes{default}{
+ \colorlet{pdcolor1}{white}
+ \definecolor{pdcolor2}{rgb}{0,.01,.37}
+ \definecolor{pdcolor3}{rgb}{.01,.06,.65}
+ \definecolor{pdcolor4}{rgb}{.98,.78,.18}
+}
+\pddefinetemplate{basic}{
+ titlefont=\large\bfseries\color{pdcolor4},
+ clockcolor=pdcolor4,clockpos={.99\slidewidth,\slideheight},
+ tocslidesep=.6ex,
+ toctcolor=white,
+ tochlcolor=pdcolor2,
+ tochltcolor=pdcolor4,
+ 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},
+ cfpos={.5\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},
+ cfpos={.5\slidewidth,.03\slideheight},
+ rfpos={.95\slidewidth,.03\slideheight},
+ tocpos={.02\slidewidth,.77\slideheight},
+ tocwidth=.13\slidewidth,
+ tocsecm={\psline[linewidth=.5pt,linecolor=pdcolor4]%
+ (-.05,-.05)(.12\slidewidth,-.05)}
+}{%
+ \pdifsetup{landscape}{%
+ \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdcolor2,%
+ gradend=pdcolor3,gradangle=-90,gradmidpoint=0,linewidth=0pt]%
+ (0,.8\slideheight)(\slidewidth,0)%
+ \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdcolor2,%
+ gradend=pdcolor2,gradmidpoint=0,dimen=outer,linewidth=0pt]%
+ (0,.8\slideheight)(\slidewidth,\slideheight)%
+ }{%
+ \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdcolor3,%
+ gradend=pdcolor2,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{pdcolor4},
+ textheight=.63\slideheight,
+ titlefont=\Large\bfseries\centering,tocpos,ntocpos,stocpos
+}{%
+ \setlength\@tempdima{.8\slideheight+.5pt}%
+ \psframe[fillstyle=gradient,gradbegin=pdcolor3,gradend=pdcolor4,%
+ gradangle=90,gradmidpoint=.5,linestyle=none,dimen=outer,linewidth=0pt]%
+ (0,.8\slideheight)(\slidewidth,\@tempdima)%
+ \setlength\@tempdima{.2\slideheight+.5pt}%
+ \psframe[fillstyle=gradient,gradbegin=pdcolor3,gradend=pdcolor4,%
+ gradangle=90,gradmidpoint=.5,linestyle=none,dimen=outer,linewidth=0pt]%
+ (0,.2\slideheight)(\slidewidth,\@tempdima)%
+}
+\pddefinetemplate[basic]{slide}{}{%
+ \pdifsetup{landscape}{%
+ \psframe[fillstyle=gradient,gradbegin=pdcolor2,gradend=pdcolor3,%
+ 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=pdcolor2,gradend=white,linewidth=0pt,%
+ gradangle=90,gradmidpoint=.2,linestyle=none,dimen=outer]%
+ (.05\slidewidth,.8\slideheight)(.5\slidewidth,\@tempdima)%
+ }{%
+ \psframe[fillstyle=gradient,gradbegin=pdcolor2,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{pdcolor4},
+ ifsetup=landscape,
+ titlepos={.59\slidewidth,.53\slideheight},
+ ifsetup=portrait,
+ titlepos={.5\slidewidth,.53\slideheight}
+}{{%
+ \psset{linewidth=.8pt,linecolor=pdcolor3}%
+ \pdifsetup{landscape}{%
+ \psframe[fillstyle=solid,fillcolor=pdcolor2,linestyle=none]%
+ (.34\slidewidth,.65\slideheight)(.84\slidewidth,.4\slideheight)%
+ }{%
+ \psframe[fillstyle=solid,fillcolor=pdcolor2,linestyle=none]%
+ (.16\slidewidth,.65\slideheight)(.84\slidewidth,.4\slideheight)%
+ }%
+}}
+\pddefinetemplate[wideslide]{sectionwideslide}{%
+ titlewidth=.62\slidewidth,titlehook=c,
+ titlefont=\Large\bfseries\centering\color{pdcolor4},
+ titlepos={.5\slidewidth,.53\slideheight}
+}{%
+ \psframe*[linecolor=pdcolor2]%
+ (.16\slidewidth,.65\slideheight)(.84\slidewidth,.4\slideheight)%
+}
+\def\pd@upenbg#1#2{%
+ \setlength\@tempdima{#1+.5pt}%
+ \psframe[fillstyle=gradient,gradbegin=pdcolor2,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=pdcolor2,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{pdcolor4}\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}
+}
+\def\rmdefault{phv}
+\def\sfdefault{phv}
+\def\Hv@scale{.85}
+\endinput
+%%
+%% End of file `powerdot-upen.sty'.