diff options
author | Karl Berry <karl@freefriends.org> | 2006-07-14 22:42:30 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-07-14 22:42:30 +0000 |
commit | 9050dab9c1fe96ee740f4b240c9f1cbdeb764d08 (patch) | |
tree | 7e0ecfb5592cc0cfc6b22a9492daa2a278b04502 /Master/texmf-dist/tex/latex/powerdot | |
parent | 8e31fe3c99d1f1b6a0eda074f89b206fd70aa9e5 (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')
18 files changed, 1977 insertions, 810 deletions
diff --git a/Master/texmf-dist/tex/latex/powerdot/powerdot-aggie.sty b/Master/texmf-dist/tex/latex/powerdot/powerdot-aggie.sty index 12d2397e859..67fbb764387 100644 --- a/Master/texmf-dist/tex/latex/powerdot/powerdot-aggie.sty +++ b/Master/texmf-dist/tex/latex/powerdot/powerdot-aggie.sty @@ -6,9 +6,9 @@ %% %% powerdot.dtx (with options: `pdaggie') %% -%% ---------------------------------------------------------- -%% 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,21 +20,24 @@ %% %% 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-aggie}[2005/10/09 v1.1 aggie style (JS,HA)] +\ProvidesPackage{powerdot-aggie}[2005/12/06 v1.2 aggie style (JS,HA)] \RequirePackage{times} \RequirePackage{pifont} \RequirePackage{pst-grad} -\definecolor{pdmaroon}{rgb}{.51,.13,.16} -\definecolor{pdlparchment}{rgb}{.96,.94,.89} -\definecolor{pddparchment}{rgb}{.89,.85,.69} -\definecolor{pddblue}{rgb}{.17,.31,.44} +\pddefinepalettes{default}{ + \definecolor{pdcolor1}{rgb}{.17,.31,.44} + \definecolor{pdcolor2}{rgb}{.51,.13,.16} + \definecolor{pdcolor3}{rgb}{.96,.94,.89} + \definecolor{pdcolor4}{rgb}{.89,.85,.69} +} \pddefinetemplate{titleslide}{ - titlefont=\Large\bfseries\color{pdmaroon}\centering, + titlefont=\Large\bfseries\color{pdcolor2}\centering, + clockcolor=pdcolor1,clockpos={.99\slidewidth,\slideheight}, lfpos={.03\slidewidth,.04\slideheight}, rfpos={.97\slidewidth,.04\slideheight}, lffont=\tiny, @@ -43,106 +46,104 @@ textwidth=.9\slidewidth,textfont=\centering, textheight=.5\slideheight, ifsetup=portrait, - textheight=.55\slideheight, - lfpos={.03\slidewidth,.03\slideheight}, - rfpos={.97\slidewidth,.03\slideheight}, + textheight=.55\slideheight, + lfpos={.03\slidewidth,.03\slideheight}, + rfpos={.97\slidewidth,.03\slideheight} }{% - \psframe*[linecolor=pdlparchment,linewidth=0pt]% + \psframe*[linecolor=pdcolor3,linewidth=0pt]% (0,.85\slideheight)(\slidewidth,0)% - \psline[linecolor=pdmaroon]% + \psline[linecolor=pdcolor2]% (0,.85\slideheight)(\slidewidth,.85\slideheight)% - \psellipse[linestyle=solid,linecolor=pdmaroon,fillstyle=solid,% - fillcolor=pddparchment](0.5\slidewidth,0)(0.7\slidewidth,0.1\slidewidth)% + \psellipse[linestyle=solid,linecolor=pdcolor2,fillstyle=solid,% + fillcolor=pdcolor4](.5\slidewidth,0)(.7\slidewidth,.1\slidewidth)% } \pddefinetemplate{basic}{ titlepos={.2\slidewidth,.93\slideheight}, titlewidth=.75\slidewidth,textheight=.66\slideheight, - titlefont=\Large\sl\bfseries\color{pdmaroon}\raggedright, + titlefont=\Large\sl\bfseries\color{pdcolor2}\raggedright, lfpos={.03\slidewidth,.04\slideheight}, rfpos={.97\slidewidth,.04\slideheight}, + clockcolor=pdcolor1,clockpos={.99\slidewidth,\slideheight}, lffont=\tiny, rffont=\tiny, tocslidesep=.8ex, textheight=.74\slideheight, - toctcolor=pddblue, - tochlcolor=pdmaroon, + toctcolor=pdcolor1, + tochlcolor=pdcolor2, tochltcolor=white, ifsetup=portrait, - lfpos={.03\slidewidth,.03\slideheight}, - rfpos={.97\slidewidth,.03\slideheight}, - textpos={.05\slidewidth,.83\slideheight}, - textwidth=.9\slidewidth, - tocsecsep=.8ex, - stochook=tr,stocpos={.48\slidewidth,.09\slideheight}, - stocfont=\tiny\raggedleft, - ntocpos={.52\slidewidth,.09\slideheight}, + lfpos={.03\slidewidth,.03\slideheight}, + rfpos={.97\slidewidth,.03\slideheight}, + textpos={.05\slidewidth,.83\slideheight}, + textwidth=.9\slidewidth, + tocsecsep=.8ex, + stochook=tr,stocpos={.48\slidewidth,.09\slideheight}, + stocfont=\tiny\raggedleft, + ntocpos={.52\slidewidth,.09\slideheight}, ifsetup=landscape, - textpos={.2\slidewidth,.83\slideheight}, - textwidth=.75\slidewidth + textpos={.2\slidewidth,.83\slideheight}, + textwidth=.75\slidewidth }{% } \pddefinetemplate[basic]{wideslide}{ textpos={.05\slidewidth,.83\slideheight}, textwidth=.9\slidewidth, - ifsetup=portrait, - textheight=0.7\slideheight + ifsetup=portrait,textheight=.7\slideheight }{% - \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdlparchment,% + \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdcolor3,% gradend=white,gradmidpoint=1,gradangle=90,linewidth=0pt]% (0,\slideheight)(\slidewidth,.9\slideheight)% \pd@aggiebg } \pddefinetemplate[basic]{slide}{ ifsetup=landscape, - tocpos={.015\slidewidth,.83\slideheight}, - tocwidth=.14\slidewidth, - tocsecm={\psline[linewidth=.5pt,linecolor=pdmaroon]% - (-.05,-.05)(.143\slidewidth,-.05)}, - ifsetup=portrait, - textheight=0.7\slideheight + tocpos={.015\slidewidth,.83\slideheight}, + tocwidth=.14\slidewidth, + tocsecm={\psline[linewidth=.5pt,linecolor=pdcolor2]% + (-.05,-.05)(.143\slidewidth,-.05)}, + ifsetup=portrait,textheight=.7\slideheight }{% - \psframe[fillstyle=gradient,gradbegin=pdlparchment,gradend=white,% + \psframe[fillstyle=gradient,gradbegin=pdcolor3,gradend=white,% gradmidpoint=0,linestyle=none,linewidth=0pt]% (0,.9\slideheight)(.25\slidewidth,.075\slideheight)% \psellipse*[linecolor=white](.25\slidewidth,.6\slideheight)% - (0.075\slidewidth,0.7\slideheight)% + (.075\slidewidth,.7\slideheight)% \pd@aggiebg } \pddefinetemplate[slide]{sectionslide}{ - titlehook=c,titlefont=\Large\bfseries\color{pdmaroon}\centering, + titlehook=c,titlefont=\Large\bfseries\color{pdcolor2}\centering, ifsetup=landscape, - titlepos={.575\slidewidth,.55\slideheight}, - titlewidth=.75\slidewidth, + titlepos={.575\slidewidth,.55\slideheight}, + titlewidth=.75\slidewidth, ifsetup=portrait, - titlepos={.5\slidewidth,.55\slideheight}, - titlewidth=.9\slidewidth + titlepos={.5\slidewidth,.55\slideheight}, + titlewidth=.9\slidewidth }{} \pddefinetemplate[wideslide]{sectionwideslide}{ - titlehook=c,titlefont=\Large\bfseries\color{pdmaroon}\centering, + titlehook=c,titlefont=\Large\bfseries\color{pdcolor2}\centering, titlepos={.5\slidewidth,.55\slideheight}, titlewidth=.9\slidewidth }{} \def\pd@aggiebg{% \pdifsetup{landscape}{% - \psframe*[linecolor=pddparchment](0,0)(\slidewidth,.075\slideheight)% - \psline[linecolor=pdmaroon,linewidth=.5pt]% + \psframe*[linecolor=pdcolor4](0,0)(\slidewidth,.075\slideheight)% + \psline[linecolor=pdcolor2,linewidth=.5pt]% (0,.075\slideheight)(\slidewidth,.075\slideheight)% }{% - \psframe*[linecolor=pddparchment](0,0)(\slidewidth,.1\slideheight)% - \psline[linecolor=pdmaroon,linewidth=.5pt]% + \psframe*[linecolor=pdcolor4](0,0)(\slidewidth,.1\slideheight)% + \psline[linecolor=pdcolor2,linewidth=.5pt]% (0,.1\slideheight)(\slidewidth,.1\slideheight)% }% } \setkeys[pd]{section}{sectemp=sectionslide,widesectemp=sectionwideslide} \def\pd@tocslide#1{\ding{118}\,#1} -\def\labelitemi{\color{pdmaroon}\footnotesize\ding{108}} -\def\labelitemii{\color{pdmaroon}\small\ding{70}} -\def\labelitemiii{\color{pdmaroon}\tiny\ding{110}} -\def\labelitemiv{\color{pdmaroon}\tiny\ding{117}} +\def\labelitemi{\color{pdcolor2}\footnotesize\ding{108}} +\def\labelitemii{\color{pdcolor2}\small\ding{70}} +\def\labelitemiii{\color{pdcolor2}\tiny\ding{110}} +\def\labelitemiv{\color{pdcolor2}\tiny\ding{117}} \pdsetup{ list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt} } -\color{pddblue} \renewcommand\familydefault{\sfdefault} \endinput %% 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 %% diff --git a/Master/texmf-dist/tex/latex/powerdot/powerdot-ciment.sty b/Master/texmf-dist/tex/latex/powerdot/powerdot-ciment.sty index a35cbe12daf..3ed7b8fa453 100644 --- a/Master/texmf-dist/tex/latex/powerdot/powerdot-ciment.sty +++ b/Master/texmf-dist/tex/latex/powerdot/powerdot-ciment.sty @@ -6,9 +6,9 @@ %% %% powerdot.dtx (with options: `pdciment') %% -%% ---------------------------------------------------------- -%% 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-ciment}[2005/09/19 v1.1 ciment style (HA)] +\ProvidesPackage{powerdot-ciment}[2005/12/06 v1.2 ciment style (HA)] \RequirePackage{pifont} -\definecolor{pdred}{rgb}{.7,.1,.1} -\definecolor{pddgray}{rgb}{.2,.2,.2} -\definecolor{pdlgray}{rgb}{.75,.75,.75} +\pddefinepalettes{default}{ + \colorlet{pdcolor1}{black} + \definecolor{pdcolor2}{rgb}{.7,.1,.1} + \definecolor{pdcolor3}{rgb}{.2,.2,.2} + \definecolor{pdcolor4}{rgb}{.75,.75,.75} +} \pddefinetemplate{basic}{ titlepos={.1\slidewidth,.93\slideheight}, titlewidth=.85\slidewidth, - titlefont=\color{pdred}\large\bfseries\raggedright, + titlefont=\color{pdcolor2}\large\bfseries\raggedright, + clockpos={.99\slidewidth,\slideheight}, lfpos={.05\slidewidth,.04\slideheight}, - lffont=\color{pddgray}\scriptsize, - rffont=\color{pddgray}\scriptsize, + lffont=\color{pdcolor3}\scriptsize, + rffont=\color{pdcolor3}\scriptsize, rfpos={.95\slidewidth,.04\slideheight}, tocslidesep=.6ex, toctcolor=black, - tochlcolor=pdred, + tochlcolor=pdcolor2, tochltcolor=white, ifsetup=portrait, - textpos={.05\slidewidth,.85\slideheight}, - textwidth=.9\slidewidth,textheight=.68\slideheight, - tocsecsep=.6ex, - stochook=tr,stocpos={.48\slidewidth,.13\slideheight}, - stocfont=\tiny\raggedleft, - ntocpos={.52\slidewidth,.13\slideheight}, + textpos={.05\slidewidth,.85\slideheight}, + textwidth=.9\slidewidth,textheight=.68\slideheight, + tocsecsep=.6ex, + stochook=tr,stocpos={.48\slidewidth,.13\slideheight}, + stocfont=\tiny\raggedleft, + ntocpos={.52\slidewidth,.13\slideheight}, ifsetup=landscape, - textpos={.2\slidewidth,.85\slideheight}, - textwidth=.75\slidewidth,textheight=.7\slideheight + textpos={.2\slidewidth,.85\slideheight}, + textwidth=.75\slidewidth,textheight=.7\slideheight }{% \psframe[linewidth=0pt,linestyle=none,fillstyle=hlines,% - hatchwidth=.4pt,hatchangle=0,hatchcolor=pdlgray]% + hatchwidth=.4pt,hatchangle=0,hatchcolor=pdcolor4]% (0,0)(\slidewidth,\slideheight)% \pdifsetup{landscape}{% - \psline[linecolor=pdred](.05\slidewidth,.09\slideheight)% + \psline[linecolor=pdcolor2](.05\slidewidth,.09\slideheight)% (.95\slidewidth,.09\slideheight)% }{% - \psline[linecolor=pdred](.05\slidewidth,.15\slideheight)% + \psline[linecolor=pdcolor2](.05\slidewidth,.15\slideheight)% (.95\slidewidth,.15\slideheight)% }% } \pddefinetemplate[basic]{titleslide}{ - titlefont=\color{pdred}\large\bfseries\centering, + titlefont=\color{pdcolor2}\large\bfseries\centering, texthook=t,textpos={.5\slidewidth,.7\slideheight}, textwidth=.9\slidewidth,textfont=\centering, textheight=.6\slideheight,titlepos, @@ -77,35 +81,35 @@ }{} \pddefinetemplate[basic]{slide}{ ifsetup=landscape, - tocpos={.015\slidewidth,.83\slideheight}, - tocwidth=.14\slidewidth, - tocsecm={\psline[linewidth=.5pt,linecolor=pdred]% - (-.05,-.05)(.143\slidewidth,-.05)} + tocpos={.015\slidewidth,.83\slideheight}, + tocwidth=.14\slidewidth, + tocsecm={\psline[linewidth=.5pt,linecolor=pdcolor2]% + (-.05,-.05)(.143\slidewidth,-.05)} }{% \pdifsetup{landscape}{% - \psframe[fillstyle=solid,fillcolor=pdlgray,linestyle=none,% + \psframe[fillstyle=solid,fillcolor=pdcolor4,linestyle=none,% linewidth=0pt](0,.85\slideheight)(.17\slidewidth,.15\slideheight)% }{}% } \pddefinetemplate[slide]{sectionslide}{ - titlehook=c,titlefont=\color{pdred}\Large\bfseries\centering, + titlehook=c,titlefont=\color{pdcolor2}\Large\bfseries\centering, ifsetup=landscape, - titlepos={.575\slidewidth,.55\slideheight}, - titlewidth=.75\slidewidth, + titlepos={.575\slidewidth,.55\slideheight}, + titlewidth=.75\slidewidth, ifsetup=portrait, - titlepos={.5\slidewidth,.55\slideheight}, - titlewidth=.9\slidewidth + titlepos={.5\slidewidth,.55\slideheight}, + titlewidth=.9\slidewidth }{} \pddefinetemplate[wideslide]{sectionwideslide}{ - titlehook=c,titlefont=\color{pdred}\Large\bfseries\centering, + titlehook=c,titlefont=\color{pdcolor2}\Large\bfseries\centering, titlepos={.5\slidewidth,.55\slideheight}, titlewidth=.9\slidewidth }{} \def\pd@slidetitle#1{% - \psline[linecolor=pdred](0,-.15cm)(.85\slidewidth,-.15cm)% + \psline[linecolor=pdcolor2](0,-.15cm)(.85\slidewidth,-.15cm)% \settowidth\@tempdima{#1}% \ifdim\@tempdima>\pd@@titlewidth\@tempdima\pd@@titlewidth\fi - \psline[linecolor=pdred,linewidth=2.5pt]% + \psline[linecolor=pdcolor2,linewidth=2.5pt]% (0,-.15cm)(\@tempdima,-.15cm)% \parbox[b]\pd@@titlewidth{#1}% } @@ -118,7 +122,6 @@ \pdsetup{ list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt} } -\color{black} \def\rmdefault{cmss} \endinput %% diff --git a/Master/texmf-dist/tex/latex/powerdot/powerdot-default.sty b/Master/texmf-dist/tex/latex/powerdot/powerdot-default.sty index 3a0b2a7b041..15468d9089c 100644 --- a/Master/texmf-dist/tex/latex/powerdot/powerdot-default.sty +++ b/Master/texmf-dist/tex/latex/powerdot/powerdot-default.sty @@ -6,9 +6,9 @@ %% %% powerdot.dtx (with options: `pddefault') %% -%% ---------------------------------------------------------- -%% 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,16 +20,37 @@ %% %% 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-default}[2005/10/09 v1.2 default style (HA)] +\ProvidesPackage{powerdot-default}[2005/12/06 v1.3 default style (HA)] \RequirePackage{pifont} -\definecolor{pddblue}{rgb}{.17,.31,.44} -\definecolor{pdlblue}{rgb}{.75,.85,.92} -\definecolor{pdllblue}{rgb}{.9,.95,.98} +\definecolor{pdcolor1}{rgb}{.17,.31,.44} +\definecolor{pdcolor2}{rgb}{.75,.85,.92} +\definecolor{pdcolor3}{rgb}{.9,.95,.98} +\pddefinepalettes{blue}{}{red}{ + \colorlet{pdcolor1}{pdcolor1>wheel,150} + \colorlet{pdcolor2}{pdcolor2>wheel,150} + \colorlet{pdcolor3}{pdcolor3>wheel,150} +}{green}{ + \colorlet{pdcolor1}{pdcolor1>wheel,290} + \colorlet{pdcolor2}{pdcolor2>wheel,290} + \colorlet{pdcolor3}{pdcolor3>wheel,290} +}{yellow}{ + \colorlet{pdcolor1}{pdcolor1>wheel,-150} + \colorlet{pdcolor2}{pdcolor2>wheel,-150} + \colorlet{pdcolor3}{pdcolor3>wheel,-150} +}{brown}{ + \colorlet{pdcolor1}{pdcolor1>wheel,180} + \colorlet{pdcolor2}{pdcolor2>wheel,180} + \colorlet{pdcolor3}{pdcolor3>wheel,180} +}{purple}{ + \colorlet{pdcolor1}{pdcolor1>wheel,45} + \colorlet{pdcolor2}{pdcolor2>wheel,45} + \colorlet{pdcolor3}{pdcolor3>wheel,45} +} \newbox\pd@imagebox \pdifsetup{landscape}{ \sbox\pd@imagebox{\includegraphics[trim=50 20 0 20,clip,% @@ -42,41 +63,43 @@ } \pddefinetemplate{titleslide}{ titlefont=\large\bfseries\centering, + clockcolor=pdcolor1,clockpos={.99\slidewidth,\slideheight}, lfpos={.03\slidewidth,.04\slideheight}, rfpos={.97\slidewidth,.04\slideheight}, texthook=t,textpos={.5\slidewidth,.7\slideheight}, textwidth=.9\slidewidth,textfont=\centering, textheight=.6\slideheight }{% - \psframe*[linecolor=pdllblue,linewidth=0pt]% + \psframe*[linecolor=pdcolor3,linewidth=0pt]% (0,.8\slideheight)(\slidewidth,0)% - \psline[linecolor=pddblue]% + \psline[linecolor=pdcolor1]% (0,.8\slideheight)(\slidewidth,.8\slideheight)% } \pddefinetemplate{basic}{ titlepos={.2\slidewidth,.93\slideheight}, titlewidth=.75\slidewidth,textheight=.68\slideheight, titlefont=\large\bfseries\raggedright, + clockcolor=pdcolor1,clockpos={.99\slidewidth,\slideheight}, lfpos={.03\slidewidth,.04\slideheight}, rfpos={.97\slidewidth,.04\slideheight}, tocslidesep=.6ex, - toctcolor=pddblue, - tochlcolor=pddblue, - tochltcolor=pdllblue, + toctcolor=pdcolor1, + tochlcolor=pdcolor1, + tochltcolor=pdcolor3, ifsetup=portrait, - textpos={.05\slidewidth,.83\slideheight}, - textwidth=.9\slidewidth, - tocsecsep=.6ex, - stochook=tr,stocpos={.48\slidewidth,.09\slideheight}, - stocfont=\tiny\raggedleft, - ntocpos={.52\slidewidth,.09\slideheight}, + textpos={.05\slidewidth,.83\slideheight}, + textwidth=.9\slidewidth, + tocsecsep=.6ex, + stochook=tr,stocpos={.48\slidewidth,.09\slideheight}, + stocfont=\tiny\raggedleft, + ntocpos={.52\slidewidth,.09\slideheight}, ifsetup=landscape, - textpos={.2\slidewidth,.83\slideheight}, - textwidth=.75\slidewidth + textpos={.2\slidewidth,.83\slideheight}, + textwidth=.75\slidewidth }{% - \psframe*[linecolor=pdllblue,linewidth=0pt]% + \psframe*[linecolor=pdcolor3,linewidth=0pt]% (0,\slideheight)(\slidewidth,.9\slideheight)% - \psframe*[linecolor=pdlblue,linewidth=0pt]% + \psframe*[linecolor=pdcolor2,linewidth=0pt]% (0,0)(\slidewidth,.1\slideheight)% \rput[tl](0,\slideheight){\usebox\pd@imagebox}% } @@ -86,23 +109,23 @@ }{} \pddefinetemplate[basic]{slide}{ ifsetup=landscape, - tocpos={.015\slidewidth,.83\slideheight}, - tocwidth=.14\slidewidth, - tocsecm={\psline[linewidth=.5pt,linecolor=pddblue]% - (-.05,-.05)(.143\slidewidth,-.05)} + tocpos={.015\slidewidth,.83\slideheight}, + tocwidth=.14\slidewidth, + tocsecm={\psline[linewidth=.5pt,linecolor=pdcolor1]% + (-.05,-.05)(.143\slidewidth,-.05)} }{% \pdifsetup{landscape}{% - \psframe[fillstyle=solid,fillcolor=pdllblue,linestyle=none,% + \psframe[fillstyle=solid,fillcolor=pdcolor3,linestyle=none,% linewidth=0pt](0,.9\slideheight)(.17\slidewidth,.1\slideheight)% }{}% } \pddefinetemplate[slide]{sectionslide}{ titlehook=c,titlefont=\Large\bfseries\centering, ifsetup=landscape, - titlepos={.575\slidewidth,.55\slideheight}, + titlepos={.575\slidewidth,.55\slideheight}, ifsetup=portrait, - titlewidth=.9\slidewidth, - titlepos={.5\slidewidth,.55\slideheight} + titlewidth=.9\slidewidth, + titlepos={.5\slidewidth,.55\slideheight} }{} \pddefinetemplate[wideslide]{sectionwideslide}{ titlehook=c,titlefont=\Large\bfseries\centering, @@ -119,7 +142,6 @@ \pdsetup{ list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt} } -\color{pddblue} \def\rmdefault{cmss} \endinput %% 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 %% diff --git a/Master/texmf-dist/tex/latex/powerdot/powerdot-fyma.sty b/Master/texmf-dist/tex/latex/powerdot/powerdot-fyma.sty index d08d75444c7..caf9390bd0b 100644 --- a/Master/texmf-dist/tex/latex/powerdot/powerdot-fyma.sty +++ b/Master/texmf-dist/tex/latex/powerdot/powerdot-fyma.sty @@ -6,9 +6,9 @@ %% %% powerdot.dtx (with options: `pdfyma') %% -%% ---------------------------------------------------------- -%% 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,50 +20,71 @@ %% %% 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-fyma}[2005/09/19 v1.1 fyma style (SA,HA)] +\ProvidesPackage{powerdot-fyma}[2005/12/06 v1.2 fyma style (SA,HA)] \RequirePackage{pst-grad} -\definecolor{pddblue}{rgb}{.14,.34,.55} -\definecolor{pdblue}{rgb}{.24,.45,.7} -\definecolor{pdlblue}{rgb}{.88,.95,1} +\definecolor{fymahltcolor}{rgb}{1,0,0} +\pddefinepalettes{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} +}{orange}{ + \definecolor{pdcolor1}{rgb}{.8,.23,.24} + \definecolor{pdcolor2}{rgb}{.95,.53,.44} + \definecolor{pdcolor3}{rgb}{1,.92,.87} + \definecolor{fymahltcolor}{rgb}{.23,.25,.5} +} \pddefinetemplate{basic}{ titlefont=\large\bfseries\raggedright, + clockpos={.96\slidewidth,.97\slideheight},clockcolor=pdcolor1, tocslidesep=.6ex, - toctcolor=pddblue, - tochlcolor=pddblue, - tochltcolor=red, + 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}, + 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=pddblue]% - (-.05,-.05)(.143\slidewidth,-.05)} -}{% - \psset{linewidth=.8pt,linecolor=pdblue}% + 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=pdlblue,% + \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdcolor3,% gradend=white,gradmidpoint=0,dimen=outer]% (.03\slidewidth,.97\slideheight)(.97\slidewidth,.055\slideheight)% \psline @@ -74,7 +95,7 @@ (.97\slidewidth,.07\slideheight)(.97\slidewidth,.045\slideheight)% }{% \psframe[linestyle=none,fillstyle=gradient,gradbegin=white,% - gradend=pdlblue,gradmidpoint=.85,dimen=outer]% + gradend=pdcolor3,gradmidpoint=.85,dimen=outer]% (.03\slidewidth,.97\slideheight)(.97\slidewidth,.03\slideheight)% \psline (.02\slidewidth,.03\slideheight)(.98\slidewidth,.03\slideheight)% @@ -89,7 +110,7 @@ (.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, @@ -98,28 +119,28 @@ }{} \pddefinetemplate[basic]{slide}{}{% \pdifsetup{landscape}{% - \psframe[fillstyle=gradient,gradbegin=pdlblue,gradend=white,% + \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 + 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, + titlepos={.59\slidewidth,.525\slideheight}, + titlewidth=.5\slidewidth, ifsetup=portrait, - titlepos={.5\slidewidth,.525\slideheight}, - titlewidth=.68\slidewidth -}{% - \psset{linewidth=.8pt,linecolor=pdblue}% + 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)% @@ -147,13 +168,13 @@ (.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=pdblue}% +}{{% + \psset{linewidth=.8pt,linecolor=pdcolor2}% \psframe[fillstyle=solid,fillcolor=white,linestyle=none,dimen=outer]% (.16\slidewidth,.65\slideheight)(.84\slidewidth,.4\slideheight)% \psline @@ -168,11 +189,11 @@ (.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=pddblue]% + \psline[linewidth=.8pt,linecolor=pdcolor1]% (0,-.15cm)(\@tempdima,-.15cm)% \parbox[b]\pd@@titlewidth{#1}% } @@ -190,7 +211,6 @@ \pdsetup{ list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt} } -\color{pddblue} \def\rmdefault{phv} \def\sfdefault{phv} \def\Hv@scale{.86} diff --git a/Master/texmf-dist/tex/latex/powerdot/powerdot-horatio.sty b/Master/texmf-dist/tex/latex/powerdot/powerdot-horatio.sty new file mode 100644 index 00000000000..7b5db94abdb --- /dev/null +++ b/Master/texmf-dist/tex/latex/powerdot/powerdot-horatio.sty @@ -0,0 +1,123 @@ +%% +%% This is file `powerdot-horatio.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% powerdot.dtx (with options: `pdhoratio') +%% +%% --------------------------------------------------------------- +%% 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 +%% 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 Hendri Adriaens. +%% +%% This work consists of all files listed in manifest.txt. +%% +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{powerdot-horatio}[2005/12/06 v1.0 horatio style (ML,HA)] +\RequirePackage{pifont} +\pddefinepalettes{default}{ + \definecolor{pdcolor1}{HTML}{004477} + \definecolor{pdcolor2}{HTML}{5588ae} +} +\pddefinetemplate{basic}{ + titlehook=Bl, + titlepos={.2\slidewidth,.91\slideheight}, + titlewidth=.77\slidewidth, + titlefont=\color{white}\large\bfseries\raggedright, + clockcolor=white,clockpos={.99\slidewidth,\slideheight}, + lfpos={.2\slidewidth,.04\slideheight}, + lffont=\tiny\color{white}, + rfpos={.97\slidewidth,.04\slideheight}, + rffont=\tiny\color{white}, + tocslidesep=.6ex, + textheight=.68\slideheight, + ifsetup=landscape, + toctcolor=pdcolor1, + tochlcolor=pdcolor1, + tochltcolor=white, + tocpos={.01\slidewidth,.81\slideheight}, + tocwidth=.14\slidewidth, + tocsecm={\psline[linewidth=.5pt,linecolor=pdcolor1]% + (-.05,-.05)(.143\slidewidth,-.05)}, + ifsetup=portrait, + toctcolor=white, + tochlcolor=white, + tochltcolor=pdcolor1, + tocsecsep=.6ex, + stochook=tr,stocpos={.55\slidewidth,.09\slideheight}, + stocfont=\tiny\raggedleft, + ntocpos={.57\slidewidth,.09\slideheight} +}{{% + \psset{linecolor=pdcolor1}% + \psframe*(0,0)(\slidewidth,.1\slideheight)% + \psframe*(0,.85\slideheight)(\slidewidth,\slideheight)% + \psset{linecolor=pdcolor2,linewidth=1pt}% + \psline(.17\slidewidth,0)(.17\slidewidth,.1\slideheight)% + \psline(.17\slidewidth,.85\slideheight)(.17\slidewidth,\slideheight)% +}} +\pddefinetemplate[basic]{titleslide}{ + titlefont=\large\bfseries\centering, + texthook=t, + textpos={.5\slidewidth,.7\slideheight}, + textwidth=.75\slidewidth, + textfont=\centering, + textheight=.57\slideheight, + ifsetup=landscape,tocpos,ifsetup=portrait,stocpos,ntocpos +}{} +\pddefinetemplate[basic]{slide}{ + textpos={.2\slidewidth,.81\slideheight}, + textwidth=.77\slidewidth, + ifsetup=portrait, + textpos={.05\slidewidth,.81\slideheight}, + textwidth=.9\slidewidth +}{% + \pdifsetup{landscape}{% + \psline[linewidth=1pt,linecolor=pdcolor2]% + (.17\slidewidth,0)(.17\slidewidth,\slideheight)% + }{}% +} +\pddefinetemplate[basic]{wideslide}{ + textpos={.03\slidewidth,.81\slideheight}, + textwidth=.94\slidewidth, + ifsetup=landscape,tocpos,ifsetup=portrait, + textpos={.05\slidewidth,.81\slideheight}, + textwidth=.9\slidewidth +}{} +\pddefinetemplate[slide]{sectionslide}{ + titlehook=c,titlefont=\Large\bfseries\centering, + ifsetup=landscape, + titlepos={.6\slidewidth,.55\slideheight}, + titlewidth=.7\slidewidth, + ifsetup=portrait, + titlepos={.5\slidewidth,.55\slideheight}, + titlewidth=.75\slidewidth +}{} +\pddefinetemplate[wideslide]{sectionwideslide}{ + titlehook=c,titlefont=\Large\bfseries\centering, + titlepos={.5\slidewidth,.55\slideheight}, + titlewidth=.75\slidewidth +}{} +\setkeys[pd]{section}{sectemp=sectionslide,widesectemp=sectionwideslide} +\def\labelitemi{\small\ding{'64}} +\def\labelitemii{\small\ding{'70}} +\def\labelitemiii{\small\ding{'63}} +\def\labelitemiv{\small\ding{'67}} +\pdsetup{ + list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt} +} +\def\rmdefault{cmss} +\endinput +%% +%% End of file `powerdot-horatio.sty'. diff --git a/Master/texmf-dist/tex/latex/powerdot/powerdot-husky.sty b/Master/texmf-dist/tex/latex/powerdot/powerdot-husky.sty index 5341e12f975..943f5cac497 100644 --- a/Master/texmf-dist/tex/latex/powerdot/powerdot-husky.sty +++ b/Master/texmf-dist/tex/latex/powerdot/powerdot-husky.sty @@ -6,9 +6,9 @@ %% %% powerdot.dtx (with options: `pdhusky') %% -%% ---------------------------------------------------------- -%% 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,20 +20,23 @@ %% %% 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-husky}[2005/10/09 v1.1 husky style (JS,HA)] +\ProvidesPackage{powerdot-husky}[2005/12/06 v1.2 husky style (JS,HA)] \RequirePackage{times} \RequirePackage{pifont} \RequirePackage{pst-grad} -\definecolor{pdtxtred}{rgb}{.75,0,0} -\definecolor{pdbggray}{rgb}{.92,.92,.92} -\definecolor{pddblue}{rgb}{.03,0,.29} +\pddefinepalettes{default}{ + \definecolor{pdcolor1}{rgb}{.03,0,.29} + \definecolor{pdcolor2}{rgb}{.75,0,0} + \definecolor{pdcolor3}{rgb}{.92,.92,.92} +} \pddefinetemplate{titleslide}{ - titlefont=\Large\rmfamily\bfseries\color{pdtxtred}\centering, + titlefont=\Large\rmfamily\bfseries\color{pdcolor2}\centering, + clockcolor=pdcolor1,clockpos={.99\slidewidth,\slideheight}, lfpos={.03\slidewidth,.04\slideheight}, rfpos={.97\slidewidth,.04\slideheight}, lffont=\tiny\color{white}, @@ -42,98 +45,101 @@ textwidth=.9\slidewidth,textfont=\centering, textheight=.66\slideheight, ifsetup=portrait, - textheight=.63\slideheight, - lfpos={.03\slidewidth,.03\slideheight}, - rfpos={.97\slidewidth,.03\slideheight}, -}{% - \pspolygon*[linestyle=none,linecolor=pdbggray](\slidewidth,.385\slideheight)% + textheight=.63\slideheight, + lfpos={.03\slidewidth,.03\slideheight}, + rfpos={.97\slidewidth,.03\slideheight}, +}{{% + \psset{linestyle=none,linecolor=pdcolor3}% + \pspolygon*(\slidewidth,.385\slideheight)% (.6\slidewidth,\slideheight)(.85\slidewidth,\slideheight)% (\slidewidth,.57\slideheight)% - \pspolygon*[linestyle=none,linecolor=pdbggray](\slidewidth,.25\slideheight)% + \pspolygon*(\slidewidth,.25\slideheight)% (.15\slidewidth,\slideheight)(.5\slidewidth,\slideheight)% (\slidewidth,.35\slideheight)% - \pspolygon*[linestyle=none,linecolor=pdbggray](\slidewidth,.15\slideheight)% + \pspolygon*(\slidewidth,.15\slideheight)% (0,.65\slideheight)(0,\slideheight)(.01\slidewidth,\slideheight)% (\slidewidth,.225\slideheight)% - \pspolygon*[linestyle=none,linecolor=pdbggray](\slidewidth,.07\slideheight)% + \pspolygon*(\slidewidth,.07\slideheight)% (0,.25\slideheight)(0,.535\slideheight)% (\slidewidth,.13\slideheight)% - \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdtxtred,% + \psframe[fillstyle=gradient,gradbegin=pdcolor2,% gradend=white,gradmidpoint=1,gradangle=90](0,.9\slideheight)% (\slidewidth,.9\slideheight)% - \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdtxtred,% + \psframe[fillstyle=gradient,gradbegin=pdcolor2,% gradend=white,gradmidpoint=1,gradangle=90](0,.893\slideheight)% (\slidewidth,.893\slideheight)% \pd@huskybg -} +}} \pddefinetemplate{basic}{ titlepos={.2\slidewidth,.93\slideheight}, titlewidth=.75\slidewidth,textheight=.66\slideheight, - titlefont=\Large\rmfamily\slshape\bfseries\color{pdtxtred}\raggedright, + titlefont=\Large\rmfamily\slshape\bfseries\color{pdcolor2}\raggedright, + clockcolor=pdcolor1,clockpos={.99\slidewidth,\slideheight}, lfpos={.03\slidewidth,.04\slideheight}, rfpos={.97\slidewidth,.04\slideheight}, lffont=\tiny\color{white}, rffont=\tiny\color{white}, tocslidesep=.8ex, toctcolor=black, - tochlcolor=pdtxtred, + tochlcolor=pdcolor2, tochltcolor=white, ifsetup=portrait, - toctcolor=white, - tochlcolor=black, - titlepos={.05\slidewidth,.93\slideheight}, - lfpos={.03\slidewidth,.03\slideheight}, - rfpos={.97\slidewidth,.03\slideheight}, - textpos={.05\slidewidth,.85\slideheight}, - textheight=.73\slideheight, - textwidth=.9\slidewidth, - tocsecsep=.8ex, - stochook=tr,stocpos={.48\slidewidth,.09\slideheight}, - stocfont=\tiny\raggedleft, - ntochook=tl,ntocpos={.52\slidewidth,.09\slideheight}, - ntocfont=\tiny\raggedright, + toctcolor=white, + tochlcolor=black, + titlepos={.05\slidewidth,.93\slideheight}, + lfpos={.03\slidewidth,.03\slideheight}, + rfpos={.97\slidewidth,.03\slideheight}, + textpos={.05\slidewidth,.85\slideheight}, + textheight=.73\slideheight, + textwidth=.9\slidewidth, + tocsecsep=.8ex, + stochook=tr,stocpos={.48\slidewidth,.09\slideheight}, + stocfont=\tiny\raggedleft, + ntochook=tl,ntocpos={.52\slidewidth,.09\slideheight}, + ntocfont=\tiny\raggedright, ifsetup=landscape, - textpos={.2\slidewidth,.83\slideheight}, - textwidth=.75\slidewidth, - textheight=.74\slideheight, -}{% - \pspolygon*[linestyle=none,linecolor=pdbggray](\slidewidth,.385\slideheight)% + textpos={.2\slidewidth,.83\slideheight}, + textwidth=.75\slidewidth, + textheight=.74\slideheight, +}{{% + \psset{linestyle=none,linecolor=pdcolor3}% + \pspolygon*(\slidewidth,.385\slideheight)% (.6\slidewidth,\slideheight)(.85\slidewidth,\slideheight)% (\slidewidth,.57\slideheight)% - \pspolygon*[linestyle=none,linecolor=pdbggray](\slidewidth,.25\slideheight)% + \pspolygon*(\slidewidth,.25\slideheight)% (.15\slidewidth,\slideheight)(.5\slidewidth,\slideheight)% (\slidewidth,.35\slideheight)% - \pspolygon*[linestyle=none,linecolor=pdbggray](\slidewidth,0.15\slideheight)% + \pspolygon*(\slidewidth,.15\slideheight)% (0,.65\slideheight)(0,\slideheight)(.01\slidewidth,\slideheight)% (\slidewidth,.225\slideheight)% - \pspolygon*[linestyle=none,linecolor=pdbggray](\slidewidth,.07\slideheight)% + \pspolygon*(\slidewidth,.07\slideheight)% (0,.25\slideheight)(0,.535\slideheight)% (\slidewidth,.13\slideheight)% - \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdtxtred,% + \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdcolor2,% gradend=white,gradmidpoint=1,gradangle=90](0,.9\slideheight)% (\slidewidth,.9\slideheight)% - \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdtxtred,% + \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdcolor2,% gradend=white,gradmidpoint=1,gradangle=90](0,.893\slideheight)% (\slidewidth,.893\slideheight)% \pd@huskybg -} +}} \pddefinetemplate[basic]{wideslide}{ textwidth=.9\slidewidth, ifsetup=landscape, - textpos={.05\slidewidth,.83\slideheight}, - titlepos={.05\slidewidth,.93\slideheight} + textpos={.05\slidewidth,.83\slideheight}, + titlepos={.05\slidewidth,.93\slideheight} }{% } \pddefinetemplate[basic]{slide}{ ifsetup=landscape, - tocpos={.015\slidewidth,.83\slideheight}, - tocwidth=.14\slidewidth, - tocsecm={\psline[linewidth=.5pt,linecolor=pdtxtred]% - (-.05,-.05)(.143\slidewidth,-.05)}, + tocpos={.015\slidewidth,.83\slideheight}, + tocwidth=.14\slidewidth, + tocsecm={\psline[linewidth=.5pt,linecolor=pdcolor2]% + (-.05,-.05)(.143\slidewidth,-.05)}, }{% \pdifsetup{landscape}{% \psframe[linestyle=none,fillstyle=gradient,gradbegin=white,% - gradend=black,gradmidpoint=0.5](.175\slidewidth,.12\slideheight)% + gradend=black,gradmidpoint=.5](.175\slidewidth,.12\slideheight)% (.18\slidewidth,.95\slideheight)% }{% \psframe[linestyle=none,fillstyle=gradient,gradbegin=white,% @@ -143,28 +149,28 @@ } \pddefinetemplate[slide]{sectionslide}{ titlehook=c, - titlefont=\LARGE\rmfamily\slshape\bfseries\color{pdtxtred}\centering, + titlefont=\LARGE\rmfamily\slshape\bfseries\color{pdcolor2}\centering, ifsetup=landscape, - titlepos={.575\slidewidth,.55\slideheight}, - titlewidth=.75\slidewidth, + titlepos={.575\slidewidth,.55\slideheight}, + titlewidth=.75\slidewidth, ifsetup=portrait, - titlepos={.5\slidewidth,.55\slideheight}, - titlewidth=.9\slidewidth + titlepos={.5\slidewidth,.55\slideheight}, + titlewidth=.9\slidewidth }{} \pddefinetemplate[wideslide]{sectionwideslide}{ titlehook=c, - titlefont=\LARGE\rmfamily\slshape\bfseries\color{pdtxtred}\centering, + titlefont=\LARGE\rmfamily\slshape\bfseries\color{pdcolor2}\centering, titlepos={.5\slidewidth,.55\slideheight}, titlewidth=.9\slidewidth }{} \def\pd@huskybg{% \pdifsetup{landscape}{% - \psframe*[linecolor=pdtxtred,linewidth=0pt]% + \psframe*[linecolor=pdcolor2,linewidth=0pt]% (0,0)(\slidewidth,.075\slideheight)% \psline[linecolor=black,linewidth=1pt]% (0,.075\slideheight)(\slidewidth,.075\slideheight)% }{% - \psframe*[linecolor=pdtxtred,linewidth=0pt]% + \psframe*[linecolor=pdcolor2,linewidth=0pt]% (0,0)(\slidewidth,.1\slideheight)% \psline[linecolor=black,linewidth=1pt]% (0,.1\slideheight)(\slidewidth,.1\slideheight)% @@ -172,14 +178,13 @@ } \setkeys[pd]{section}{sectemp=sectionslide,widesectemp=sectionwideslide} \def\pd@tocslide#1{\ding{118}\,#1} -\def\labelitemi{\color{pdtxtred}\footnotesize\ding{108}} -\def\labelitemii{\color{pdtxtred}\small\ding{70}} -\def\labelitemiii{\color{pdtxtred}\tiny\ding{110}} -\def\labelitemiv{\color{pdtxtred}\tiny\ding{117}} +\def\labelitemi{\color{pdcolor2}\footnotesize\ding{108}} +\def\labelitemii{\color{pdcolor2}\small\ding{70}} +\def\labelitemiii{\color{pdcolor2}\tiny\ding{110}} +\def\labelitemiv{\color{pdcolor2}\tiny\ding{117}} \pdsetup{ list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt} } -\color{pddblue} \renewcommand\familydefault{\sfdefault} \endinput %% diff --git a/Master/texmf-dist/tex/latex/powerdot/powerdot-ikeda.sty b/Master/texmf-dist/tex/latex/powerdot/powerdot-ikeda.sty index 94e19bf4f5d..805fcbab0a2 100644 --- a/Master/texmf-dist/tex/latex/powerdot/powerdot-ikeda.sty +++ b/Master/texmf-dist/tex/latex/powerdot/powerdot-ikeda.sty @@ -6,9 +6,9 @@ %% %% powerdot.dtx (with options: `pdikeda') %% -%% ---------------------------------------------------------- -%% 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,154 +20,158 @@ %% %% 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-ikeda}[2005/10/09 v1.2 ikeda style (CE,HA)] +\ProvidesPackage{powerdot-ikeda}[2005/12/06 v1.3 ikeda style (CE,HA)] \RequirePackage{calc} \RequirePackage{pifont} -\definecolor{pdplum}{rgb}{.435,.031,.165} -\definecolor{pddarkblue}{rgb}{.051,.094,.29} -\definecolor{pdgogreen}{rgb}{.051,.329,.29} -\definecolor{pdoffwhite}{rgb}{.941,.98,1} +\pddefinepalettes{default}{ + \definecolor{pdcolor1}{rgb}{.941,.98,1} + \definecolor{pdcolor2}{rgb}{.435,.031,.165} + \definecolor{pdcolor3}{rgb}{.051,.094,.29} + \definecolor{pdcolor4}{rgb}{.051,.329,.29} +} \pddefinetemplate{titleslide}{ titlefont=\Large\bfseries\centering, + clockcolor=pdcolor1,clockpos={.99\slidewidth,\slideheight}, textpos={.13\slidewidth,.7\slideheight}, textwidth=.75\slidewidth, textfont=\centering, textheight=.56\slideheight }{% - \psframe*[linecolor=pdplum](0,\slideheight)(\slidewidth,0)% - \psframe*[linecolor=pddarkblue]% + \psframe*[linecolor=pdcolor2](0,\slideheight)(\slidewidth,0)% + \psframe*[linecolor=pdcolor3]% (.05\slidewidth,.95\slideheight)(.95\slidewidth,.05\slideheight)% - \psline[linecolor=pdoffwhite,linewidth=.01]% + \psline[linecolor=pdcolor1,linewidth=.01]% (.1\slidewidth,.1\slideheight)(.1\slidewidth,.9\slideheight)% - \psline[linecolor=pdoffwhite,linewidth=.01]% + \psline[linecolor=pdcolor1,linewidth=.01]% (.9\slidewidth,.1\slideheight)(.9\slidewidth,.9\slideheight)% - \pspolygon[linestyle=none,fillstyle=vlines*,fillcolor=pdplum,% - hatchcolor=pdoffwhite,hatchwidth=.1\pslinewidth,hatchsep=4pt]% + \pspolygon[linestyle=none,fillstyle=vlines*,fillcolor=pdcolor2,% + hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]% (.1\slidewidth,.1\slideheight)(.25\slidewidth,.07\slideheight)% (.5\slidewidth,.1\slideheight)(.75\slidewidth,.13\slideheight)% (.9\slidewidth,.1\slideheight)% - \pspolygon[linestyle=none,fillstyle=hlines*,fillcolor=pdplum,% - hatchcolor=pdoffwhite,hatchwidth=.1\pslinewidth,hatchsep=4pt]% + \pspolygon[linestyle=none,fillstyle=hlines*,fillcolor=pdcolor2,% + hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]% (.1\slidewidth,.9\slideheight)(.25\slidewidth,.93\slideheight)% (.5\slidewidth,.9\slideheight)(.75\slidewidth,.87\slideheight)% (.9\slidewidth,.9\slideheight)% } \pddefinetemplate{basic}{ titlehook=Bc,titlefont=\large\bfseries\centering, + clockcolor=pdcolor1,clockpos={.99\slidewidth,\slideheight}, tocslidesep=.6ex, - toctcolor=pdoffwhite, - tochlcolor=pddarkblue, - tochltcolor=pdoffwhite, + toctcolor=pdcolor1, + tochlcolor=pdcolor3, + tochltcolor=pdcolor1, ifsetup=portrait, - tocsecsep=.6ex, - textpos={.05\slidewidth,.83\slideheight}, - textwidth=.9\slidewidth, - lfpos={.03\slidewidth,.025\slideheight}, - rfpos={.97\slidewidth,.025\slideheight}, - stochook=tr,stocpos={.47\slidewidth,.15\slideheight}, - stocfont=\tiny\raggedleft, - ntocpos={.53\slidewidth,.15\slideheight}, + tocsecsep=.6ex, + textpos={.05\slidewidth,.83\slideheight}, + textwidth=.9\slidewidth, + lfpos={.03\slidewidth,.025\slideheight}, + rfpos={.97\slidewidth,.025\slideheight}, + stochook=tr,stocpos={.47\slidewidth,.15\slideheight}, + stocfont=\tiny\raggedleft, + ntocpos={.53\slidewidth,.15\slideheight}, ifsetup=landscape, - textpos={.2\slidewidth,.84\slideheight}, - textwidth=.75\slidewidth, - lfpos={.19\slidewidth,.025\slideheight}, - rfpos={.97\slidewidth,.025\slideheight} + textpos={.2\slidewidth,.84\slideheight}, + textwidth=.75\slidewidth, + lfpos={.19\slidewidth,.025\slideheight}, + rfpos={.97\slidewidth,.025\slideheight} }{% - \psframe*[linecolor=pddarkblue](0,0)(\slidewidth,\slideheight)% + \psframe*[linecolor=pdcolor3](0,0)(\slidewidth,\slideheight)% } \pddefinetemplate[basic]{slide}{ ifsetup=landscape, - titlewidth=.75\slidewidth, - titlepos={.575\slidewidth,.92\slideheight}, - tocpos={.01\slidewidth,.83\slideheight}, - tocwidth=.14\slidewidth, - tocsecm={\psline[linewidth=.5pt,linecolor=pddarkblue](-.05,-.05)(.143\slidewidth,-.05)}, - textheight=.72\slideheight, + titlewidth=.75\slidewidth, + titlepos={.575\slidewidth,.92\slideheight}, + tocpos={.01\slidewidth,.83\slideheight}, + tocwidth=.14\slidewidth, + tocsecm={\psline[linewidth=.5pt,linecolor=pdcolor3](-.05,-.05)(.143\slidewidth,-.05)}, + textheight=.72\slideheight, ifsetup=portrait, - titlepos={.5\slidewidth,.88\slideheight}, - titlewidth=.95\slidewidth, - textheight=.64\slideheight -}{% + titlepos={.5\slidewidth,.88\slideheight}, + titlewidth=.95\slidewidth, + textheight=.64\slideheight +}{{% \psset{linestyle=none}% \pdifsetup{landscape}{% - \psframe*[linecolor=pdplum](0,0)(.16\slidewidth,\slideheight)% + \psframe*[linecolor=pdcolor2](0,0)(.16\slidewidth,\slideheight)% \setlength\@tempdima{.16\slidewidth-.4cm}% \setlength\@tempdimb{.97\slideheight-.8cm}% - \psframe*[linecolor=pddarkblue]% + \psframe*[linecolor=pdcolor3]% (.16\slidewidth,.97\slideheight)(\@tempdima,\@tempdimb)% \setlength\@tempdima{.16\slidewidth+.4cm}% - \psframe*[linecolor=pdplum]% + \psframe*[linecolor=pdcolor2]% (.16\slidewidth,.97\slideheight)(\@tempdima,\@tempdimb)% - \pspolygon[fillstyle=solid,fillcolor=pddarkblue]% + \pspolygon[fillstyle=solid,fillcolor=pdcolor3]% (0,.935\slideheight)(.02\slidewidth,.945\slideheight)% (.065\slidewidth,.935\slideheight)(.11\slidewidth,.925\slideheight)% (.13\slidewidth,.935\slideheight)% - \pspolygon[fillstyle=hlines*,fillcolor=pdplum,% - hatchcolor=pdoffwhite,hatchwidth=.1\pslinewidth,hatchsep=4pt]% + \pspolygon[fillstyle=hlines*,fillcolor=pdcolor2,% + hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]% (.185\slidewidth,.09\slideheight)(.335\slidewidth,.06\slideheight)% (.58\slidewidth,.09\slideheight)% - \pspolygon[fillstyle=vlines*,fillcolor=pdplum,% - hatchcolor=pdoffwhite,hatchwidth=.1\pslinewidth,hatchsep=4pt]% + \pspolygon[fillstyle=vlines*,fillcolor=pdcolor2,% + hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]% (.58\slidewidth,.09\slideheight)(.825\slidewidth,.06\slideheight)% (.975\slidewidth,.09\slideheight)% }{% - \pspolygon[fillstyle=vlines*,fillcolor=pdplum,% - hatchcolor=pdoffwhite,hatchwidth=.1\pslinewidth,hatchsep=4pt]% + \pspolygon[fillstyle=vlines*,fillcolor=pdcolor2,% + hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]% (.02\slidewidth,.95\slideheight)(.17\slidewidth,.98\slideheight)% (.5\slidewidth,.95\slideheight)% - \pspolygon[fillstyle=hlines*,fillcolor=pdplum,% - hatchcolor=pdoffwhite,hatchwidth=.1\pslinewidth,hatchsep=4pt]% + \pspolygon[fillstyle=hlines*,fillcolor=pdcolor2,% + hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]% (.5\slidewidth,.95\slideheight)(.82\slidewidth,.98\slideheight)% (.98\slidewidth,.95\slideheight)% \pd@ikedapbg }% -} +}} \pddefinetemplate[basic]{wideslide}{ lfpos={.03\slidewidth,.025\slideheight}, titlewidth=.95\slidewidth, textwidth=.95\slidewidth, ifsetup=landscape, - titlepos={.5\slidewidth,.88\slideheight}, - textpos={.025\slidewidth,.84\slideheight}, - textheight=.72\slideheight, + titlepos={.5\slidewidth,.88\slideheight}, + textpos={.025\slidewidth,.84\slideheight}, + textheight=.72\slideheight, ifsetup=portrait, - titlepos={.5\slidewidth,.92\slideheight}, - textpos={.025\slidewidth,.87\slideheight}, - textheight=.68\slideheight -}{% + titlepos={.5\slidewidth,.92\slideheight}, + textpos={.025\slidewidth,.87\slideheight}, + textheight=.68\slideheight +}{{% \psset{linestyle=none}% \pdifsetup{landscape}{% - \pspolygon[fillstyle=vlines*,fillcolor=pdplum,% - hatchcolor=pdoffwhite,hatchwidth=.1\pslinewidth,hatchsep=4pt]% + \pspolygon[fillstyle=vlines*,fillcolor=pdcolor2,% + hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]% (.02\slidewidth,.95\slideheight)(.17\slidewidth,.98\slideheight)% (.5\slidewidth,.95\slideheight)% - \pspolygon[fillstyle=hlines*,fillcolor=pdplum,% - hatchcolor=pdoffwhite,hatchwidth=.1\pslinewidth,hatchsep=4pt]% + \pspolygon[fillstyle=hlines*,fillcolor=pdcolor2,% + hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]% (.5\slidewidth,.95\slideheight)(.83\slidewidth,.98\slideheight)% (.98\slidewidth,.95\slideheight)% - \pspolygon[fillstyle=hlines*,fillcolor=pdplum,% - hatchcolor=pdoffwhite,hatchwidth=.1\pslinewidth,hatchsep=4pt]% + \pspolygon[fillstyle=hlines*,fillcolor=pdcolor2,% + hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]% (.02\slidewidth,.09\slideheight)(.17\slidewidth,.06\slideheight)% (.5\slidewidth,.09\slideheight)% - \pspolygon[fillstyle=vlines*,fillcolor=pdplum,% - hatchcolor=pdoffwhite,hatchwidth=.1\pslinewidth,hatchsep=4pt]% + \pspolygon[fillstyle=vlines*,fillcolor=pdcolor2,% + hatchcolor=pdcolor1,hatchwidth=.1\pslinewidth,hatchsep=4pt]% (.5\slidewidth,.09\slideheight)(.83\slidewidth,.06\slideheight)% (.98\slidewidth,.09\slideheight)% }\pd@ikedapbg -} +}} \pddefinetemplate[slide]{sectionslide}{ titlehook=c,titlefont=\large\bfseries\centering, ifsetup=landscape, - titlepos={.575\slidewidth,.55\slideheight}, - titlewidth=.75\slidewidth, + titlepos={.575\slidewidth,.55\slideheight}, + titlewidth=.75\slidewidth, ifsetup=portrait, - titlepos={.5\slidewidth,.55\slideheight}, - titlewidth=.9\slidewidth + titlepos={.5\slidewidth,.55\slideheight}, + titlewidth=.9\slidewidth }{} \pddefinetemplate[wideslide]{sectionwideslide}{ titlehook=c,titlefont=\large\bfseries\centering, @@ -175,27 +179,26 @@ titlewidth=.9\slidewidth }{} \def\pd@ikedapbg{% - \psframe*[linecolor=pdplum](0,0)(\slidewidth,.17\slideheight)% - \pspolygon[fillstyle=vlines*,fillcolor=pdplum,% - hatchcolor=pddarkblue,hatchwidth=.1\pslinewidth,hatchsep=1.6pt]% + \psframe*[linecolor=pdcolor2](0,0)(\slidewidth,.17\slideheight)% + \pspolygon[fillstyle=vlines*,fillcolor=pdcolor2,% + hatchcolor=pdcolor3,hatchwidth=.1\pslinewidth,hatchsep=1.6pt]% (.05\slidewidth,.1\slideheight)(.08\slidewidth,.08\slideheight)% (.14\slidewidth,.1\slideheight)(.20\slidewidth,.12\slideheight)% (.23\slidewidth,.1\slideheight)% - \pspolygon[fillstyle=hlines*,fillcolor=pdplum,% - hatchcolor=pddarkblue,hatchwidth=.1\pslinewidth,hatchsep=1.6pt]% + \pspolygon[fillstyle=hlines*,fillcolor=pdcolor2,% + hatchcolor=pdcolor3,hatchwidth=.1\pslinewidth,hatchsep=1.6pt]% (.77\slidewidth,.1\slideheight)(.80\slidewidth,.12\slideheight)% (.86\slidewidth,.1\slideheight)(.92\slidewidth,.08\slideheight)% (.95\slidewidth,.1\slideheight)% } \setkeys[pd]{section}{sectemp=sectionslide,widesectemp=sectionwideslide} -\def\labelitemi{\color{pdplum}\footnotesize\ding{110}} -\def\labelitemii{\color{pdgogreen}\small\ding{115}} -\def\labelitemiii{\color{pdplum}\tiny\ding{110}} -\def\labelitemiv{\color{pdgogreen}\tiny\ding{115}} +\def\labelitemi{\color{pdcolor2}\footnotesize\ding{110}} +\def\labelitemii{\color{pdcolor4}\small\ding{115}} +\def\labelitemiii{\color{pdcolor2}\tiny\ding{110}} +\def\labelitemiv{\color{pdcolor4}\tiny\ding{115}} \pdsetup{ list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt} } -\color{pdoffwhite} \def\rmdefault{cmss} \endinput %% diff --git a/Master/texmf-dist/tex/latex/powerdot/powerdot-jefka.sty b/Master/texmf-dist/tex/latex/powerdot/powerdot-jefka.sty new file mode 100644 index 00000000000..0499c7a843d --- /dev/null +++ b/Master/texmf-dist/tex/latex/powerdot/powerdot-jefka.sty @@ -0,0 +1,95 @@ +%% +%% This is file `powerdot-jefka.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% powerdot.dtx (with options: `pdjefka') +%% +%% --------------------------------------------------------------- +%% 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 +%% 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 Hendri Adriaens. +%% +%% This work consists of all files listed in manifest.txt. +%% +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{powerdot-jefka}[2005/12/06 v1.0 jefka style (CE,HA)] +\RequirePackage{pifont} +\pddefinepalettes{brown}{ + \definecolor{pdcolor1}{RGB}{121,96,69} + \definecolor{pdcolor2}{rgb}{1,.949,.749} + \definecolor{pdcolor3}{RGB}{190,163,117} +}{seagreen}{ + \definecolor{pdcolor1}{HTML}{FFE680} + \definecolor{pdcolor2}{rgb}{.349,.5,.5} + \definecolor{pdcolor3}{HTML}{FFC080} +}{blue}{ + \definecolor{pdcolor1}{rgb}{.902,.957,1} + \definecolor{pdcolor2}{HTML}{00487D} + \definecolor{pdcolor3}{rgb}{.749,.635,.376} +}{white}{ + \definecolor{pdcolor1}{rgb}{0,0,0} + \definecolor{pdcolor2}{rgb}{1,1,1} + \definecolor{pdcolor3}{rgb}{.5,.5,.5} +} +\pddefinetemplate{titleslide}{ + textpos={.15\slidewidth,.75\slideheight}, + textwidth=.7\slidewidth, + titlefont=\bfseries\LARGE\centering, + textfont=\centering, + textheight=.67\slideheight, + clockhook=t,clockpos={.5\slidewidth,.045\slideheight}, + clockalign=1,clockcolor=pdcolor1 +}{% + \psframe*[linewidth=0pt,linecolor=pdcolor2]% + (0,0)(\slidewidth,\slideheight)% +} +\pddefinetemplate{slide}{ + rfpos={.985\slidewidth,.015\slideheight}, + rffont=\tiny, + iacolor=pdcolor3, + clockhook=t,clockpos={.5\slidewidth,.045\slideheight}, + clockalign=1,clockcolor=pdcolor1, + titlewidth=.7\slidewidth, + titlefont=\bfseries\LARGE\color{pdcolor1}, + textwidth=.9\slidewidth, + titlepos={.05\slidewidth,.93\slideheight}, + textpos={.05\slidewidth,.87\slideheight}, + textheight=.76\slideheight +}{{% + \psset{linewidth=0pt}% + \psframe*[linecolor=pdcolor2](0,0)(\slidewidth,\slideheight)% + \pspolygon*[linecolor=pdcolor1]% + (0,0)(.1\slidewidth,0)(0,.1\slideheight) + \pspolygon*[linecolor=pdcolor1](\slidewidth,\slideheight)% + (.9\slidewidth,\slideheight)(\slidewidth,.9\slideheight)% +}} +\pddefinetemplate[slide]{sectionslide}{ + titlehook=t,titlepos={.5\slidewidth,.55\slideheight}, + titlefont=\bfseries\LARGE\color{pdcolor1}\centering +}{} +\pddefinetemplate[slide]{wideslide}{}{} +\setkeys[pd]{section}{sectemp=sectionslide,widesectemp=sectionslide} +\def\labelitemi{\footnotesize\ding{110}} +\def\labelitemii{\small\ding{117}} +\def\labelitemiii{\tiny\ding{110}} +\def\labelitemiv{\tiny\ding{117}} +\pdsetup{ + list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt} +} +\def\rmdefault{cmss} +\endinput +%% +%% End of file `powerdot-jefka.sty'. diff --git a/Master/texmf-dist/tex/latex/powerdot/powerdot-klope.sty b/Master/texmf-dist/tex/latex/powerdot/powerdot-klope.sty new file mode 100644 index 00000000000..5702ca8170d --- /dev/null +++ b/Master/texmf-dist/tex/latex/powerdot/powerdot-klope.sty @@ -0,0 +1,178 @@ +%% +%% This is file `powerdot-klope.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% powerdot.dtx (with options: `pdklope') +%% +%% --------------------------------------------------------------- +%% 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 +%% 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 Hendri Adriaens. +%% +%% This work consists of all files listed in manifest.txt. +%% +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{powerdot-klope}[2005/12/06 v1.0 klope style (CE,HA)] +\RequirePackage{pifont} +\RequirePackage{pst-slpe} +\pddefinepalettes{Spring}{ + \definecolor{pdcolor1}{rgb}{.475,.376,.271} % cedar + \definecolor{pdcolor2}{rgb}{.682,.749,.376} % moss + \definecolor{pdcolor3}{rgb}{1,.949,.749} % sand + \definecolor{pdcolor4}{rgb}{.749,.675,.376} % driftwood + \colorlet{myiacolor}{pdcolor4} + \colorlet{sectitlecolor}{pdcolor2} + \colorlet{stitlecolor}{pdcolor3} + \colorlet{lgsquare}{pdcolor1} + \colorlet{smsquare}{pdcolor4} + \colorlet{slidebg}{pdcolor3} + \colorlet{slidehbg}{pdcolor2} + \colorlet{mytoctcolor}{pdcolor1} + \colorlet{mytochltcolor}{pdcolor3} + \def\pd@klopebg{% + \psframe[linestyle=none,fillstyle=slope,slopebegin=pdcolor3,% + slopeend=pdcolor2,slopeangle=270](0,0)(\slidewidth,\slideheight)% + } +}{PastelFlower}{ + \definecolor{pdcolor1}{rgb}{.349,.5,.5} % sea green + \definecolor{pdcolor2}{rgb}{.8,.706,.561} % brown + \definecolor{pdcolor3}{rgb}{.812,.902,.902} % sky blue + \definecolor{pdcolor4}{rgb}{.8,.561,.561} % rose + \colorlet{myiacolor}{pdcolor4} + \colorlet{sectitlecolor}{pdcolor4} + \colorlet{stitlecolor}{pdcolor3} + \colorlet{lgsquare}{pdcolor1} + \colorlet{smsquare}{pdcolor4} + \colorlet{slidebg}{pdcolor3} + \colorlet{slidehbg}{pdcolor2} + \colorlet{mytoctcolor}{pdcolor1} + \colorlet{mytochltcolor}{pdcolor3} + \def\pd@klopebg{% + \psframe[linestyle=none,fillstyle=slope,slopebegin=pdcolor3,% + slopeend=pdcolor2,slopeangle=270](0,0)(\slidewidth,\slideheight)% + } +}{BlueWater}{ + \definecolor{pdcolor1}{rgb}{.902,.957,1} % lightblue + \definecolor{pdcolor2}{rgb}{.376,.588,.749} % medblue + \definecolor{pdcolor3}{rgb}{.749,.635,.376} % lighttan + \definecolor{pdcolor4}{rgb}{1,.8,.749} % pink + \colorlet{myiacolor}{pdcolor3} + \colorlet{sectitlecolor}{pdcolor1} + \colorlet{stitlecolor}{pdcolor2} + \colorlet{lgsquare}{pdcolor3} + \colorlet{smsquare}{pdcolor4} + \colorlet{slidebg}{pdcolor2} + \colorlet{slidehbg}{pdcolor1} + \colorlet{mytoctcolor}{pdcolor3} + \colorlet{mytochltcolor}{pdcolor2} + \def\pd@klopebg{% + \psframe*[linecolor=pdcolor2](0,0)(\slidewidth,\slideheight)% + } +}{BlackWhite}{ + \definecolor{pdcolor1}{rgb}{0,0,0} % white + \definecolor{pdcolor2}{rgb}{1,1,1} % black + \definecolor{pdcolor3}{rgb}{.5,.5,.5} % gray + \colorlet{myiacolor}{pdcolor3} + \colorlet{sectitlecolor}{pdcolor1} + \colorlet{stitlecolor}{pdcolor1} + \colorlet{lgsquare}{pdcolor1} + \colorlet{smsquare}{pdcolor3} + \colorlet{slidebg}{pdcolor2} + \colorlet{slidehbg}{pdcolor2} + \colorlet{mytoctcolor}{pdcolor3} + \colorlet{mytochltcolor}{pdcolor1} + \def\pd@klopebg{% + \psframe*[linecolor=pdcolor2](0,0)(\slidewidth,\slideheight)% + } +} +\pddefinetemplate{titleslide}{ + textpos={.15\slidewidth,.75\slideheight}, + textwidth=.7\slidewidth, + titlefont=\bfseries\LARGE\centering, + textfont=\centering, + textheight=.67\slideheight, + clockhook=t,clockpos={.5\slidewidth,.045\slideheight}, + clockalign=1,clockcolor=pdcolor1 +}{{% + \psset{linewidth=0pt}\pd@klopebg + \pd@klopesq+-01\pd@klopesq++00\pd@klopesq-+10\pd@klopesq--11% +}} +\pddefinetemplate{slide}{ + titlepos={.15\slidewidth,.93\slideheight}, + titlewidth=.7\slidewidth, + titlefont=\bfseries\Large\color{stitlecolor}\centering, + stochook=t, + stocpos={.5\slidewidth,.89\slideheight}, + stocwidth=.7\slidewidth,stocorient=h, + toctcolor=mytoctcolor, + tochltcolor=mytochltcolor, + tocsecsep=4pt, + textpos={.05\slidewidth,.8\slideheight}, + textwidth=.9\slidewidth, + textheight=.72\slideheight, + lfpos={.015\slidewidth,.015\slideheight}, + lffont=\tiny, + rfpos={.985\slidewidth,.015\slideheight}, + rffont=\tiny, + iacolor=myiacolor, + clockhook=t,clockpos={.5\slidewidth,.045\slideheight}, + clockalign=1,clockcolor=pdcolor1 +}{{% + \psset{linewidth=0pt}% + \psframe*[linecolor=slidebg](0,0)(\slidewidth,\slideheight)% + \psframe*[linecolor=slidehbg](0,.85\slideheight)(\slidewidth,\slideheight)% + \pd@klopesq+-01\pd@klopesq--11% + \psset{linewidth=.1pt}% + \psline[linecolor=pdcolor1](0,.05\slideheight)(\slidewidth,.05\slideheight)% + \psline[linecolor=slidehbg](0,.055\slideheight)(\slidewidth,.055\slideheight)% +}} +\pddefinetemplate[slide]{wideslide}{}{} +\pddefinetemplate[slide]{sectionslide}{ + titlepos={.15\slidewidth,.55\slideheight}, + titlefont=\bfseries\LARGE\color{sectitlecolor}\centering, + textpos,lfpos,rfpos +}{{% + \psframe*[linecolor=slidebg](0,0)(\slidewidth,.5\slideheight)% + \pd@klopesq++00\pd@klopesq-+10% +}} +\def\pd@klopesq#1#2#3#4{% + \@tempdima#3\slidewidth\@tempdimb#4\slideheight + \advance\@tempdima#1.3cm\advance\@tempdimb#2.3cm + \edef\pd@tempa{\the\@tempdima}\edef\pd@tempb{\the\@tempdimb}% + \advance\@tempdima#1.8cm\advance\@tempdimb#2.8cm + \psframe*[linecolor=lgsquare](\pd@tempa,\pd@tempb)% + (\@tempdima,\@tempdimb)% + \@tempdima\pd@tempa\@tempdimb\pd@tempb + \advance\@tempdima#1.3cm\advance\@tempdimb#2.3cm + \edef\pd@tempa{\the\@tempdima}\edef\pd@tempb{\the\@tempdimb}% + \advance\@tempdima#1.7cm\advance\@tempdimb#2.7cm + \psframe*[linecolor=smsquare](\pd@tempa,\pd@tempb)% + (\@tempdima,\@tempdimb)% +} +\def\pd@tocdisplay#1{\pd@usedtocfont\color\pd@@toctcolor#1} +\def\pd@tochighlight#1{\pd@usedtocfont\color\pd@@tochltcolor#1} +\setkeys[pd]{section}{sectemp=sectionslide,widesectemp=sectionslide} +\def\labelitemi{\footnotesize\ding{110}} +\def\labelitemii{\small\ding{117}} +\def\labelitemiii{\tiny\ding{110}} +\def\labelitemiv{\tiny\ding{117}} +\pdsetup{ + list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt} +} +\def\rmdefault{cmss} +\endinput +%% +%% End of file `powerdot-klope.sty'. diff --git a/Master/texmf-dist/tex/latex/powerdot/powerdot-paintings.sty b/Master/texmf-dist/tex/latex/powerdot/powerdot-paintings.sty new file mode 100644 index 00000000000..ed491648711 --- /dev/null +++ b/Master/texmf-dist/tex/latex/powerdot/powerdot-paintings.sty @@ -0,0 +1,158 @@ +%% +%% This is file `powerdot-paintings.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% powerdot.dtx (with options: `pdpaintings') +%% +%% --------------------------------------------------------------- +%% 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 +%% 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 Hendri Adriaens. +%% +%% This work consists of all files listed in manifest.txt. +%% +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{powerdot-paintings}[2005/12/06 v1.0 paintings (TDK,HA)] +\RequirePackage{times} +\RequirePackage{pifont} +\pddefinepalettes{Syndics}{% Rembrandt van Rijn: "The Syndics" - 1662 + \definecolor{pdcolor1}{rgb}{.06,.06,.06} % Black hat + \definecolor{pdcolor2}{rgb}{.97,.97,.94} % Collar of rising man + \definecolor{pdcolor3}{rgb}{.22,.09,.09} % Tablecloth lower right + \definecolor{pdcolor4}{rgb}{.97,.97,.91} % Book page + \definecolor{pdcolor5}{rgb}{.58,.19,.13} % Tablecloth lower left + \definecolor{pdcolor6}{rgb}{.42,.2,.22} % Back wall + \definecolor{pdcolor7}{rgb}{.84,.71,.55} % Forehead of man in background +}{Skater}{% Gilbert Stuart: "The Skater (Portrait of William Grant)" - 1782 + \definecolor{pdcolor1}{rgb}{.09,.06,.09} % Hat + \definecolor{pdcolor2}{rgb}{1,.97,.94} % White collar + \definecolor{pdcolor3}{rgb}{.26,.22,.19} % Ice + \definecolor{pdcolor4}{rgb}{.94,.91,.87} % Sky + \definecolor{pdcolor5}{rgb}{.78,.52,.45} % Right cheek + \definecolor{pdcolor6}{rgb}{.45,.39,.26} % Ground under small figures + \definecolor{pdcolor7}{rgb}{.71,.71,.68} % Frozen lake at left +}{GoldenGate}{% Giotto: "Meeting of Joachim and Anne at the Golden Gate" - 1305-10 + \definecolor{pdcolor1}{rgb}{.13,.09,.13} % Dress of woman in black + \definecolor{pdcolor2}{rgb}{.94,.94,.91} % Bridge + \definecolor{pdcolor3}{rgb}{.06,.09,.22} % Blue sky + \definecolor{pdcolor4}{rgb}{.94,.91,.87} % Dress of woman with shawl + \definecolor{pdcolor5}{rgb}{.52,.26,.26} % Joachim's robe + \definecolor{pdcolor6}{rgb}{.65,.35,.16} % Anne's robe + \definecolor{pdcolor7}{rgb}{.91,.84,.42} % Joachim's halo +}{Lamentation}{% Giotto: "Lamentation of Christ" - 1305-10 + \definecolor{pdcolor1}{rgb}{.16,.09,.06} % Dark hair of man + \definecolor{pdcolor2}{rgb}{.91,.91,.94} % White robe at lower left + \definecolor{pdcolor3}{rgb}{.19,.22,.29} % Cloak of Christ + \definecolor{pdcolor4}{rgb}{.94,.94,.91} % Skin of Christ + \definecolor{pdcolor5}{rgb}{.55,.26,.22} % Mary Magdalene dress + \definecolor{pdcolor6}{rgb}{.19,.26,.52} % Sky + \definecolor{pdcolor7}{rgb}{.84,.74,.71} % Mary Magdalene sleeve +}{HolyWood}{% Piero della Francesca: "Discovery of the Holy Wood" - ca. 1455 + \definecolor{pdcolor1}{rgb}{.19,.21,.19} % Horse's ear + \definecolor{pdcolor2}{rgb}{.97,.97,.94} % Attendant's neck + \definecolor{pdcolor3}{rgb}{.29,.13,.13} % Attendant's russet dress + \definecolor{pdcolor4}{rgb}{.94,.94,.91} % Horse's rear + \definecolor{pdcolor5}{rgb}{.22,.35,.55} % Queen of Sheba's dress + \definecolor{pdcolor6}{rgb}{.74,.48,.42} % Dusky rose dress + \definecolor{pdcolor7}{rgb}{.84,.71,.61} % Queen of Sheba's hand +}{Europa}{% Titian: "The Rape of Europa" - 1559-62 + \definecolor{pdcolor1}{rgb}{.09,.06,.03} % Bull's eye + \definecolor{pdcolor2}{rgb}{1,.97,.84} % Europa's bodice + \definecolor{pdcolor3}{rgb}{.16,.13,.09} % Sea + \definecolor{pdcolor4}{rgb}{1,.97,.84} % Europa's breast + \definecolor{pdcolor5}{rgb}{.58,.26,.13} % Flying cape + \definecolor{pdcolor6}{rgb}{.32,.29,.39} % Deep blue sky + \definecolor{pdcolor7}{rgb}{.84,.78,.52} % Bull's right front leg +}{Moitessier}{% Jean Auguste Dominque Ingres: "Madame Moitessier, Standing" - 1851 + \definecolor{pdcolor1}{rgb}{.06,.03,.03} % Black dress + \definecolor{pdcolor2}{rgb}{.87,.84,.78} % Accessories at lower left + \definecolor{pdcolor3}{rgb}{.22,.03,.06} % Deep red wall + \definecolor{pdcolor4}{rgb}{1,.97,.91} % Accessories at lower left + \definecolor{pdcolor5}{rgb}{.78,.35,.32} % Flower in hair + \definecolor{pdcolor6}{rgb}{.58,.55,.71} % Blue jewel on left wrist + \definecolor{pdcolor7}{rgb}{1,.78,.65} % Left forearm +}{MayThird}{% Francisco Goya: "Third of May, 1808" - 1814 + \definecolor{pdcolor1}{rgb}{0,0,0} % Black sky + \definecolor{pdcolor2}{rgb}{.97,.97,.94} % Shirt of victim + \definecolor{pdcolor3}{rgb}{.29,.19,.13} % Face of victim + \definecolor{pdcolor4}{rgb}{.97,.97,.97} % Left side of lantern + \definecolor{pdcolor5}{rgb}{.55,.26,.22} % Blood of man in foreground + \definecolor{pdcolor6}{rgb}{.68,.48,.16} % Trousers of victim + \definecolor{pdcolor7}{rgb}{.68,.65,.58} % Coattails of foreground soldier +}{PearlEarring}{% Johannes Vermeer: "Girl with a Pearl Earring" - 1665 + \definecolor{pdcolor1}{rgb}{.06,.06,.06} % Pupil of eye + \definecolor{pdcolor2}{rgb}{.97,.97,.91} % Sclera of left eye + \definecolor{pdcolor3}{rgb}{.26,.29,.42} % Blue head scarf + \definecolor{pdcolor4}{rgb}{1,1,.9} % Reflection off earring + \definecolor{pdcolor5}{rgb}{.71,.61,.39} % Beige head scarf + \definecolor{pdcolor6}{rgb}{.65,.35,.29} % Lower lip + \definecolor{pdcolor7}{rgb}{.68,.71,.78} % Light blue over forehead +}{Charon}{% Michelangelo: "Charon" (Detail from "The Last Judgment" - 1534-41 + \definecolor{pdcolor1}{rgb}{.91,.91,.87} % Sclera of right eye + \definecolor{pdcolor2}{rgb}{.13,.13,.13} % Pupil of right eye + \definecolor{pdcolor3}{rgb}{.39,.39,.48} % Left ear + \definecolor{pdcolor4}{rgb}{.91,.91,.94} % Right forehead + \definecolor{pdcolor5}{rgb}{.65,.71,.84} % Sky at upper right + \definecolor{pdcolor6}{rgb}{.81,.78,.65} % Right eyebrow + \definecolor{pdcolor7}{rgb}{.42,.35,.39} % Moustache +} +\pddefinetemplate{titleslide}{ + titlefont=\LARGE\sl\color{pdcolor4}\centering, + clockcolor=pdcolor4,clockpos={.99\slidewidth,\slideheight}, + texthook=t, + textpos={.5\slidewidth,.65\slideheight}, + textwidth=.8\slidewidth, + textfont=\large\color{pdcolor4}\centering, + textheight=.5\slideheight +}{% + \psframe*[linecolor=pdcolor3](0,\slideheight)(\slidewidth,0)% +} +\pddefinetemplate{slide}{ + titlepos={.05\slidewidth,.93\slideheight}, + titlewidth=.9\slidewidth, + titlefont=\bfseries\color{pdcolor4}\raggedright, + clockcolor=pdcolor4,clockpos={.99\slidewidth,\slideheight}, + textpos={.05\slidewidth,.85\slideheight}, + textwidth=.9\slidewidth, + rfpos={.985\slidewidth,.015\slideheight}, + rftemp=\pd@@rf, + lfpos={.015\slidewidth,.015\slideheight}, + textheight=.8\slideheight +}{% + \psframe*[linecolor=pdcolor2](0,0)(\slidewidth,.89\slideheight)% + \psframe*[linecolor=pdcolor3](0,\slideheight)(\slidewidth,.89\slideheight)% +} +\pddefinetemplate[slide]{wideslide}{}{} +\pddefinetemplate[titleslide]{sectionslide}{ + titlehook=c,titlefont=\LARGE\color{pdcolor4}\centering, + titlepos={.5\slidewidth,.55\slideheight}, + titlewidth=.8\slidewidth +}{} +\setkeys[pd]{section}{ + sectemp=sectionslide,widesectemp=sectionslide +} +\def\labelitemi{\color{pdcolor3}\ensuremath\bullet} +\def\labelitemii{\color{pdcolor5}\ensuremath\bullet} +\def\labelitemiii{\color{pdcolor6}\ensuremath\bullet} +\def\labelitemiv{\color{pdcolor1}\ensuremath\bullet} +\pdsetup{ + list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt}, + dmaxheight=.85\slideheight +} +\def\familydefault{\sfdefault} +\endinput +%% +%% End of file `powerdot-paintings.sty'. diff --git a/Master/texmf-dist/tex/latex/powerdot/powerdot-pazik.sty b/Master/texmf-dist/tex/latex/powerdot/powerdot-pazik.sty new file mode 100644 index 00000000000..10cae13e164 --- /dev/null +++ b/Master/texmf-dist/tex/latex/powerdot/powerdot-pazik.sty @@ -0,0 +1,202 @@ +%% +%% This is file `powerdot-pazik.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% powerdot.dtx (with options: `pdpazik') +%% +%% --------------------------------------------------------------- +%% 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 +%% 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 Hendri Adriaens. +%% +%% This work consists of all files listed in manifest.txt. +%% +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{powerdot-pazik}[2005/12/06 v1.0 pazik style (CE,HA)] +\RequirePackage{pifont} +\RequirePackage{pst-char} +\RequirePackage{pst-grad} +\RequirePackage{type1cm} +\DeclareFixedFont\pd@psmath{OML}{cmm}{m}{it}{2cm} +\DeclareFixedFont\pd@psroman{OT1}{cmr}{m}{n}{2cm} +\pddefinepalettes{red}{ + \definecolor{pdcolor1}{RGB}{225,187,100} % gold + \definecolor{pdcolor2}{RGB}{111,24,17} % brick red + \definecolor{pdcolor3}{RGB}{0,0,0} % black + \colorlet{mytoctcolor}{pdcolor1} + \colorlet{mytochlcolor}{pdcolor2!90} + \colorlet{mytitlecolor}{pdcolor1} + \colorlet{myiacolor}{pdcolor1!65!pdcolor3} + \def\pd@pazik@i{\pd@psmath\char25} + \def\pd@pazik@ii{\pd@psroman e} + \def\pd@pazik@iii{\pd@psroman i} + \def\pd@pazik@iv{\pd@psmath\char16} +}{brown}{ + \definecolor{pdcolor1}{RGB}{22,80,100} % blue + \definecolor{pdcolor2}{rgb}{.749,.635,.376} % tan + \definecolor{pdcolor3}{RGB}{0,0,0} % black + \colorlet{mytoctcolor}{pdcolor2} + \colorlet{mytochlcolor}{pdcolor1} + \colorlet{mytitlecolor}{pdcolor2} + \colorlet{myiacolor}{pdcolor1!70} + \def\pd@pazik@i{\pd@psmath h} + \def\pd@pazik@ii{\pd@psmath e} + \def\pd@pazik@iii{\pd@psmath c} + \def\pd@pazik@iv{\pd@psmath\char11} +} +\pddefinetemplate{titleslide}{ + textpos={.15\slidewidth,.75\slideheight}, + textwidth=.7\slidewidth, + titlefont=\bfseries\LARGE\centering, + textfont=\centering, + ifsetup=landscape, + textheight=.67\slideheight, + ifsetup=portrait, + textheight=.55\slideheight +}{{% + \psframe*[linestyle=none,linecolor=pdcolor2!90]% + (0,0)(\slidewidth,\slideheight)% + \psset{linestyle=none,fillstyle=gradient,gradbegin=pdcolor2!90,% + gradend=pdcolor3,gradmidpoint=0,linewidth=0pt}% + \pdifsetup{landscape}{% + \psframe[gradangle=90](0\slidewidth,0\slideheight)% + (.15\slidewidth,\slideheight)% + \pd@pazik@lbg + }{% + \psframe[gradangle=180](0\slidewidth,0\slideheight)% + (\slidewidth,.2\slideheight)% + \pd@pazik@pbg + }% +}} +\pddefinetemplate{basic}{% + titlefont=\bfseries\LARGE\color{mytitlecolor}, + rfpos={.98\slidewidth,.015\slideheight}, + rffont=\tiny,lffont=\tiny, + iacolor=myiacolor, + clockhook=t, + clockalign=1, + clockcolor=pdcolor1, + toctcolor=mytoctcolor, + tochltcolor=mytoctcolor, + tochlcolor=mytochlcolor, + tocfont=\tiny\raggedright, + ifsetup=landscape, + textheight=.82\slideheight, + titlepos={.02\slidewidth,.94\slideheight}, + titlewidth=.96\slidewidth, + ifsetup=portrait, + lfpos={.02\slidewidth,.015\slideheight}, + clockpos={.5\slidewidth,.035\slideheight}, + titlepos={.02\slidewidth,.945\slideheight}, + titlewidth=.96\slidewidth, + textpos={.02\slidewidth,.87\slideheight}, + textwidth=.96\slidewidth, +}{{% + \psframe*[linestyle=none,linecolor=pdcolor2!90]% + (0,0)(\slidewidth,\slideheight)% + \psset{linestyle=none,fillstyle=gradient,gradbegin=pdcolor2!90,% + gradend=pdcolor3,gradmidpoint=0,gradangle=90,linewidth=0pt}% + \pdifsetup{landscape}{% + \psframe(.145\slidewidth,\slideheight)(\slidewidth,.9\slideheight)% + \pd@pazik@lbg + }{% + \psframe(0,\slideheight)(\slidewidth,.9\slideheight)% + \pd@pazik@pbg + }% +}} +\pddefinetemplate[basic]{slide}{ + ifsetup=landscape, + lfpos={.17\slidewidth,.015\slideheight}, + clockpos={.07\slidewidth,.045\slideheight}, + textpos={.17\slidewidth,.87\slideheight}, + textwidth=.81\slidewidth, + tocwidth=.12\slidewidth, + tocslidesep=.3em,tocslideindent=.2em, + tocsecm={\psline[linewidth=.2pt,linecolor=pdcolor1]% + (-.05,-.05)(.12\slidewidth,-.05)}, + tocpos={.015\slidewidth,.86\slideheight}, + ifsetup=portrait, + textheight=.65\slideheight,tocsecsep=.2em, + stochook=tr,stocpos={.44\slidewidth,.18\slideheight}, + stocfont=\tiny\raggedleft, + tocslidesep=.2em, + ntocpos={.56\slidewidth,.18\slideheight}, + ntocfont=\tiny\raggedright +}{% + \pdifsetup{landscape}{% + \psframe*[linestyle=none,linecolor=pdcolor3]% + (0,0)(.15\slidewidth,\slideheight)% + }{% + \psframe*[linestyle=none,linecolor=pdcolor3]% + (0,0)(\slidewidth,.2\slideheight)% + }% +} +\pddefinetemplate[basic]{wideslide}{% + ifsetup=landscape, + tocpos,textpos={.02\slidewidth,.87\slideheight}, + textwidth=.96\slidewidth, + lfpos={.02\slidewidth,.015\slideheight}, + clockpos={.5\slidewidth,.045\slideheight}, + ifsetup=portrait, + textheight=.78\slideheight, +}{% + \pdifsetup{landscape}{% + \psframe*[linestyle=none,linecolor=pdcolor3]% + (0,\slideheight)(.15\slidewidth,.9\slideheight)% + }{}% +} +\pddefinetemplate[slide]{sectionslide}{% + titlehook=c, + titlefont=\bfseries\LARGE\centering, + titlewidth=.9\slidewidth, + ifsetup=landscape, + titlepos={.585\slidewidth,.6\slideheight}, + ifsetup=portrait, + titlepos={.5\slidewidth,.6\slideheight} +}{% +} +\pddefinetemplate[wideslide]{sectionwideslide}{% + titlehook=c, + titlefont=\bfseries\LARGE\centering, + titlepos={.5\slidewidth,.6\slideheight}, + titlewidth=.9\slidewidth +}{} +\def\pd@pazik@lbg{% + \psset{fillstyle=solid,fillcolor=pdcolor2}% + \rput{-10}(.35\slidewidth,.6\slideheight){\pscharpath{\pd@pazik@i}}% + \rput{15}(.4\slidewidth,.3\slideheight){\pscharpath{\pd@pazik@ii}}% + \rput{-20}(.8\slidewidth,.2\slideheight){\pscharpath{\pd@pazik@iii}}% + \rput{30}(.7\slidewidth,.7\slideheight){\pscharpath{\pd@pazik@iv}}% +} +\def\pd@pazik@pbg{% + \psset{fillstyle=solid,fillcolor=pdcolor2}% + \rput{-10}(.23\slidewidth,.78\slideheight){\pscharpath{\pd@pazik@i}}% + \rput{15}(.35\slidewidth,.4\slideheight){\pscharpath{\pd@pazik@ii}}% + \rput{-20}(.8\slidewidth,.3\slideheight){\pscharpath{\pd@pazik@iii}}% + \rput{30}(.7\slidewidth,.7\slideheight){\pscharpath{\pd@pazik@iv}}% +} +\setkeys[pd]{section}{sectemp=sectionslide,widesectemp=sectionwideslide} +\def\labelitemi{\footnotesize\ding{110}} +\def\labelitemii{\small\ding{117}} +\def\labelitemiii{\tiny\ding{110}} +\def\labelitemiv{\tiny\ding{117}} +\pdsetup{ + list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt} +} +\def\rmdefault{cmss} +\endinput +%% +%% End of file `powerdot-pazik.sty'. diff --git a/Master/texmf-dist/tex/latex/powerdot/powerdot-sailor.sty b/Master/texmf-dist/tex/latex/powerdot/powerdot-sailor.sty index b813c2b5cbc..350c70e15da 100644 --- a/Master/texmf-dist/tex/latex/powerdot/powerdot-sailor.sty +++ b/Master/texmf-dist/tex/latex/powerdot/powerdot-sailor.sty @@ -6,9 +6,9 @@ %% %% powerdot.dtx (with options: `pdsailor') %% -%% ---------------------------------------------------------- -%% 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,62 +20,86 @@ %% %% 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-sailor}[2005/10/09 v1.1 sailor style (MH,HA)] +\ProvidesPackage{powerdot-sailor}[2005/12/06 v1.2 sailor style (MH,HA)] \RequirePackage{calc} \RequirePackage{amssymb} \RequirePackage{pst-grad} -\definecolor{pddblue}{rgb}{.141,.188,.235} -\definecolor{pdblue}{rgb}{.298,.392,.49} -\definecolor{pdlblue}{rgb}{.522,.592,.647} -\definecolor{pdgray}{rgb}{.8627,.8941,.9255} +\pddefinepalettes{Sea}{% Sea sailor (default) + \definecolor{pdcolor1}{rgb}{.141,.188,.235} % Dark blue #24303C + \definecolor{pdcolor2}{rgb}{.298,.392,.490} % Medium blue #4C647D + \definecolor{pdcolor3}{rgb}{.522,.592,.647} % Light blue #8597A5 + \definecolor{pdcolor4}{rgb}{.8627,.8941,.9255} % Lighter blue #DCE4EC +}{River}{% River variant + \definecolor{pdcolor1}{rgb}{.141,.235,.192} % Dark green #243C31 + \definecolor{pdcolor2}{rgb}{.298,.490,.404} % Medium green #4C7D67 + \definecolor{pdcolor3}{rgb}{.522,.647,.592} % Light green #85A597 + \definecolor{pdcolor4}{rgb}{.8627,.9255,.8980} % Lighter green #DCECE5 +}{Wine}{% Wine variant + \definecolor{pdcolor1}{rgb}{.235,.141,.161} % Dark red #3C2429 + \definecolor{pdcolor2}{rgb}{.490,.298,.337} % Medium red #7D4C56 + \definecolor{pdcolor3}{rgb}{.647,.522,.545} % Light red #A5858B + \definecolor{pdcolor4}{rgb}{.9255,.8627,.8745} % Lighter red #ECDCDF +}{Chocolate}{% Chocolate variant + \definecolor{pdcolor1}{rgb}{.235,.212,.141} % Dark brown #3C3624 + \definecolor{pdcolor2}{rgb}{.490,.443,.298} % Medium brown #7D714C + \definecolor{pdcolor3}{rgb}{.647,.616,.522} % Light brown #A59D85 + \definecolor{pdcolor4}{rgb}{.9255,.9098,.8627} % Lighter brown #ECE8DC +}{Cocktail}{% Cocktail variant + \definecolor{pdcolor1}{rgb}{.180,.141,.235} % Dark violet #2E243C + \definecolor{pdcolor2}{rgb}{.380,.298,.490} % Medium violet #614C7D + \definecolor{pdcolor3}{rgb}{.576,.522,.647} % Light violet #9385A5 + \definecolor{pdcolor4}{rgb}{.8902,.8627,.9255} % Lighter violet #E3DCEC +} \pddefinetemplate{basic}{% texthook=tl, titlefont=\Large\bfseries\color{white}\raggedleft, - iacolor=pdlblue, - toctcolor=pdlblue, + clockhook=tl,clockpos={0,\slideheight},clockalign=0, + iacolor=pdcolor3, + toctcolor=pdcolor3, tochlcolor=white, - tochltcolor=pddblue, + tochltcolor=pdcolor1, ifsetup=landscape, - lfpos={.02\slidewidth,.02\slideheight}, - rfpos={.98\slidewidth,.02\slideheight}, - tocsecsep=2.5ex, - tocslidesep=1.2ex, - tocslideindent=1ex, - tocpos={.01\slidewidth,.8\slideheight}, - tocwidth=.14\slidewidth, - tocsecm={\psline[linewidth=.5pt,linecolor=pddblue]% - (-.05,-.05)(.14\slidewidth,-.05)}, + lfpos={.02\slidewidth,.02\slideheight}, + rfpos={.98\slidewidth,.02\slideheight}, + tocsecsep=2.5ex, + tocslidesep=1.2ex, + tocslideindent=1ex, + tocpos={.01\slidewidth,.8\slideheight}, + tocwidth=.14\slidewidth, + tocsecm={\psline[linewidth=.5pt,linecolor=pdcolor1]% + (-.05,-.05)(.14\slidewidth,-.05)}, ifsetup=portrait, - lfpos={.02\slidewidth,.015\slideheight}, - rfpos={.98\slidewidth,.015\slideheight}, - tocsecsep=.1ex, - tocslidesep=.1ex, - stochook=tr, - stocpos={.49\slidewidth,.09\slideheight}, - stocfont=\tiny\raggedleft, - stocwidth=.48\slidewidth, - ntocpos={.51\slidewidth,.09\slideheight}, - ntocwidth=.48\slidewidth, + lfpos={.02\slidewidth,.015\slideheight}, + rfpos={.98\slidewidth,.015\slideheight}, + tocsecsep=.1ex, + tocslidesep=.1ex, + stochook=tr, + stocpos={.49\slidewidth,.09\slideheight}, + stocfont=\tiny\raggedleft, + stocwidth=.48\slidewidth, + ntocpos={.51\slidewidth,.09\slideheight}, + ntocwidth=.48\slidewidth, }{} \pddefinetemplate[basic]{topframe}{% titlehook=r, + clockcolor=white, ifsetup=landscape, - titlewidth=.9\slidewidth, - titlepos={.95\slidewidth,.92\slideheight}, - textheight=.74\slideheight, - textpos={.2\slidewidth,.8\slideheight}, - textwidth=.77\slidewidth, + titlewidth=.9\slidewidth, + titlepos={.95\slidewidth,.92\slideheight}, + textheight=.74\slideheight, + textpos={.2\slidewidth,.8\slideheight}, + textwidth=.77\slidewidth, ifsetup=portrait, - titlewidth=.94\slidewidth, - titlepos={.98\slidewidth,.95\slideheight}, - textheight=.75\slideheight, - textpos={.03\slidewidth,.87\slideheight}, - textwidth=.94\slidewidth + titlewidth=.94\slidewidth, + titlepos={.98\slidewidth,.95\slideheight}, + textheight=.75\slideheight, + textpos={.03\slidewidth,.87\slideheight}, + textwidth=.94\slidewidth }{% \pdifsetup{landscape}{% \pd@sailorroundedtopframe{.15\slideheight}% @@ -87,12 +111,13 @@ texthook=rt, textpos={.95\slidewidth,.77\slideheight}, textwidth=.9\slidewidth, - textfont=\color{pddblue}\raggedleft\tabcolsep0pt, + textfont=\color{pdcolor1}\raggedleft\tabcolsep0pt, textheight=.72\slideheight, titlefont=\Large\bfseries\color{white}, + clockcolor=pdcolor1, tocpos,ntocpos,stocpos -}{% - \psset{linecolor=pddblue}% +}{{% + \psset{linecolor=pdcolor1}% \pdifsetup{landscape}{% \pd@sailorroundedframe{\slidewidth}{.25\slidewidth}{.7\slideheight}% {.17\slideheight}% @@ -101,45 +126,45 @@ {.12\slideheight}% }% \pd@sailorgrad\slidewidth{.5\slideheight}% - \psset{linecolor=pdlblue}% + \psset{linecolor=pdcolor3}% \psarc*(0,.2\slideheight){3pt}{270}{90}% \multips(.08\slidewidth,.2\slideheight)(.08\slidewidth,0){9}{% \qdisk(0,0){3pt}% }% -} -\pddefinetemplate[topframe]{slide}{}{% +}} +\pddefinetemplate[topframe]{slide}{}{{% \pdifsetup{landscape}{% \pd@sailorgrad{.16\slidewidth}{.5\slideheight}% - \psset{linecolor=pdlblue}% + \psset{linecolor=pdcolor3}% \multips(.16\slidewidth,0.75pt)(0,.01\slideheight){82}{% \qdisk(0,0){.75pt}% }% }\pd@sailortocbg -} +}} \pddefinetemplate[topframe]{wideslide}{% tocpos,ifsetup=landscape, - textpos={.03\slidewidth,.8\slideheight}, - textwidth=.94\slidewidth + textpos={.03\slidewidth,.8\slideheight}, + textwidth=.94\slidewidth }{% \pdifsetup{portrait}\pd@sailortocbg{}% } \pddefinetemplate[slide]{sectionslide}{% - titlefont=\Large\bfseries\color{pddblue}\centering, + titlefont=\Large\bfseries\color{pdcolor1}\centering, titlehook=c, titlewidth=.55\slidewidth, ifsetup=landscape, - titlepos={.58\slidewidth,.55\slideheight}, + titlepos={.58\slidewidth,.55\slideheight}, ifsetup=portrait, - titlepos={.5\slidewidth,.55\slideheight}, + titlepos={.5\slidewidth,.55\slideheight}, }{} \pddefinetemplate[basic]{sectionwideslide}{% tocpos,stocpos,ntocpos, titlehook=c,titlewidth=.75\slidewidth, titlepos={.4\slidewidth,.695\slideheight}, titlefont=\Large\bfseries\color{white}\centering -}{% +}{{% \pd@sailorgrad\slidewidth{.5\slideheight}% - \psset{linecolor=pddblue}% + \psset{linecolor=pdcolor1}% \pdifsetup{landscape}{% \pd@sailorroundedframe{0pt}{.75\slidewidth}{.7\slideheight}% {.1\slideheight}% @@ -147,43 +172,43 @@ \pd@sailorroundedframe{0pt}{.75\slidewidth}{.7\slideheight}% {.07\slideheight}% }% - \psset{linecolor=pdlblue}% + \psset{linecolor=pdcolor3}% \psarc*(\slidewidth,.2\slideheight){3pt}{90}{270}% \multips(.92\slidewidth,.2\slideheight)(-.08\slidewidth,0){9}{% \qdisk(0,0){3pt}% }% -} -\def\pd@sailorroundedtopframe#1{% +}} +\def\pd@sailorroundedtopframe#1{{% \setlength\@tempdima{\slideheight-#1}% - \psset{linewidth=0pt,fillcolor=pdblue,fillstyle=solid,linecolor=pdblue}% + \psset{linewidth=0pt,fillcolor=pdcolor2,fillstyle=solid,linecolor=pdcolor2}% \psframe(#1,\slideheight)(\slidewidth,\@tempdima)% \pswedge*(#1,\slideheight){#1}{180}{275}% - \psset{linecolor=pddblue,linewidth=.8pt}% + \psset{linecolor=pdcolor1,linewidth=.8pt}% \psline(\slidewidth,\@tempdima)(#1,\@tempdima)% \psarc[fillstyle=none](#1,\slideheight){#1}{180}{270}% -} -\def\pd@sailorroundedframe#1#2#3#4{% +}} +\def\pd@sailorroundedframe#1#2#3#4{{% \setlength\@tempdima{#3+#4}% \setlength\@tempdimb{#3-#4}% - \psset{linewidth=0pt,linecolor=pdblue,fillcolor=pdblue,fillstyle=solid}% + \psset{linewidth=0pt,linecolor=pdcolor2,fillcolor=pdcolor2,fillstyle=solid}% \psframe(#1,\@tempdima)(#2,\@tempdimb)% \ifdim#1>#2\pswedge*(#2,#3){#4}{85}{275}\else\pswedge*(#2,#3){#4}{265}{95}\fi - \psset{linecolor=pddblue,linewidth=.8pt}% + \psset{linecolor=pdcolor1,linewidth=.8pt}% \psline(#1,\@tempdima)(#2,\@tempdima)% \ifdim#1>#2\psarc(#2,#3){#4}{90}{270}\else\psarc(#2,#3){#4}{270}{90}\fi \psline(#1,\@tempdimb)(#2,\@tempdimb)% -} +}} \def\pd@sailorgrad#1#2{% \psframe[linestyle=none,linewidth=0pt,fillstyle=gradient,% - gradbegin=pdgray,gradend=white,gradmidpoint=0](0,0)(#1,#2)% + gradbegin=pdcolor4,gradend=white,gradmidpoint=0](0,0)(#1,#2)% } -\def\pd@sailortocbg{% - \psset{linecolor=pdlblue}% +\def\pd@sailortocbg{{% + \psset{linecolor=pdcolor3}% \pd@sailorgrad\slidewidth{.1\slideheight}% \multips(1.5pt,.1\slideheight)(.01\slidewidth,0){100}{% \qdisk(0,0){.75pt}% }% -} +}} \setkeys[pd]{section}{sectemp=sectionslide,widesectemp=sectionwideslide} \def\pd@title#1{% \parbox[c][.15\textheight]{.75\slidewidth}{\raggedleft#1}% @@ -195,12 +220,11 @@ \pd@usedtocfont\color\pd@@tochltcolor#1% \end{minipage}% } -\def\labelitemi{\footnotesize\color{pdblue}\ensuremath\blacksquare} -\def\labelitemii{\footnotesize\color{pddblue}\ensuremath\square} -\def\labelitemiii{\tiny\color{pdblue}\ensuremath\blacksquare} -\def\labelitemiv{\tiny\color{pddblue}\ensuremath\square} +\def\labelitemi{\footnotesize\color{pdcolor2}\ensuremath\blacksquare} +\def\labelitemii{\footnotesize\color{pdcolor1}\ensuremath\square} +\def\labelitemiii{\tiny\color{pdcolor2}\ensuremath\blacksquare} +\def\labelitemiv{\tiny\color{pdcolor1}\ensuremath\square} \pdsetup{list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt}} -\color{pddblue} \def\rmdefault{phv} \def\sfdefault{phv} \def\Hv@scale{.85} diff --git a/Master/texmf-dist/tex/latex/powerdot/powerdot-simple.sty b/Master/texmf-dist/tex/latex/powerdot/powerdot-simple.sty index 53aef941cc4..bc5b19a66f3 100644 --- a/Master/texmf-dist/tex/latex/powerdot/powerdot-simple.sty +++ b/Master/texmf-dist/tex/latex/powerdot/powerdot-simple.sty @@ -6,9 +6,9 @@ %% %% powerdot.dtx (with options: `pdsimple') %% -%% ---------------------------------------------------------- -%% 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,16 +20,18 @@ %% %% 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-simple}[2005/09/19 v1.1 simple style (HA)] +\ProvidesPackage{powerdot-simple}[2005/12/06 v1.2 simple style (HA)] \RequirePackage{pifont} \RequirePackage{amssymb} +\pddefinepalettes{default}{\colorlet{pdcolor1}{black}} \pddefinetemplate{titleslide}{ titlefont=\large\bfseries\raggedright, + clockpos={.99\slidewidth,\slideheight}, lfpos={.03\slidewidth,.04\slideheight}, rfpos={.97\slidewidth,.04\slideheight}, texthook=tl,textpos={.05\slidewidth,.83\slideheight}, @@ -43,19 +45,20 @@ titlepos={.05\slidewidth,.93\slideheight}, titlewidth=.9\slidewidth,textheight=.66\slideheight, titlefont=\large\bfseries\raggedright, + clockpos={.99\slidewidth,\slideheight}, lfpos={.03\slidewidth,.04\slideheight}, rfpos={.97\slidewidth,.04\slideheight}, tocslidesep=.6ex,textheight=.68\slideheight, ifsetup=portrait, - textpos={.05\slidewidth,.83\slideheight}, - textwidth=.9\slidewidth, - tocsecsep=.6ex, - stochook=tr,stocpos={.48\slidewidth,.09\slideheight}, - stocfont=\tiny\raggedleft, - ntocpos={.52\slidewidth,.09\slideheight}, + textpos={.05\slidewidth,.83\slideheight}, + textwidth=.9\slidewidth, + tocsecsep=.6ex, + stochook=tr,stocpos={.48\slidewidth,.09\slideheight}, + stocfont=\tiny\raggedleft, + ntocpos={.52\slidewidth,.09\slideheight}, ifsetup=landscape, - textpos={.2\slidewidth,.83\slideheight}, - textwidth=.75\slidewidth + textpos={.2\slidewidth,.83\slideheight}, + textwidth=.75\slidewidth }{% \psline[linewidth=.8pt](0,.9\slideheight)(\slidewidth,.9\slideheight)% \psline[linewidth=.8pt](0,.1\slideheight)(\slidewidth,.1\slideheight)% @@ -66,10 +69,10 @@ }{} \pddefinetemplate[basic]{slide}{ ifsetup=landscape, - tocpos={.015\slidewidth,.83\slideheight}, - tocwidth=.14\slidewidth, - tocsecm={\psline[linewidth=.5pt,linecolor=gray]% - (-.05,-.05)(.143\slidewidth,-.05)} + tocpos={.015\slidewidth,.83\slideheight}, + tocwidth=.14\slidewidth, + tocsecm={\psline[linewidth=.5pt,linecolor=gray]% + (-.05,-.05)(.143\slidewidth,-.05)} }{% \pdifsetup{landscape}{% \psframe[fillstyle=solid,fillcolor=black!10,linestyle=none,% @@ -80,11 +83,11 @@ \pddefinetemplate[slide]{sectionslide}{ titlehook=c,titlefont=\Large\bfseries\centering, ifsetup=landscape, - titlepos={.575\slidewidth,.55\slideheight}, - titlewidth=.75\slidewidth, + titlepos={.575\slidewidth,.55\slideheight}, + titlewidth=.75\slidewidth, ifsetup=portrait, - titlepos={.5\slidewidth,.55\slideheight}, - titlewidth=.9\slidewidth + titlepos={.5\slidewidth,.55\slideheight}, + titlewidth=.9\slidewidth }{} \pddefinetemplate[wideslide]{sectionwideslide}{ titlehook=c,titlefont=\Large\bfseries\centering, @@ -115,7 +118,6 @@ \pdsetup{ list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt} } -\color{black} \def\rmdefault{cmss} \endinput %% diff --git a/Master/texmf-dist/tex/latex/powerdot/powerdot-tycja.sty b/Master/texmf-dist/tex/latex/powerdot/powerdot-tycja.sty index c7dcf8d05c5..6bf485c37e6 100644 --- a/Master/texmf-dist/tex/latex/powerdot/powerdot-tycja.sty +++ b/Master/texmf-dist/tex/latex/powerdot/powerdot-tycja.sty @@ -6,9 +6,9 @@ %% %% powerdot.dtx (with options: `pdtycja') %% -%% ---------------------------------------------------------- -%% 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,45 +20,49 @@ %% %% 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-tycja}[2005/10/09 v1.2 tycja style (HA)] +\ProvidesPackage{powerdot-tycja}[2005/12/06 v1.3 tycja style (HA)] \RequirePackage{pifont} \RequirePackage{pst-grad} -\definecolor{pdblue}{rgb}{.09,.27,.47} -\definecolor{pdyellow}{rgb}{1,.81,.42} -\definecolor{pdlyellow}{rgb}{1,.97,.84} +\pddefinepalettes{default}{ + \definecolor{pdcolor1}{rgb}{.09,.27,.47} + \definecolor{pdcolor2}{rgb}{1,.81,.42} + \definecolor{pdcolor3}{rgb}{1,.97,.84} +} \pddefinetemplate{basic}{ lfpos={.03\slidewidth,.04\slideheight}, - lffont=\scriptsize\color{pdlyellow}, + lffont=\scriptsize\color{pdcolor3}, rfpos={.97\slidewidth,.04\slideheight}, - rffont=\scriptsize\color{pdlyellow}, + rffont=\scriptsize\color{pdcolor3}, + clockcolor=pdcolor1,clockhook=tl,clockalign=0, + clockpos={0,\slideheight}, tocslidesep=.6ex, ifsetup=landscape, - textheight=.66\slideheight, - toctcolor=pdblue, - tochlcolor=pdblue, - tochltcolor=pdlyellow, - tocpos={.845\slidewidth,.81\slideheight}, - tocwidth=.14\slidewidth, - tocsecm={\psline[linewidth=.5pt,linecolor=pdblue]% - (-.05,-.05)(.143\slidewidth,-.05)}, + textheight=.66\slideheight, + toctcolor=pdcolor1, + tochlcolor=pdcolor1, + tochltcolor=pdcolor3, + tocpos={.845\slidewidth,.81\slideheight}, + tocwidth=.14\slidewidth, + tocsecm={\psline[linewidth=.5pt,linecolor=pdcolor1]% + (-.05,-.05)(.143\slidewidth,-.05)}, ifsetup=portrait, - toctcolor=pdlyellow, - tochlcolor=pdlyellow, - tochltcolor=pdblue, - tocsecsep=.6ex, - textheight=.68\slideheight, - stochook=tr,stocpos={.48\slidewidth,.09\slideheight}, - stocfont=\tiny\raggedleft, - ntocpos={.52\slidewidth,.09\slideheight} + toctcolor=pdcolor3, + tochlcolor=pdcolor3, + tochltcolor=pdcolor1, + tocsecsep=.6ex, + textheight=.68\slideheight, + stochook=tr,stocpos={.48\slidewidth,.09\slideheight}, + stocfont=\tiny\raggedleft, + ntocpos={.52\slidewidth,.09\slideheight} }{% - \psframe*[linecolor=pdlyellow](0,0)(\slidewidth,\slideheight)% - \psframe*[linecolor=pdblue](0,0)(\slidewidth,.1\slideheight)% - \psline[linecolor=pdblue]% + \psframe*[linecolor=pdcolor3](0,0)(\slidewidth,\slideheight)% + \psframe*[linecolor=pdcolor1](0,0)(\slidewidth,.1\slideheight)% + \psline[linecolor=pdcolor1]% (0,.85\slideheight)(.1\slidewidth,.85\slideheight)% (.1\slidewidth,.88\slideheight)(\slidewidth,.88\slideheight)% } @@ -74,16 +78,16 @@ titlewidth=.76\slidewidth,titlefont=\large\bfseries\raggedleft, textpos={.12\slidewidth,.81\slideheight},textwidth=.67\slidewidth, ifsetup=portrait, - titlepos={.9\slidewidth,.93\slideheight},titlewidth=.88\slidewidth, - textwidth=.76\slidewidth + titlepos={.9\slidewidth,.93\slideheight},titlewidth=.88\slidewidth, + textwidth=.76\slidewidth }{% \pdifsetup{landscape}{% - \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdyellow,% - gradend=pdlyellow,gradmidpoint=1,linewidth=0pt]% + \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdcolor2,% + gradend=pdcolor3,gradmidpoint=1,linewidth=0pt]% (\slidewidth,.1\slideheight)(.83\slidewidth,\slideheight)% }{% - \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdyellow,% - gradend=pdlyellow,gradmidpoint=1,linewidth=0pt]% + \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdcolor2,% + gradend=pdcolor3,gradmidpoint=1,linewidth=0pt]% (\slidewidth,.1\slideheight)(.92\slidewidth,\slideheight)% }% } @@ -92,33 +96,33 @@ titlewidth=.76\slidewidth,titlefont=\large\bfseries\raggedleft, textpos={.12\slidewidth,.81\slideheight},textwidth=.84\slidewidth, ifsetup=landscape,tocpos,ifsetup=portrait, - titlepos={.9\slidewidth,.93\slideheight},titlewidth=.88\slidewidth, + titlepos={.9\slidewidth,.93\slideheight},titlewidth=.88\slidewidth, }{% \pdifsetup{landscape}{% - \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdyellow,% - gradend=pdlyellow,gradmidpoint=1,linewidth=0pt]% + \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdcolor2,% + gradend=pdcolor3,gradmidpoint=1,linewidth=0pt]% (\slidewidth,.1\slideheight)(.83\slidewidth,\slideheight)% - \psframe*[linecolor=pdlyellow]% + \psframe*[linecolor=pdcolor3]% (.79\slidewidth,.88\slideheight)(\slidewidth,.1\slideheight)% }{% - \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdyellow,% - gradend=pdlyellow,gradmidpoint=1,linewidth=0pt]% + \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdcolor2,% + gradend=pdcolor3,gradmidpoint=1,linewidth=0pt]% (\slidewidth,.1\slideheight)(.92\slidewidth,\slideheight)% - \psframe*[linecolor=pdlyellow]% + \psframe*[linecolor=pdcolor3]% (.9\slidewidth,.88\slideheight)(\slidewidth,.1\slideheight)% }% - \psline[linecolor=pdblue]% + \psline[linecolor=pdcolor1]% (0,.85\slideheight)(.1\slidewidth,.85\slideheight)% (.1\slidewidth,.88\slideheight)(\slidewidth,.88\slideheight)% } \pddefinetemplate[slide]{sectionslide}{ titlehook=c,titlefont=\Large\bfseries\centering, ifsetup=landscape, - titlepos={.455\slidewidth,.55\slideheight}, - titlewidth=.67\slidewidth, + titlepos={.455\slidewidth,.55\slideheight}, + titlewidth=.67\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, @@ -133,7 +137,6 @@ \pdsetup{ list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt} } -\color{pdblue} \def\rmdefault{cmss} \endinput %% diff --git a/Master/texmf-dist/tex/latex/powerdot/powerdot-upen.sty b/Master/texmf-dist/tex/latex/powerdot/powerdot-upen.sty index eea919e6ee2..284ad14a2dd 100644 --- a/Master/texmf-dist/tex/latex/powerdot/powerdot-upen.sty +++ b/Master/texmf-dist/tex/latex/powerdot/powerdot-upen.sty @@ -6,9 +6,9 @@ %% %% powerdot.dtx (with options: `pdupen') %% -%% ---------------------------------------------------------- -%% 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,81 +20,84 @@ %% %% 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-upen}[2005/10/09 v1.1 upen style (PRU,HA)] +\ProvidesPackage{powerdot-upen}[2005/12/06 v1.2 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} +\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{pdgyellow}, + titlefont=\large\bfseries\color{pdcolor4}, + clockcolor=pdcolor4,clockpos={.99\slidewidth,\slideheight}, tocslidesep=.6ex, toctcolor=white, - tochlcolor=pddblue, - tochltcolor=pdgyellow, + 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}, - rfpos={.95\slidewidth,.045\slideheight}, + 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)} + 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=pdcolor4]% + (-.05,-.05)(.12\slidewidth,-.05)} }{% \pdifsetup{landscape}{% - \psframe[linestyle=none,fillstyle=gradient,gradbegin=pddblue,% - gradend=pdblue,gradangle=-90,gradmidpoint=0,linewidth=0pt]% + \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=pddblue,% - gradend=pddblue,gradmidpoint=0,dimen=outer,linewidth=0pt]% + \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=pdblue,% - gradend=pddblue,gradmidpoint=0,dimen=outer]% + \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{pdgyellow}, + 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=pdblue,gradend=pdgyellow,% + \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=pdblue,gradend=pdgyellow,% + \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=pddblue,gradend=pdblue,% + \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}% @@ -109,48 +112,48 @@ }{% \setlength\@tempdima{.8\slideheight-.5pt}% \pdifsetup{landscape}{% - \psframe[fillstyle=gradient,gradbegin=pddblue,gradend=white,linewidth=0pt,% + \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=pddblue,gradend=white,linewidth=0pt,% + \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{pdgyellow}, + titlefont=\Large\bfseries\centering\color{pdcolor4}, ifsetup=landscape, - titlepos={.59\slidewidth,.53\slideheight}, + titlepos={.59\slidewidth,.53\slideheight}, ifsetup=portrait, - titlepos={.5\slidewidth,.53\slideheight} -}{% - \psset{linewidth=.8pt,linecolor=pdblue}% + titlepos={.5\slidewidth,.53\slideheight} +}{{% + \psset{linewidth=.8pt,linecolor=pdcolor3}% \pdifsetup{landscape}{% - \psframe[fillstyle=solid,fillcolor=pddblue,linestyle=none]% + \psframe[fillstyle=solid,fillcolor=pdcolor2,linestyle=none]% (.34\slidewidth,.65\slideheight)(.84\slidewidth,.4\slideheight)% }{% - \psframe[fillstyle=solid,fillcolor=pddblue,linestyle=none]% + \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{pdgyellow}, + titlefont=\Large\bfseries\centering\color{pdcolor4}, titlepos={.5\slidewidth,.53\slideheight} }{% - \psframe*[linecolor=pddblue]% + \psframe*[linecolor=pdcolor2]% (.16\slidewidth,.65\slideheight)(.84\slidewidth,.4\slideheight)% } \def\pd@upenbg#1#2{% \setlength\@tempdima{#1+.5pt}% - \psframe[fillstyle=gradient,gradbegin=pddblue,gradend=white,% + \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=pddblue,gradend=white,linewidth=0pt,% + \psframe[fillstyle=gradient,gradbegin=pdcolor2,gradend=white,linewidth=0pt,% gradangle=90,gradmidpoint=.2,linestyle=none,dimen=outer]% (#2,.8\slideheight)(\@tempdima,\@tempdimb)% } @@ -162,13 +165,12 @@ } \pdifsetup{landscape}{\def\pd@tocentry#1{{\tiny\ensuremath\bullet}\ #1}}{} \def\labelitemi{\footnotesize\ding{110}} -\def\labelitemii{\color{pdgyellow}\small ---} +\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} } -\color{white} \def\rmdefault{phv} \def\sfdefault{phv} \def\Hv@scale{.85} diff --git a/Master/texmf-dist/tex/latex/powerdot/powerdot.cls b/Master/texmf-dist/tex/latex/powerdot/powerdot.cls index 52051a71875..207ac6d074f 100644 --- a/Master/texmf-dist/tex/latex/powerdot/powerdot.cls +++ b/Master/texmf-dist/tex/latex/powerdot/powerdot.cls @@ -6,9 +6,9 @@ %% %% powerdot.dtx (with options: `powerdot') %% -%% ---------------------------------------------------------- -%% 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,16 +20,17 @@ %% %% 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] \ProvidesClass{powerdot} - [2005/10/09 v1.2 powerdot presentation class (HA,CE)] + [2005/12/06 v1.3 powerdot presentation class (HA,CE)] \newif\ifpd@overlay \newif\ifpd@section \newif\ifpd@ifsetup +\newif\ifpd@display \newcounter{note} \newcounter{slide} \newcounter{pd@pause} @@ -49,33 +50,48 @@ \let\pd@cursetup\@empty \RequirePackage{xkeyval}[2005/07/10] \define@choicekey*[pd]{class}{orient}[\pd@tempa\pd@orient]{% - landscape,portrait}[landscape]{% - \XKV@addtolist@x\pd@cursetup\pd@tempa -} + landscape,portrait}{\XKV@addtolist@x\pd@cursetup\pd@tempa} \define@choicekey*[pd]{class}{paper}[\pd@tempa\pd@paper]{% - screen,a4paper,letterpaper}[screen]{% - \XKV@addtolist@x\pd@cursetup\pd@tempa -} + screen,a4paper,letterpaper}{\XKV@addtolist@x\pd@cursetup\pd@tempa} \define@choicekey*[pd]{class}{display}[\pd@tempa\pd@display]{% - slides,notes,slidesnotes}[slides]{% - \XKV@addtolist@x\pd@cursetup\pd@tempa -} + slides,notes,slidesnotes}{\XKV@addtolist@x\pd@cursetup\pd@tempa} \define@choicekey*[pd]{class}{mode}[\pd@tempa\pd@mode]{% - present,print,handout}[present]{% - \XKV@addtolist@x\pd@cursetup\pd@tempa -} + present,print,handout}{\XKV@addtolist@x\pd@cursetup\pd@tempa} \define@boolkeys[pd]{class}[pd@@]{% nopsheader,hlentries,hlsections,blackslide,nopagebreaks% }[true] -\define@cmdkey[pd]{class}[pd@@]{size}[11pt]{% +\define@boolkey[pd]{class}[pd@@]{clock}[true]{% + \ifpd@@clock + \AtBeginDocument{% + \@Form[]% + \ifnum\pd@orient=\z@ + \def\pd@clockrot{] /R 90\@gobble}% + \else + \let\pd@clockrot\@empty + \fi + }% + \def\pd@startclock{% + function pdshowtime(){ + var pdtime=new Date(); + this.getField("pdclock.time").value= + util.printd("H:MM:ss",pdtime); + } + var tempa=app.setInterval("pdshowtime()",1000); + this.getField("pdstartclock").readonly=true; + this.getField("pdclock").readonly=true; + }% + \fi +} +\define@cmdkey[pd]{class}[pd@@]{size}{% \def\pd@tempa##1pt{##1}% \edef\pd@@size{\expandafter\pd@tempa\pd@@size}% } -\define@cmdkey[pd]{class}[pd@@]{style}[default]{} +\define@cmdkey[pd]{class}[pd@@]{style}{} \define@key[pd]{class}{fleqn}[]{\input{fleqn.clo}} \define@key[pd]{class}{leqno}[]{\input{leqno.clo}} \presetkeys[pd]{class}{% - size,style,orient,paper,display,hlentries,mode}{} + size=11pt,style=default,orient=landscape,paper=screen,% + display=slides,hlentries=true,mode=present}{} \ProcessOptionsX[pd]<class>\relax \def\pd@warn{\ClassWarning{powerdot}} \def\pd@error#1{\ClassError{powerdot}{#1}\@ehd} @@ -84,7 +100,6 @@ `\pd@@style' style does not support portrait orientation }\fi\fi } -\def\@nameedef#1{\expandafter\edef\csname#1\endcsname} \ifnum\pd@mode>0 \ifnum\pd@paper=\z@ \@expandtwoargs\@removeelement{screen}\pd@cursetup\pd@cursetup @@ -96,6 +111,7 @@ \fi \fi \ifnum\pd@mode=2 + \newbox\pd@textbox \ifnum\pd@orient=\z@ \@expandtwoargs\@removeelement{landscape}\pd@cursetup\pd@cursetup \XKV@addtolist@x\pd@cursetup{portrait} @@ -137,9 +153,7 @@ \RequirePackage{pstricks}[2004/05/12] \RequirePackage{xcolor}[2004/05/09] \RequirePackage{enumitem}[2004/07/19] -\RequirePackage{float} -\newfloat{table}{H}{lot} -\newfloat{figure}{H}{lof} +\RequirePackage{verbatim} \ifnum\pd@mode<2 \pagestyle{empty} \fi @@ -175,7 +189,6 @@ \def\@pdfcreator{LaTeX with powerdot class} \ifpd@@blackslide\def\@pdfstartpage{2}\fi \AtBeginDocument{% - \let\pd@color\XC@current@color \ifpd@@blackslide \begin{blackslide}[toc=,bm=,trans=Replace]{}% \end{blackslide}% @@ -185,9 +198,9 @@ \immediate\write\@auxout{\string\newlabel{lastslide}% {{}{\the\c@slide}{\relax}{}{}}}% } -\define@cmdkeys[pd]{global}[pd@@]{lf,rf}[] -\define@key[pd]{global}{theslide}[]{\def\theslide{#1}} -\define@key[pd]{global}{thenote}[]{\def\thenote{#1}} +\define@cmdkeys[pd]{global}[pd@@]{lf,rf} +\define@key[pd]{global}{theslide}{\def\theslide{#1}} +\define@key[pd]{global}{thenote}{\def\thenote{#1}} \define@key[pd]{global}{enumerate}{% \ifx\enit@enum\@undefined \def\enit@enum{#1}% @@ -214,15 +227,56 @@ } \def\pd@@counters{table,figure,equation,footnote,mpfootnote} \define@cmdkey[pd]{glslide}[pd@@]{trans}{} -\setkeys[pd]{global,glslide}{% - lf,rf,theslide=\arabic{slide}~/~\pageref*{lastslide},% +\define@cmdkey[pd]{glslide}[pd@@]{palette}{% + \ifnum\pd@mode<2 + \XKV@ifundefined{pd@pe@\pd@@palette @colors}{% + \pd@error{palette `\pd@@palette' not defined}% + }{% + \@nameuse{pd@pe@\pd@@palette @colors}% + \color{pdcolor1}% + \let\default@color\current@color + \let\pd@color\XC@current@color + }% + \pd@countcolors + \fi +} +\define@choicekey*[pd]{glslide}{method}[\pd@tempa\pd@method]{% + normal,file,direct}{% + \ifnum\pd@method=2 + \ifx\pd@textbox\@undefined\newbox\pd@textbox\fi + \fi +} +\define@boolkey[pd]{glslide}[pd@@]{randomdots}[true]{% + \ifx\randomi\@undefined + \InputIfFileExists{random}{\newcount\pd@tempcnta}{% + \global\pd@@randomdotsfalse + \pd@warn{random.tex not found, random dots canceled}% + }% + \fi + \ifnum\pd@mode=\tw@\global\pd@@randomdotsfalse\fi +} +\define@cmdkeys[pd]{glslide}[pd@@]{% + dminsize,dmaxsize,dbright,dmindots,dmaxdots,dminwidth,dmaxwidth,% + dminheight,dmaxheight,dprop,logohook,logopos% +} +\define@key[pd]{glslide}{logocmd}{% + \ifx\pd@logobox\@undefined\newbox\pd@logobox\fi + \sbox\pd@logobox{#1}% +} +\setkeys[pd]{glslide,global}{% + lf=,rf=,theslide=\arabic{slide}~/~\pageref*{lastslide},% thenote=note~\arabic{note}~of~slide~\arabic{slide},% - trans=Replace% + trans=Replace,dminsize=5pt,dmaxsize=40pt,dminwidth=0pt,% + dmaxwidth=\slidewidth,dminheight=0pt,dbright=60,% + dmaxheight=\slideheight,dmindots=5,dmaxdots=40,dprop=,% + logohook=tl,logopos=,logocmd=,method=normal% } +\def\pdsetup{\setkeys[pd]{global,glslide}} \AtBeginDocument{% - \disable@keys[pd]{global}{lf,rf,list,counters,theslide,thenote}% + \disable@keys[pd]{global}{% + lf,rf,theslide,thenote,enumerate,itemize,list,counters% + }% } -\def\pdsetup{\setkeys[pd]{global,glslide}} \define@cmdkeys[pd]{slide}[pd@@]{toc,bm} \def\pdifsetup#1{% \edef\pd@tempb{#1}% @@ -264,7 +318,9 @@ tocsecindent,tocslideindent,% lfhook,lfpos,lffont,lftemp,% rfhook,rfpos,rffont,rftemp,% - iacolor% + iacolor,% + clockhook,clockpos,clockwidth,clockheight,% + clockcharsize,clockalign,clockcolor% }\pd@tempb{\expandafter\pd@tempa\expandafter{\pd@tempb}} \define@cmdkey[pd]{template}[pd@@]{ifsetup}[]{% \pd@pdifsetup\pd@@ifsetup{landscape,portrait}% @@ -273,104 +329,263 @@ \pd@pdifsetup\pd@@ifsetup{present,print,handout}% \pd@pdifs@tup\pd@@ifsetup\pd@ifsetuptrue\pd@ifsetupfalse } +\define@choicekey*[pd]{template}{tocorient}[\pd@tempa\pd@tocorient]{% + v,h}{} +\define@choicekey*[pd]{template}{stocorient}[\pd@tempa\pd@stocorient]{% + v,h}{} +\define@choicekey*[pd]{template}{ntocorient}[\pd@tempa\pd@ntocorient]{% + v,h}{} \setkeys[pd]{template}{% ifsetup,% - titlehook=Bl,titlepos,titlewidth=\slidewidth,% - titlefont=\raggedright,texthook=lt,textpos,% + titlehook=Bl,titlepos=,titlewidth=\slidewidth,% + titlefont=\raggedright,texthook=tl,textpos=,% textwidth=\slidewidth,textfont=\raggedright,% textheight=\slideheight,% - tochook=lt,tocpos,tocwidth=.2\slidewidth,% + tochook=tl,tocpos=,tocwidth=.2\slidewidth,% tocfont=\tiny\raggedright,% - stochook=lt,stocpos,stocwidth=.2\slidewidth,% + stochook=tl,stocpos=,stocwidth=.2\slidewidth,% stocfont=\tiny\raggedright,% - ntochook=lt,ntocpos,ntocwidth=.2\slidewidth,% + ntochook=tl,ntocpos=,ntocwidth=.2\slidewidth,% ntocfont=\tiny\raggedright,% + tocorient=v,stocorient=v,ntocorient=v,% tocfrsep=.5mm,tocsecsep=2ex,tocslidesep=0ex,% - tocsecm,toctcolor=black,tochlcolor=black,tochltcolor=white,% + tocsecm=,toctcolor=black,tochlcolor=black,tochltcolor=white,% tocsecindent=0pt,tocslideindent=0pt,% - lfhook=lB,lfpos,lffont=\scriptsize,lftemp=\pd@@lf,% - rfhook=rB,rfpos,rffont=\scriptsize,rftemp=\pd@@rf\ifx\pd@@rf\@empty + lfhook=Bl,lfpos=,lffont=\scriptsize,lftemp=\pd@@lf,% + rfhook=Br,rfpos=,rffont=\scriptsize,rftemp=\pd@@rf\ifx\pd@@rf\@empty \else\ifx\theslide\@empty\else~--~\fi\fi\theslide,% - iacolor=lightgray% + iacolor=lightgray,% + clockhook=tr,clockpos=,clockwidth=3cm,clockheight=\baselineskip,% + clockcharsize=14pt,clockalign=2,clockcolor=black% +} +\def\pddefinepalettes#1#2{% + \ifx\pd@nopalettes\@undefined\@tempcnta\z@\else + \@tempcnta\pd@nopalettes + \fi + \pd@pddefinepalettes{#1}{#2}% +} +\def\pd@pddefinepalettes#1#2{% + \advance\@tempcnta\@ne + \@namedef{pd@pe@\the\@tempcnta @name}{#1}% + \@namedef{pd@pe@#1@colors}{#2}% + \@ifnextchar\bgroup\pd@pddefinepalettes{% + \edef\pd@nopalettes{\the\@tempcnta}% + }% +} +\def\pd@countcolors{% + \@tempcnta\@ne + \@whilesw\ifx\pd@nocolors\@undefined\fi{% + \XKV@ifundefined{\string\color@pdcolor\the\@tempcnta}{% + \advance\@tempcnta\m@ne + \edef\pd@nocolors{\the\@tempcnta}% + }{\advance\@tempcnta\@ne}% + }% +} +\AtBeginDocument{% + \ifx\pd@nopalettes\@undefined\else\ifx\pd@@palette\@undefined + \@nameuse{pd@pe@\@nameuse{pd@pe@1@name}@colors}% + \color{pdcolor1}% + \let\default@color\current@color + \let\pd@color\XC@current@color + \fi\fi + \ifnum\pd@mode=2 + \color{black}% + \def\pd@@iacolor{black}% + \let\default@color\current@color + \let\pd@color\XC@current@color + \else\pd@countcolors\fi } \def\pddefinetemplate{\@testopt\pd@pddefinetemplate{}} \def\pd@pddefinetemplate[#1]#2#3#4{% \@namedef{#2}{\pd@getargsandbody{#2}}% - \@namedef{end#2}{\pd@slide}% + \@namedef{end#2}{\ifpd@display\pd@slide\fi}% \ifx\@empty#1\@empty \@namedef{pd@template@#2@options}{\setkeys[pd]{template}{#3}}% \@namedef{pd@template@#2@bg}{#4}% \else \XKV@ifundefined{pd@template@#1@options}{% \pd@error{template `#1' undefined}}{% - \pd@namelet{pd@template@#2@options}{pd@template@#1@options}% - \expandafter - \XKV@addtomacro@n\csname pd@template@#2@options\endcsname - {\setkeys[pd]{template}{ifsetup,#3}}% - \pd@namelet{pd@template@#2@bg}{pd@template@#1@bg}\expandafter - \XKV@addtomacro@n\csname pd@template@#2@bg\endcsname{#4}% + \def\pd@tempa{#1}\def\pd@tempb{#2}% + \ifx\pd@tempa\pd@tempb + \pd@namelet{pd@template@#2@options}{pd@template@#1@options}% + \expandafter + \XKV@addtomacro@n\csname pd@template@#2@options\endcsname + {\setkeys[pd]{template}{ifsetup,#3}}% + \pd@namelet{pd@template@#2@bg}{pd@template@#1@bg}\expandafter + \XKV@addtomacro@n\csname pd@template@#2@bg\endcsname{#4}% + \else + \@namedef{pd@template@#2@bg}{\@nameuse{pd@template@#1@bg}#4}% + \@namedef{pd@template@#2@options}{% + \@nameuse{pd@template@#1@options}% + \setkeys[pd]{template}{ifsetup,#3}% + }% + \fi }% \fi } -\def\pd@namelet#1#2{% - \expandafter\let\csname#1\expandafter\endcsname\csname#2\endcsname -} \def\pd@getargsandbody#1{\@testopt{\pd@get@rgsandbody{#1}}{}} \def\pd@get@rgsandbody#1[#2]#3{% - \setkeys[pd]{glslide,slide}{#2}% - \def\pd@t@tle{#3}% - \pd@body{}% - \pd@get@rgs@ndbody{#1}% -} -\long\def\pd@get@rgs@ndbody#1#2\end#3{% - \def\pd@tempa{#1}% - \def\pd@tempb{#3}% - \ifx\pd@tempa\pd@tempb - \pd@body\expandafter{\the\pd@body#2}% - \def\pd@tempa{\end{#1}}% + \pd@get@rgs@ndbody{#2}{#3}% + \ifcase\ifnum\pd@method>\z@\ifpd@display\@ne\fi\fi\z@ + \pd@body{}% + \def\pd@tempa{\pd@get@rgs@ndb@dy{#1}}% \else - \pd@body\expandafter{\the\pd@body#2\end{#3}}% - \def\pd@tempa{\pd@get@rgs@ndbody{#1}}% + \ifnum\pd@method=\@ne + \def\pd@tempa{% + \immediate\openout\@inputcheck\jobname.vrb\relax + \def\verbatim@processline{% + \immediate\write\@inputcheck{\the\verbatim@line}% + }% + \begingroup\let\do\@makeother\dospecials\catcode`\^^M\active + \verbatim@start + }% + \@namedef{end#1}{% + \endgroup\immediate\closeout\@inputcheck + \let\verbatim@processline\pd@orig@verbatim@processline + \pd@slide + }% + \else + \pd@deloverlays + \let\pd@tempa\pd@sl@de + \@namedef{end#1}{% + \end{pd@minipage}\end{lrbox}% + \ifx\pd@@textpos\@empty\else + \rput[\pd@@texthook](\pd@@textpos){\usebox\pd@textbox}% + \fi + }% + \fi \fi \pd@tempa } -\def\pd@slide{% +\def\pd@get@rgs@ndbody#1#2{% + \setkeys[pd]{glslide,slide}{#1}% + \def\pd@t@tle{#2}% + \pd@displaytrue \def\pd@tempa{note}% - \let\pd@tempb\pd@sl@de \ifcase\pd@display - \ifx\@currenvir\pd@tempa\let\pd@tempb\relax\fi + \ifx\@currenvir\pd@tempa\relax\pd@displayfalse\fi \or \ifx\@currenvir\pd@tempa\else \def\pd@tempa{titleslide}% \ifx\@currenvir\pd@tempa\else - \let\pd@tempb\relax + \pd@displayfalse \stepcounter{slide}% \fi \fi \fi - \pd@tempb } -\def\pd@sl@de{% +\long\def\pd@get@rgs@ndb@dy#1#2\end#3{% + \def\pd@tempa{#1}% + \def\pd@tempb{#3}% + \ifx\pd@tempa\pd@tempb + \pd@body\expandafter{\the\pd@body#2}% + \def\pd@tempa{\end{#1}}% + \else + \pd@body\expandafter{\the\pd@body#2\end{#3}}% + \def\pd@tempa{\pd@get@rgs@ndb@dy{#1}}% + \fi + \pd@tempa +} +\def\pd@slide{% \pd@overlayfalse \def\pd@nooverlays{1}% \setcounter{pd@overlay}\@ne \let\pd@labels\@empty - \pd@savecounters - \pd@sl@d@ + \XKV@for@o\pd@@counters\pd@tempa{% + \expandafter\xdef\csname pd@counter@\pd@tempa\endcsname{% + \expandafter\the\csname c@\pd@tempa\endcsname + }% + }% + \pd@sl@de \@whilenum\c@pd@overlay<\pd@nooverlays\do{% \pd@overlaytrue - \pd@restorecounters + \XKV@for@o\pd@@counters\pd@tempa{% + \setcounter{\pd@tempa}{\csname pd@counter@\pd@tempa\endcsname}% + }% \stepcounter{pd@overlay}% - \pd@sl@d@ + \ifpd@@randomdots + \let\pd@trandim\pd@randim + \let\pd@tranpos\pd@ranpos + \let\pd@trancol\pd@rancol + \fi + \pd@sl@de }% } -\def\pd@sl@d@{% +\def\pd@sl@de{% \stepcounter{slide}\newpage \edef\@currentlabel{\the\c@slide}% \pst@Verb{InitOL /TheOL (0) def}% \pst@Verb{(0) BOL}% \@nameuse{pd@template@\@currenvir @options}% - {\@nameuse{pd@template@\@currenvir @bg}}% + \@nameuse{pd@template@\@currenvir @bg}% + \ifpd@@randomdots + \ifpd@overlay\else\ifnum\pd@nocolors>\z@ + \let\pd@randim\@empty + \let\pd@ranpos\@empty + \let\pd@rancol\@empty + \setrannum\pd@tempcnta\pd@@dmindots\pd@@dmaxdots + \edef\pd@nodots{\the\pd@tempcnta}% + \pd@tempcnta\z@ + \@whilesw\ifnum\pd@tempcnta<\pd@nodots\fi{% + \advance\pd@tempcnta\@ne + \setrandim\@tempdima\pd@@dminsize\pd@@dmaxsize + \XKV@addtolist@x\pd@randim{\the\@tempdima}% + \setrandim\@tempdima\pd@@dminwidth\pd@@dmaxwidth + \setrandim\@tempdimb\pd@@dminheight\pd@@dmaxheight + \XKV@addtolist@x\pd@ranpos{\the\@tempdima,\the\@tempdimb}% + \setrannum\@tempcntb1\pd@nocolors + \XKV@addtolist@x\pd@rancol{\the\@tempcntb}% + }% + \let\pd@trandim\pd@randim + \let\pd@tranpos\pd@ranpos + \let\pd@trancol\pd@rancol + \else\let\pd@nodots\z@\fi\fi + \@tempcnta\z@ + \@whilesw\ifnum\@tempcnta<\pd@nodots\fi{% + \advance\@tempcnta\@ne + \pd@pop\pd@trandim\pd@tempa\pd@pop\pd@tranpos\pd@tempb + \pd@pop\pd@tranpos\pd@tempc\pd@pop\pd@trancol\pd@tempd + \ifnum\pd@@dbright<\z@ + \@tempcntb\pd@@dbright + \advance\@tempcntb100 + \edef\pd@tempd{\pd@tempd!\the\@tempcntb!black}% + \else + \@tempcntb-\pd@@dbright + \advance\@tempcntb100 + \edef\pd@tempd{\pd@tempd!\the\@tempcntb}% + \fi + {\ifx\pd@@dprop\@empty\else + \expandafter\psset\expandafter{\pd@@dprop}% + \fi + \psdot[dotsize=\pd@tempa,linecolor=pdcolor\pd@tempd]% + (\pd@tempb,\pd@tempc)}% + }% + \fi + \ifx\pd@@logopos\@empty\else + \ifx\pd@logobox\@undefined\else + \rput[\pd@@logohook](\pd@@logopos){\usebox\pd@logobox}% + \fi + \fi + \ifpd@@clock + \ifnum\c@slide=\@ne + \rput(0,-1){% + \TextField[format=\pd@startclock,name=pdstartclock,% + bordercolor={},backgroundcolor={},height=0bp,width=0bp]{}% + }% + \fi + \def\pd@tempa##1,##2,##3\@nil{##1 ##2 ##3}% + \extractcolorspec\pd@@clockcolor\pd@tempb + \expandafter\convertcolorspec\pd@tempb{rgb}\pd@tempb + \edef\pd@tempa{\expandafter\pd@tempa\pd@tempb\@nil}% + \ifx\pd@@clockpos\@empty\else + \rput[\pd@@clockhook](\pd@@clockpos){% + \TextField[name=pdclock.time,bordercolor=\pd@clockrot,% + backgroundcolor={},align=\pd@@clockalign,color=\pd@tempa,% + charsize=\pd@@clockcharsize,width=\pd@@clockwidth,% + height=\pd@@clockheight]{}% + }% + \fi + \fi \pd@pdftrans \ifpd@overlay \addtocounter{slide}\m@ne @@ -409,23 +624,29 @@ \fi \ifx\pd@@tocpos\@empty\else \rput[\pd@@tochook](\pd@@tocpos){% - \begin{minipage}\pd@@tocwidth - \let\pd@usedtocfont\pd@@tocfont\pd@puttoc0% - \end{minipage}% + \ifnum\pd@tocorient=\z@\begin{minipage}\pd@@tocwidth\fi + \let\pd@usedtocfont\pd@@tocfont + \let\pd@usedtocorient\pd@tocorient + \pd@puttoc0% + \ifnum\pd@usedtocorient=\z@\end{minipage}\fi }% \fi \ifx\pd@@stocpos\@empty\else \rput[\pd@@stochook](\pd@@stocpos){% - \begin{minipage}\pd@@stocwidth - \let\pd@usedtocfont\pd@@stocfont\pd@puttoc1% - \end{minipage}% + \ifnum\pd@stocorient=\z@\begin{minipage}\pd@@tocwidth\fi + \let\pd@usedtocfont\pd@@stocfont + \let\pd@usedtocorient\pd@stocorient + \pd@puttoc1% + \ifnum\pd@usedtocorient=\z@\end{minipage}\fi }% \fi \ifx\pd@@ntocpos\@empty\else \rput[\pd@@ntochook](\pd@@ntocpos){% - \begin{minipage}\pd@@ntocwidth - \let\pd@usedtocfont\pd@@ntocfont\pd@puttoc2% - \end{minipage}% + \ifnum\pd@ntocorient=\z@\begin{minipage}\pd@@tocwidth\fi + \let\pd@usedtocfont\pd@@ntocfont + \let\pd@usedtocorient\pd@ntocorient + \pd@puttoc2% + \ifnum\pd@usedtocorient=\z@\end{minipage}\fi }% \fi \ifx\pd@@lfpos\@empty\else @@ -434,56 +655,28 @@ \ifx\pd@@rfpos\@empty\else \rput[\pd@@rfhook](\pd@@rfpos){\pd@@rffont\pd@@rftemp}% \fi - \ifx\pd@@textpos\@empty\else - \rput[\pd@@texthook](\pd@@textpos){% - \begin{pd@minipage}% - \pd@@textfont\the\pd@body - \end{pd@minipage}% - }% - \fi -} -\def\pd@minipage{% - \leavevmode - \@pboxswfalse - \setlength\@tempdima\pd@@textwidth - \def\@mpargs{{t}{\pd@@textheight}[t]{\pd@@textwidth}}% - \setbox\@tempboxa\vbox\bgroup - \color@begingroup - \hsize\@tempdima - \textwidth\hsize - \columnwidth\hsize - \@parboxrestore - \let\@footnotetext\@mpfootnotetext - \let\@listdepth\@mplistdepth - \@mplistdepth\z@ - \@minipagerestore - \@setminipage -} -\def\endpd@minipage{% - \par - \unskip - \ifvoid\@mpfootins\else - \vfill - \normalcolor - \footnoterule - \unvbox\@mpfootins + \ifnum\pd@method<2 + \ifx\pd@@textpos\@empty\else + \rput[\pd@@texthook](\pd@@textpos){% + \pd@sl@d@ + \ifnum\pd@method=\z@\the\pd@body\else + \input \jobname.vrb + \fi + \end{pd@minipage}% + }% \fi - \@minipagefalse - \color@endgroup - \egroup - \expandafter\@iiiparbox\@mpargs{\unvbox\@tempboxa}% -} -\def\pd@savecounters{% - \XKV@for@o\pd@@counters\pd@tempa{% - \expandafter\xdef\csname pd@counter@\pd@tempa\endcsname{% - \expandafter\the\csname c@\pd@tempa\endcsname - }% - }% + \let\pd@tempa\relax + \else + \def\pd@tempa{\begin{lrbox}\pd@textbox\pd@sl@d@}% + \fi + \pd@tempa } -\def\pd@restorecounters{% - \XKV@for@o\pd@@counters\pd@tempa{% - \setcounter{\pd@tempa}{\csname pd@counter@\pd@tempa\endcsname}% - }% +\def\pd@sl@d@{% + \begin{pd@minipage}% + \let\pd@tempa\color + \def\color##1{\pd@tempa{##1}\let\default@color\current@color}% + \pd@@textfont + \let\color\pd@tempa } \def\pd@notet{0} \pddefinetemplate{note}{% @@ -520,8 +713,9 @@ } \pddefinetemplate{emptyslide}{textpos={0,\slideheight}}{} \let\pd@orig@maketitle\maketitle -\def\maketitle{% - \begin{titleslide}[toc=,bm=,trans=Replace]{}% +\def\maketitle{\@testopt\pd@maketitle{}} +\def\pd@maketitle[#1]{% + \begin{titleslide}[#1,toc=,bm=,trans=Replace]{}% \let\footnote\thanks \def\thefootnote{\@fnsymbol\c@footnote}% {\pd@title{\pd@@titlefont\@title}\par}{% @@ -681,7 +875,11 @@ \ifx\pd@tempa\relax\else \if@tempswa\@tempswafalse\else \pd@usedtocfont - \ifnum#1=\z@\vskip\pd@@tocslidesep\else\vskip\pd@@tocsecsep\fi + \ifnum\pd@usedtocorient=\z@ + \ifnum#1=\z@\vskip\pd@@tocslidesep\else\vskip\pd@@tocsecsep\fi + \else + \ifnum#1=\z@\hskip\pd@@tocslidesep\else\hskip\pd@@tocsecsep\fi + \fi \fi \ifnum#1=\z@\else\pd@@tocsecm\fi \ifcase\pd@toctype @@ -702,13 +900,13 @@ \advance\@tempdimb-\pd@@tocsecindent \hyperlink{slide.#2}{\pd@tempa{\pd@tocsection{#3}}}% \fi - \par + \ifnum\pd@usedtocorient=\z@\par\fi \fi } \define@choicekey[pd]{toc}{content}[\pd@tempa\pd@content]{% - all,sections,currentsection,future,futuresections}[all]{} -\define@choicekey[pd]{toc}{type}[\pd@tempa\pd@type]{0,1}[0]{} -\presetkeys[pd]{toc}{content,type}{} + all,sections,currentsection,future,futuresections}{} +\define@choicekey[pd]{toc}{type}[\pd@tempa\pd@type]{0,1}{} +\presetkeys[pd]{toc}{content=all,type=0}{} \def\tableofcontents{\@testopt\pd@tableofcontents{}} \def\pd@tableofcontents[#1]{% \begingroup @@ -760,9 +958,9 @@ \endgroup } \define@choicekey*[pd]{section}{tocsection}[\pd@tempa\pd@tempb]{% - false,true,hidden}[true]{} + false,true,hidden}{} \define@boolkey[pd]{section}[pd@@]{slide}[true]{} -\define@cmdkey[pd]{section}[pd@@]{template}[slide]{% +\define@cmdkey[pd]{section}[pd@@]{template}{% \def\pd@tempa{slide}% \ifx\pd@@template\pd@tempa \let\pd@@template\pd@@sectemp @@ -773,9 +971,9 @@ \fi \fi } -\presetkeys[pd]{section}{tocsection,slide,template}{} -\define@cmdkeys[pd]{section}[pd@@]{sectemp,widesectemp}[slide] -\setkeys[pd]{section}{sectemp,widesectemp} +\presetkeys[pd]{section}{tocsection=true,slide=true,template=slide}{} +\define@cmdkeys[pd]{section}[pd@@]{sectemp,widesectemp} +\setkeys[pd]{section}{sectemp=slide,widesectemp=slide} \AtBeginDocument{\disable@keys[pd]{section}{sectemp,widesectemp}} \let\pd@orig@section\section \def\section{\@testopt\pd@section{}} @@ -815,8 +1013,9 @@ \fi \endgroup } -\def\onslide{\XKV@ifstar{\pd@onslide1}{% - \XKV@ifplus{\pd@onslide2}{\pd@onslide0}}% +\def\onslide{% + \@ifnextchar-\pd@@nslide{\XKV@ifstar{\pd@onslide1}{% + \XKV@ifplus{\pd@onslide2}{\pd@onslide0}}}% } \def\pd@onslide#1#2{% \pd@testdisp0{#2}% @@ -955,8 +1154,15 @@ \global\let\pd@revert\@gobble \ignorespaces } -\define@cmdkey{enumitem}[pd@@]{type}[0]{} -\def\pd@@type{0} +\def\pd@deloverlays{% + \def\pd@hide##1{}% + \def\pd@onslide##1##2{\@firstofone}% + \let\@trivlist\pd@orig@@trivlist + \let\endtrivlist\pd@orig@endtrivlist + \def\pd@item[##1]<##2>{\pd@orig@item[##1]\leavevmode\ignorespaces}% +} +\define@cmdkey{enumitem}[pd@@]{type}{} +\setkeys{enumitem}{type=0} \def\pd@pdftrans{% \@expandtwoargs\in@{,\pd@@trans,}{% ,Split,Blinds,Box,Wipe,Dissolve,Glitter,% @@ -975,15 +1181,16 @@ \define@cmdkeys[pd]{twocolumn}[pd@@]{% lineheight,lfrheight,rfrheight,lcolwidth,rcolwidth,% topsep,bottomsep,indent,lineprop,lfrprop,rfrprop% -}[] +} \define@key[pd]{twocolumn}{colsep}{\setlength\pd@colsep{#1}} \define@key[pd]{twocolumn}{frsep}{\setlength\pd@frsep{#1}} \presetkeys[pd]{twocolumn}{frsep=1.5mm,colsep=.06\linewidth,% lcolwidth=.47\linewidth,rcolwidth=.47\linewidth,topsep=0cm,% - bottomsep=0cm,indent=0cm,lineprop,lfrprop,rfrprop% + bottomsep=0cm,indent=0cm,lineprop=,lfrprop=,rfrprop=,% + lineheight=,lfrheight=,rfrheight=% }{} -\def\pd@maxdim#1#2{\ifdim#1>#2#1\else#2\fi} -\long\def\twocolumn#1#2#3{% +\def\twocolumn{\@testopt\pd@twocolumn{}} +\long\def\pd@twocolumn[#1]#2#3{% \setkeys[pd]{twocolumn}{#1}% \sbox\pd@tba{\begin{minipage}\pd@@lcolwidth#2\end{minipage}}% \setlength\@tempdima{\the\ht\pd@tba}% @@ -992,27 +1199,27 @@ \setlength\@tempdimb{\the\ht\pd@tbb}% \addtolength\@tempdimb{\the\dp\pd@tbb}% \setlength\@tempdimc{\pd@maxdim\@tempdima\@tempdimb}% - \ifx\pd@@lfrheight\@undefined\else + \ifx\pd@@lfrheight\@empty\else \setlength\@tempdimc{\pd@maxdim\pd@@lfrheight\@tempdimc}% \fi - \ifx\pd@@lineheight\@undefined\else + \ifx\pd@@lineheight\@empty\else \setlength\@tempdimc{\pd@maxdim\pd@@lineheight\@tempdimc}% \fi - \ifx\pd@@rfrheight\@undefined\else + \ifx\pd@@rfrheight\@empty\else \setlength\@tempdimc{\pd@maxdim\pd@@rfrheight\@tempdimc}% \fi \begin{pspicture}(-\pd@@indent,\pd@@topsep)(\linewidth,-\@tempdimc)% \psset{linewidth=.25pt,linecolor=\pd@color}% \setlength\@tempdima\pd@@lcolwidth \addtolength\@tempdima\pd@frsep - \ifx\pd@@lfrheight\@undefined\else + \ifx\pd@@lfrheight\@empty\else \expandafter\psframe\expandafter[\pd@@lfrprop]% (-\pd@frsep,\pd@frsep)(\@tempdima,-\pd@@lfrheight)% \fi \rput[tl](0,0){\usebox\pd@tba}% \setlength\@tempdima\pd@@lcolwidth \addtolength\@tempdima{.5\pd@colsep}% - \ifx\pd@@lineheight\@undefined\else + \ifx\pd@@lineheight\@empty\else \expandafter\psline\expandafter[\pd@@lineprop]% (\@tempdima,\pd@frsep)(\@tempdima,-\pd@@lineheight)% \fi @@ -1022,13 +1229,21 @@ \setlength\@tempdimb\@tempdima \addtolength\@tempdimb\pd@@rcolwidth \addtolength\@tempdimb{2\pd@frsep}% - \ifx\pd@@rfrheight\@undefined\else + \ifx\pd@@rfrheight\@empty\else \expandafter\psframe\expandafter[\pd@@rfrprop]% (\@tempdima,\pd@frsep)(\@tempdimb,-\pd@@rfrheight)% \fi \rput[tl](\@tempdimc,0){\usebox\pd@tbb}% \end{pspicture}\par } +\renewenvironment{figure}[1][]{% + \def\@captype{figure}% + \par\begin{center}% +}{\par\end{center}} +\renewenvironment{table}[1][]{% + \def\@captype{table}% + \par\begin{center}% +}{\par\end{center}} \renewenvironment{thebibliography}[1]{% \list{\@biblabel{\@arabic\c@enumiv}}{% \settowidth\labelwidth{\@biblabel{#1}}% @@ -1051,15 +1266,67 @@ } \def\pddefinelyxtemplate#1#2{\def#1{\pd@lyxgetargsandbody{#2}}} \def\pd@lyxgetargsandbody#1{\@testopt{\pd@lyxget@rgsandbody{#1}}{}} -\long\def\pd@lyxget@rgsandbody#1[#2]#3#4\lyxend{% +\def\pd@lyxget@rgsandbody#1[#2]#3{% \begingroup - \def\@currenvir{#1}% - \setkeys[pd]{glslide,slide}{#2}% - \def\pd@t@tle{#3}% - \pd@body{#4}% - \pd@slide + \def\@currenvir{#1}% + \pd@get@rgs@ndbody{#2}{#3}% + \ifcase\ifnum\pd@method>\z@\ifpd@display\@ne\fi\fi\z@ + \let\pd@tempa\pd@lyxget@rgs@ndbody + \else + \ifnum\pd@method=\@ne + \def\pd@tempa{% + \immediate\openout\@inputcheck\jobname.vrb\relax + \def\verbatim@processline{% + \pd@lyxget@rgs@ndb@dy + \ifin@ + \def\pd@tempa########1########2########3########4{}% + \def\next{% + \endgroup\immediate\closeout\@inputcheck + \let\verbatim@processline\pd@orig@verbatim@processline + \pd@slide\endgroup + \immediate\openout\@inputcheck\jobname.vrb\relax + \immediate\write\@inputcheck{\pd@lyxrem}% + \immediate\closeout\@inputcheck + \immediate\openin\@inputcheck\jobname.vrb\relax + \immediate\read\@inputcheck to\pd@tempa + \immediate\closein\@inputcheck\pd@tempa + }% + \else + \immediate\write\@inputcheck{\the\verbatim@line}% + \let\pd@tempa\relax + \fi + \pd@tempa + }% + \begingroup\let\do\@makeother\dospecials\catcode`\^^M\active + \verbatim@start + }% + \else + \pd@deloverlays + \let\pd@tempa\pd@sl@de + \def\lyxend{% + \end{pd@minipage}\end{lrbox}% + \ifx\pd@@textpos\@empty\else + \rput[\pd@@texthook](\pd@@textpos){\usebox\pd@textbox}% + \fi + \endgroup + }% + \fi + \fi + \pd@tempa +} +\long\def\pd@lyxget@rgs@ndbody#1\lyxend{% + \pd@body{#1}% + \ifpd@display\pd@slide\fi \endgroup } +\begingroup\lccode`\!`\\\lowercase{\endgroup +\def\pd@lyxget@rgs@ndb@dy{% + \@expandtwoargs\in@{!lyxend}{\the\verbatim@line}% + \ifin@\expandafter\pd@lyxget@rgs@ndb@d@\the\verbatim@line\@nil\fi +} +\def\pd@lyxget@rgs@ndb@d@#1!lyxend#2\@nil{% + \ifx\@empty#1\@empty\gdef\pd@lyxrem{#2}\else\in@false\fi +}} \def\lyxend{} \pddefinelyxtemplate\lyxnote{note} \pddefinelyxtemplate\lyxslide{slide} @@ -1087,14 +1354,7 @@ #1{#2}% \fi } -\else - \def\pd@hide#1{} - \let\pd@pdftrans\relax - \def\pd@onslide#1#2{\@firstofone} - \let\@trivlist\pd@orig@@trivlist - \let\endtrivlist\pd@orig@endtrivlist - \def\pd@item[#1]<#2>{\pd@orig@item[#1]\leavevmode\ignorespaces} -\fi +\else\pd@deloverlays\let\pd@pdftrans\relax\fi \ifnum\pd@mode=2 \def\pd@n@wpage{% \gdef\pd@newpage{% @@ -1103,40 +1363,52 @@ }% } \let\pd@newpage\pd@n@wpage -\def\pd@sl@de{% +\def\pd@get@rgsandbody#1[#2]#3{% + \setkeys[pd]{glslide,slide}{#2}% + \def\pd@t@tle{#3}% \def\pd@tempa{note}% - \ifx\@currenvir\pd@tempa\let\pd@tempb\relax\else + \let\pd@resa\@currenvir + \pd@displaytrue + \ifcase\pd@display + \ifx\pd@resa\pd@tempa\relax\pd@displayfalse\fi + \or + \ifx\pd@resa\pd@tempa\else\pd@displayfalse\fi + \fi + \ifx\pd@resa\pd@tempa\else \stepcounter{slide}% \edef\@currentlabel{\the\c@slide}% \let\pd@tempb\@empty \pd@maketocbm0% \hyper@anchorstart{slide.\the\c@slide}\hyper@anchorend \fi - \begin{minipage}\linewidth - \psframebox[framesep=7pt,linewidth=1pt]{% + \begin{lrbox}\pd@textbox \@tempdima\linewidth \advance\@tempdima-16pt \begin{minipage}\@tempdima - \subsection*{\pd@t@tle}% - \the\pd@body - \end{minipage}% - }% - \par\smallskip - \pd@@lf\hfill\ifx\pd@@rf\@empty\else\pd@@rf~--~\fi - \ifx\pd@tempb\relax - \ifnum\c@slide=\pd@notet - \stepcounter{note}% - \else - \setcounter{note}{1}% - \fi - \xdef\pd@notet{\the\c@slide}% - \thenote - \else\theslide\fi - \end{minipage}% - \par\bigskip - \ifpd@@nopagebreaks\else\vfill\pd@newpage\fi -} -\def\maketitle{% + \subsection*\pd@t@tle + \pd@displaytrue\raggedright +} +\def\pd@slide{% + \par\smallskip + \pd@@lf\hfill\ifx\pd@@rf\@empty\else\pd@@rf~--~\fi + \def\pd@tempa{note}% + \ifx\pd@resa\pd@tempa + \ifnum\c@slide=\pd@notet + \stepcounter{note}% + \else + \setcounter{note}{1}% + \fi + \xdef\pd@notet{\the\c@slide}% + \thenote + \else\theslide\fi + \end{minipage}\end{lrbox}% + \ifpd@display + \psframebox[framesep=7pt,linewidth=1pt]{\usebox\pd@textbox}% + \par\bigskip + \ifpd@@nopagebreaks\else\vfill\pd@newpage\fi + \fi +} +\def\pd@maketitle[#1]{% \pd@orig@maketitle \vskip50pt \pd@puttoc0% @@ -1179,6 +1451,55 @@ \endgroup } \fi +\def\@nameedef#1{\expandafter\edef\csname#1\endcsname} +\def\pd@namelet#1#2{% + \expandafter\let\csname#1\expandafter\endcsname\csname#2\endcsname +} +\def\pd@pop#1#2{% + \@expandtwoargs\in@{,}{#1}% + \ifin@\expandafter\pd@p@p#1\@nil#2#1\else\let#2#1\let#1\@empty\fi +} +\def\pd@p@p#1,#2\@nil#3#4{\def#3{#1}\def#4{#2}} +\def\pd@maxdim#1#2{\ifdim#1>#2#1\else#2\fi} +\def\pd@minipage{% + \leavevmode + \@pboxswfalse + \setlength\@tempdima\pd@@textwidth + \def\@mpargs{{t}{\pd@@textheight}[t]{\pd@@textwidth}}% + \setbox\@tempboxa\vbox\bgroup + \color@begingroup + \hsize\@tempdima + \textwidth\hsize + \columnwidth\hsize + \@parboxrestore + \let\@footnotetext\@mpfootnotetext + \let\@listdepth\@mplistdepth + \@mplistdepth\z@ + \@minipagerestore + \@setminipage +} +\def\endpd@minipage{% + \par + \unskip + \ifvoid\@mpfootins\else + \vfill + \normalcolor + \footnoterule + \unvbox\@mpfootins + \fi + \@minipagefalse + \color@endgroup + \egroup + \expandafter\@iiiparbox\@mpargs{\unvbox\@tempboxa}% +} +\let\pd@orig@verbatim@processline\verbatim@processline +\def\psds@ocircle{\pst@gdot{ 0 0 DS 0 360 arc stroke }} +\def\psds@osquare{% + \pst@gdot{ + DS .886 mul /r ED + r r moveto r r neg L r neg r neg L r neg r L + closepath stroke }% +} \IfFileExists{powerdot-\pd@@style.sty}{ \RequirePackage{powerdot-\pd@@style} }{ @@ -1216,7 +1537,6 @@ \fi \ifx\pd@tocslide\@undefined\let\pd@tocslide\@firstofone\fi \ifx\pd@tocsection\@undefined\let\pd@tocsection\@firstofone\fi -\ifnum\pd@mode=2\color{black}\def\pd@@iacolor{black}\fi \endinput %% %% End of file `powerdot.cls'. |