diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/powerdot/powerdot-ciment.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/powerdot/powerdot-ciment.sty | 79 |
1 files changed, 41 insertions, 38 deletions
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 %% |