summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/powerdot
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-03-15 21:09:08 +0000
committerKarl Berry <karl@freefriends.org>2012-03-15 21:09:08 +0000
commitd1ad8fadf5a36d2b3eb1d25d8437eb6e8f1142f0 (patch)
treee78408824dd7cc8ae0ddb7f6105cc969bffc18ef /Master/texmf-dist/tex/latex/powerdot
parent68a17828a0339180b4f91f13eeb1e3c04b7cea89 (diff)
powerdot 1.4i (13mar12)
git-svn-id: svn://tug.org/texlive/trunk@25656 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/powerdot')
-rw-r--r--Master/texmf-dist/tex/latex/powerdot/powerdot-tiger.sty214
-rw-r--r--Master/texmf-dist/tex/latex/powerdot/powerdot.cls52
2 files changed, 262 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/powerdot/powerdot-tiger.sty b/Master/texmf-dist/tex/latex/powerdot/powerdot-tiger.sty
new file mode 100644
index 00000000000..8e337ada54e
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/powerdot/powerdot-tiger.sty
@@ -0,0 +1,214 @@
+%%
+%% This is file `powerdot-tiger.sty',
+
+%% ---------------------------------------------------------------
+%% Copyright (C) Clemson University
+%% ---------------------------------------------------------------
+%%
+%% 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.
+%%
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesPackage{powerdot-tiger}[2006/05/23 v1.0 tiger style (HA)]
+\RequirePackage{pst-grad}
+\definecolor{fymahltcolor}{rgb}{1,0,0}
+\pddefinepalettes{orange}{
+ \definecolor{pdcolor1}{rgb}{.23,.09,.41} %{.8,.23,.24} %text
+ \definecolor{pdcolor2}{rgb}{.95,.53,.13} %lines
+ \definecolor{pdcolor3}{rgb}{1,.92,.87} %background
+ \definecolor{fymahltcolor}{rgb}{.23,.25,.5}%toc color
+}{blue}{
+ \definecolor{pdcolor1}{rgb}{.14,.34,.55}
+ \definecolor{pdcolor2}{rgb}{.24,.45,.7}
+ \definecolor{pdcolor3}{rgb}{.88,.95,1}
+}{green}{
+ \definecolor{pdcolor1}{rgb}{.1,.45,.3}
+ \definecolor{pdcolor2}{rgb}{.24,.7,.45}
+ \definecolor{pdcolor3}{rgb}{.88,1,.9}
+}{gray}{
+ \definecolor{pdcolor1}{gray}{0.25}
+ \definecolor{pdcolor2}{gray}{0.55}
+ \definecolor{pdcolor3}{gray}{0.85}
+}{brown}{
+ \definecolor{pdcolor1}{rgb}{.52,.32,.12}
+ \definecolor{pdcolor2}{rgb}{.7,.45,.24}
+ \definecolor{pdcolor3}{rgb}{.97,.92,.92}
+}
+\pddefinetemplate{basic}{
+ titlefont=\large\bfseries\raggedright,
+ clockpos={.96\slidewidth,.97\slideheight},clockcolor=pdcolor1,
+ tocslidesep=.6ex,
+ toctcolor=pdcolor1,
+ tochlcolor=pdcolor1,
+ tochltcolor=fymahltcolor,
+ ifsetup=portrait,
+ textheight=.67\slideheight,
+ titlepos={.06\slidewidth,.9\slideheight},
+ titlewidth=.75\slidewidth,
+ textpos={.09\slidewidth,.83\slideheight},
+ textwidth=.85\slidewidth,
+ tocsecsep=.6ex,
+ stochook=tr,stocpos={.48\slidewidth,.12\slideheight},
+ stocfont=\tiny\raggedleft,
+ ntochook=tl,ntocpos={.52\slidewidth,.12\slideheight},
+ lfpos={.06\slidewidth,.045\slideheight},
+ rfpos={.94\slidewidth,.045\slideheight},
+ ifsetup=landscape,
+ titlepos={.205\slidewidth,.9\slideheight},
+ titlewidth=.75\slidewidth,
+ textheight=.72\slideheight,
+ textpos={.23\slidewidth,.82\slideheight},
+ textwidth=.72\slidewidth,
+ lfpos={.04\slidewidth,.03\slideheight},
+ rfpos={.96\slidewidth,.03\slideheight},
+ tocpos={.04\slidewidth,.82\slideheight},
+ tocwidth=.14\slidewidth,
+ tocsecm={\psline[linewidth=.5pt,linecolor=pdcolor1]%
+ (-.05,-.05)(.143\slidewidth,-.05)}
+}{{%
+ \psset{linewidth=.8pt,linecolor=pdcolor2}%
+ \pdifsetup{landscape}{%
+ \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdcolor3,%
+ gradend=white,gradmidpoint=0,dimen=outer]%
+ (.03\slidewidth,.97\slideheight)(.97\slidewidth,.055\slideheight)%
+ \psline
+ (.02\slidewidth,.055\slideheight)(.98\slidewidth,.055\slideheight)%
+ \psline
+ (.03\slidewidth,.07\slideheight)(.03\slidewidth,.045\slideheight)%
+ \psline
+ (.97\slidewidth,.07\slideheight)(.97\slidewidth,.045\slideheight)%
+ }{%
+ \psframe[linestyle=none,fillstyle=gradient,gradbegin=white,%
+ gradend=pdcolor3,gradmidpoint=.85,dimen=outer]%
+ (.03\slidewidth,.97\slideheight)(.97\slidewidth,.03\slideheight)%
+ \psline
+ (.02\slidewidth,.03\slideheight)(.98\slidewidth,.03\slideheight)%
+ \psline
+ (.03\slidewidth,.045\slideheight)(.03\slidewidth,.02\slideheight)%
+ \psline
+ (.97\slidewidth,.045\slideheight)(.97\slidewidth,.02\slideheight)%
+ }%
+ \psline
+ (.02\slidewidth,.97\slideheight)(.98\slidewidth,.97\slideheight)%
+ \psline
+ (.03\slidewidth,.98\slideheight)(.03\slidewidth,.955\slideheight)%
+ \psline
+ (.97\slidewidth,.98\slideheight)(.97\slidewidth,.955\slideheight)%
+}}
+\pddefinetemplate[basic]{titleslide}{
+ texthook=t,textpos={.5\slidewidth,.7\slideheight},
+ textwidth=.9\slidewidth,textfont=\centering,
+ textheight=.6\slideheight,
+ titlefont=\large\bfseries\centering,tocpos,ntocpos,stocpos
+}{}
+\pddefinetemplate[basic]{slide}{}{%
+ \pdifsetup{landscape}{%
+ \psframe[fillstyle=gradient,gradbegin=pdcolor3,gradend=white,%
+ gradmidpoint=1,linestyle=none,dimen=outer,linewidth=.8pt]%
+ (.03\slidewidth,.97\slideheight)(.195\slidewidth,.055\slideheight)%
+ }{}%
+}
+\pddefinetemplate[basic]{wideslide}{
+ ifsetup=landscape,tocpos,
+ titlepos={.055\slidewidth,.9\slideheight},
+ titlewidth=.75\slidewidth,
+ textpos={.07\slidewidth,.83\slideheight},
+ textwidth=.83\slidewidth
+}{}
+\pddefinetemplate[slide]{sectionslide}{
+ titlehook=c,titlefont=\Large\bfseries\centering,
+ ifsetup=landscape,
+ titlepos={.59\slidewidth,.525\slideheight},
+ titlewidth=.5\slidewidth,
+ ifsetup=portrait,
+ titlepos={.5\slidewidth,.525\slideheight},
+ titlewidth=.68\slidewidth
+}{{%
+ \psset{linewidth=.8pt,linecolor=pdcolor2}%
+ \pdifsetup{landscape}{%
+ \psframe[fillstyle=solid,fillcolor=white,linestyle=none,dimen=outer]%
+ (.34\slidewidth,.65\slideheight)(.84\slidewidth,.4\slideheight)%
+ \psline
+ (.33\slidewidth,.65\slideheight)(.85\slidewidth,.65\slideheight)%
+ \psline
+ (.33\slidewidth,.4\slideheight)(.85\slidewidth,.4\slideheight)%
+ \psline
+ (.34\slidewidth,.635\slideheight)(.34\slidewidth,.66\slideheight)%
+ \psline
+ (.34\slidewidth,.39\slideheight)(.34\slidewidth,.415\slideheight)%
+ }{%
+ \psframe[fillstyle=solid,fillcolor=white,linestyle=none,dimen=outer]%
+ (.16\slidewidth,.65\slideheight)(.84\slidewidth,.4\slideheight)%
+ \psline
+ (.15\slidewidth,.65\slideheight)(.85\slidewidth,.65\slideheight)%
+ \psline
+ (.15\slidewidth,.4\slideheight)(.85\slidewidth,.4\slideheight)%
+ \psline
+ (.16\slidewidth,.635\slideheight)(.16\slidewidth,.66\slideheight)%
+ \psline
+ (.16\slidewidth,.39\slideheight)(.16\slidewidth,.415\slideheight)%
+ }%
+ \psline
+ (.84\slidewidth,.635\slideheight)(.84\slidewidth,.66\slideheight)%
+ \psline
+ (.84\slidewidth,.39\slideheight)(.84\slidewidth,.415\slideheight)%
+}}
+\pddefinetemplate[wideslide]{sectionwideslide}{%
+ titlehook=c,titlefont=\Large\bfseries\centering,
+ titlepos={.5\slidewidth,.525\slideheight},
+ titlewidth=.68\slidewidth
+}{{%
+ \psset{linewidth=.8pt,linecolor=pdcolor2}%
+ \psframe[fillstyle=solid,fillcolor=white,linestyle=none,dimen=outer]%
+ (.16\slidewidth,.65\slideheight)(.84\slidewidth,.4\slideheight)%
+ \psline
+ (.15\slidewidth,.65\slideheight)(.85\slidewidth,.65\slideheight)%
+ \psline
+ (.15\slidewidth,.4\slideheight)(.85\slidewidth,.4\slideheight)%
+ \psline
+ (.16\slidewidth,.635\slideheight)(.16\slidewidth,.66\slideheight)%
+ \psline
+ (.16\slidewidth,.39\slideheight)(.16\slidewidth,.415\slideheight)%
+ \psline
+ (.84\slidewidth,.635\slideheight)(.84\slidewidth,.66\slideheight)%
+ \psline
+ (.84\slidewidth,.39\slideheight)(.84\slidewidth,.415\slideheight)%
+}}
+\def\pd@slidetitle#1{%
+ \settowidth\@tempdima{#1}%
+ \ifdim\@tempdima>\pd@@titlewidth\@tempdima\pd@@titlewidth\fi
+ \psline[linewidth=.8pt,linecolor=pdcolor1](0,-.15cm)(\@tempdima,-.15cm)%
+ \parbox[b]\pd@@titlewidth{#1}%
+}
+\def\pd@tochighlight#1{%
+ \begin{minipage}[b]\pd@@tocwidth
+ \pd@usedtocfont\color\pd@@tochltcolor#1%
+ \end{minipage}%
+}
+\setkeys[pd]{section}{sectemp=sectionslide,widesectemp=sectionwideslide}
+\pdifsetup{landscape}{\def\pd@tocslide#1{{\tiny\ensuremath\bullet} #1}}{}
+\def\labelitemi{\includegraphics[scale=.02]{pawtraceorange}}
+\def\labelitemii{\includegraphics[scale=.02]{pawtracep}}
+\def\labelitemiii{\includegraphics[scale=.02]{pawmkorange}}
+\def\labelitemiv{\includegraphics[scale=.02]{pawmkpurple}}
+\pdsetup{list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt}}
+\def\rmdefault{phv}
+\def\sfdefault{phv}
+\def\Hv@scale{.86}
+
+\pdsetup{lf={Style Experiment},
+ rf={Tool06},
+ palette=orange,
+ logopos={4.5mm,.95\slideheight},%
+ logocmd={\includegraphics[width=0.25\slidewidth]{clemson}}}
+
+
+\endinput
+%%
+%% End of file `powerdot-tiger.sty'.
+
diff --git a/Master/texmf-dist/tex/latex/powerdot/powerdot.cls b/Master/texmf-dist/tex/latex/powerdot/powerdot.cls
index c6b69dfe0d1..50b93dc0d59 100644
--- a/Master/texmf-dist/tex/latex/powerdot/powerdot.cls
+++ b/Master/texmf-dist/tex/latex/powerdot/powerdot.cls
@@ -5,7 +5,7 @@
%% Copyright (C) 2005-2011 Hendri Adriaens and Christopher Ellison
%% ---------------------------------------------------------------
%%
-%% Version 1.4h prepared by Herbert Voss
+%% Version 1.4i prepared by Herbert Voss
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -18,7 +18,7 @@
%% This work has the LPPL maintenance status "unmaintained".
%%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesClass{powerdot}[2011/09/15 v1.4h powerdot presentation class (HA,CE)]
+\ProvidesClass{powerdot}[2012/03/13 v1.4i powerdot presentation class (HA,CE,hv)]
\newif\ifpd@overlay
\newif\ifpd@section
\newif\ifpd@ifsetup
@@ -146,8 +146,41 @@
\RequirePackage[mag=2000,margin=0pt,voffset=-\pd@@size pt]{geometry}
\geometry{top=.5\paperheight}
\fi
-\RequirePackage[setpagesize=false,dvips,pdfstartview=Fit,%
- pageanchor=false,bookmarks=false]{hyperref}
+\RequirePackage{ifxetex}
+\ifxetex
+ \RequirePackage[setpagesize=false,pdfstartview=Fit,
+ pageanchor=false,bookmarks=false]{hyperref}[2009/12/14]
+\def\pd@pdftrans{%
+ \@expandtwoargs\in@{,\pd@@trans,}{%
+ ,Split,Blinds,Box,Wipe,Dissolve,Glitter,%
+ Replace,Fly,Push,Cover,Uncover,Fade,}%
+ \ifin@\else
+ \pd@warn{Transition `\pd@@trans' might not be understood by
+ your ps to pdf converter}%
+ \fi
+ \special{pdf:put @thispage %
+ <</Trans<</S/\pd@@trans>>>>%
+ }%
+}
+
+\def\pd@pdbookmark#1#2#3#4{%
+ \pdfstringdef\pd@tempa{#4}%
+ \special{pdf:outline
+ \pd@pdb@@kmark{#1}%
+ <<%
+ /Title(\pd@tempa)%
+ /A<<%
+ /S/GoTo
+ /D(slide.#3)%
+ >>%
+ >>%
+ }%
+}
+\else
+ \RequirePackage[setpagesize=false,dvips,
+ pdfstartview=Fit,
+ pageanchor=false,bookmarks=false]{hyperref}
+\fi
\AtBeginDocument{\def\@pdfborder{0 0 0}}
\RequirePackage{graphicx}
\RequirePackage{pstricks}[2004/05/12]
@@ -166,6 +199,13 @@
\def\itemize@ii[#1][#2]{%
\ifx\relax#1\relax\else\setkeys{enumitem}{#1}\fi%
\orig@itemize[#2]}
+%
+\let\orig@description\description
+\def\description{\@ifnextchar[\description@i{\description@i[]}}
+\def\description@i[#1]{\@ifnextchar[{\description@ii[#1]}{\description@ii[#1][]}}
+\def\description@ii[#1][#2]{%
+ \ifx\relax#1\relax\else\setkeys{enumitem}{#1}\fi%
+ \orig@description[#2]}
%% -------------------------------------------------------------------------
\RequirePackage{verbatim}
\ifnum\pd@mode<2
@@ -799,6 +839,7 @@
\def\pd@pdb@@kmark#1{%
\@ifundefined{pd@be@#1}0{\csname pd@be@#1\endcsname}%
}
+\ifxetex\else
\def\pd@pdbookmark#1#2#3#4{%
\pdfstringdef\pd@tempa{#4}%
\pdfmark{pdfmark=/OUT,%
@@ -806,6 +847,7 @@
View={/XYZ null null null},Title={\pd@tempa}%
}%
}
+\fi
\def\pdcontentsline#1#2#3{%
\ifnum\@tempcnta>\z@
\@nameedef{pd@te@\the\@tempcnta @start}{\pd@tempa}%
@@ -1197,6 +1239,7 @@
}
\define@cmdkey{enumitem}[pd@@]{type}{}
\setkeys{enumitem}{type=0}
+\ifxetex\else
\def\pd@pdftrans{%
\@expandtwoargs\in@{,\pd@@trans,}{%
,Split,Blinds,Box,Wipe,Dissolve,Glitter,%
@@ -1212,6 +1255,7 @@
}%
}%
}
+\fi
\define@cmdkeys[pd]{twocolumn}[pd@@]{%
lineheight,lfrheight,rfrheight,lcolwidth,rcolwidth,%
topsep,bottomsep,indent,lineprop,lfrprop,rfrprop%