diff options
author | Karl Berry <karl@freefriends.org> | 2010-12-03 23:42:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-12-03 23:42:48 +0000 |
commit | 7ced98c04c5068e8609ca2c6b36f6ad6131ba855 (patch) | |
tree | 7bcd5fb3d7a6f93cd9396248498028e445ed9c1d /Master/texmf-dist/tex/latex/powerdot/powerdot.cls | |
parent | 9d3d961f82ab9992d487324b372451c0dc289ce8 (diff) |
powerdot, now dtx-less (3dec10)
git-svn-id: svn://tug.org/texlive/trunk@20649 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/powerdot/powerdot.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/powerdot/powerdot.cls | 43 |
1 files changed, 19 insertions, 24 deletions
diff --git a/Master/texmf-dist/tex/latex/powerdot/powerdot.cls b/Master/texmf-dist/tex/latex/powerdot/powerdot.cls index a5976f8c826..8b7f17378e1 100644 --- a/Master/texmf-dist/tex/latex/powerdot/powerdot.cls +++ b/Master/texmf-dist/tex/latex/powerdot/powerdot.cls @@ -1,16 +1,11 @@ %% %% This is file `powerdot.cls', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% powerdot.dtx (with options: `powerdot') %% %% --------------------------------------------------------------- %% Copyright (C) 2005-2010 Hendri Adriaens and Christopher Ellison %% --------------------------------------------------------------- %% -%% Version 1.4a prepared by Herbert Voss +%% Version 1.4d prepared by Herbert Voss %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -20,15 +15,10 @@ %% 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. +%% This work has the LPPL maintenance status "unmaintained". %% \NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesClass{powerdot} - [2010/10/07 v1.4a powerdot presentation class (HA,CE)] +\ProvidesClass{powerdot}[2010/12/03 v1.4d powerdot presentation class (HA,CE)] \newif\ifpd@overlay \newif\ifpd@section \newif\ifpd@ifsetup @@ -354,7 +344,7 @@ tocsecm=,toctcolor=black,tochlcolor=black,tochltcolor=white,% tocsecindent=0pt,tocslideindent=0pt,% lfhook=Bl,lfpos=,lffont=\scriptsize,lftemp=\pd@@lf,% - cfhook=B,cfpos=,cffont=\scriptsize,cftemp=\pd@@cf,% + cfhook=Bc,cfpos=,cffont=\scriptsize,cftemp=\pd@@cf,% rfhook=Br,rfpos=,rffont=\scriptsize,rftemp=\pd@@rf\ifx\pd@@rf \@empty\else\ifx\theslide\@empty\else\ -- \fi\fi\theslide,% iacolor=lightgray,% @@ -1124,12 +1114,14 @@ \ifx\@empty#2\@empty\else \def\pd@closeitem{\gdef\pd@currentstate{0}}% \fi - \pd@orig@item[#1]\leavevmode\ignorespaces + \pd@orig@item[#1]%\relax\leavevmode\ignorespaces + %% without \relax a trailing space is introduced in a trivlist environment + %% but we do not know what the then missing \leavevmode\ignorespaces may introduce + \leavevmode\ignorespaces% } \let\pd@orig@@trivlist\@trivlist \def\@trivlist{% - \global\expandafter\let\csname pd@currentstate\the\c@pd@trivlist - \endcsname\pd@currentstate + \global\expandafter\let\csname pd@currentstate\the\c@pd@trivlist\endcsname\pd@currentstate \ifnum\pd@@type=\z@\let\pd@closeitem\relax\fi \stepcounter{pd@trivlist}% \pd@orig@@trivlist @@ -1190,15 +1182,15 @@ }% } \define@cmdkeys[pd]{twocolumn}[pd@@]{% - lineheight,lfrheight,rfrheight,lcolwidth,rcolwidth,% - topsep,bottomsep,indent,lineprop,lfrprop,rfrprop% + lineheight,lfrheight,cfrheight,rfrheight,lcolwidth,rcolwidth,% + topsep,bottomsep,indent,lineprop,lfrprop,rfrprop,cfrprop% } \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=,% - lineheight=,lfrheight=,rfrheight=% + bottomsep=0cm,indent=0cm,lineprop=,lfrprop=,rfrprop=,cfrprop=,% + lineheight=,lfrheight=,rfrheight=,cfrheight=% }{} \def\twocolumn{\@testopt\pd@twocolumn{}} \long\def\pd@twocolumn[#1]#2#3{% @@ -1213,12 +1205,15 @@ \ifx\pd@@lfrheight\@empty\else \setlength\@tempdimc{\pd@maxdim\pd@@lfrheight\@tempdimc}% \fi - \ifx\pd@@lineheight\@empty\else - \setlength\@tempdimc{\pd@maxdim\pd@@lineheight\@tempdimc}% + \ifx\pd@@cfrheight\@empty\else + \setlength\@tempdimc{\pd@maxdim\pd@@cfrheight\@tempdimc}% \fi \ifx\pd@@rfrheight\@empty\else \setlength\@tempdimc{\pd@maxdim\pd@@rfrheight\@tempdimc}% \fi + \ifx\pd@@lineheight\@empty\else + \setlength\@tempdimc{\pd@maxdim\pd@@lineheight\@tempdimc}% + \fi \begin{pspicture}(-\pd@@indent,\pd@@topsep)(\linewidth,-\@tempdimc)% \psset{linewidth=.25pt,linecolor=\pd@color}% \setlength\@tempdima\pd@@lcolwidth @@ -1406,7 +1401,7 @@ \ifpd@display \psframebox[framesep=7pt,linewidth=1pt]{\usebox\pd@textbox}% \par\smallskip - \pd@@lf\hfill\ifx\pd@@rf\@empty\else\pd@@rf\ -- \fi + \pd@@lf\hfill\pd@@cf\hfill\ifx\pd@@rf\@empty\else\pd@@rf\ -- \fi \def\pd@tempa{note}% \ifx\pd@resa\pd@tempa \ifnum\c@slide=\pd@notet |