diff options
author | Karl Berry <karl@freefriends.org> | 2007-01-23 00:06:50 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-01-23 00:06:50 +0000 |
commit | 4dfd4196f087d3f944dacc758d0a7aec9c73d4fc (patch) | |
tree | 5f691599c7c2876c1f03103b9ac5c54568819a64 | |
parent | 8027c99f372cc214604cb68dc9ed0e2643a634a0 (diff) |
peterw duplicated in ltxmisc now
git-svn-id: svn://tug.org/texlive/trunk@3697 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/tex/latex/peterw/ifmtarg.sty | 66 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/peterw/midpage.sty | 23 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/peterw/nextpage.sty | 54 | ||||
-rw-r--r-- | Master/texmf-dist/tpm/peterw.tpm | 24 | ||||
-rw-r--r-- | Master/texmf/tpm/collection-latexextra.tpm | 1 |
5 files changed, 0 insertions, 168 deletions
diff --git a/Master/texmf-dist/tex/latex/peterw/ifmtarg.sty b/Master/texmf-dist/tex/latex/peterw/ifmtarg.sty deleted file mode 100644 index 1c489af34c2..00000000000 --- a/Master/texmf-dist/tex/latex/peterw/ifmtarg.sty +++ /dev/null @@ -1,66 +0,0 @@ -% ifmtarg.sty -% -% Provides an if-then-else command for an empty macro argument -% (empty = zero or more spaces only) -% Use as \@ifmtarg{arg1}{Code for arg1 empty}{Code for arg1 not empty} -% -% author: Peter Wilson (CUA) -% (now at peter.r.wilson@boeing.com) -% Copyright Peter Wilson, 1996 -% Copyright Peter Wilson and Donald Arseneau, 2000 -% Released under the LaTeX Project Public License -% -% -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{ifmtarg}[2000/03/24 v1.2 check for an empty argument] - -%% Commands by Donald Arseneau -\begingroup -\catcode`\Q=3 -\long\gdef\@ifmtarg#1{\@xifmtarg#1QQ\@secondoftwo\@firstoftwo\@nil} -\long\gdef\@xifmtarg#1#2Q#3#4#5\@nil{#4} -\long\gdef\@ifnotmtarg#1{\@xifmtarg#1QQ\@firstofone\@gobble\@nil} -\endgroup - -\endinput - -% -% The \@ifmtarg command takes 3 arguments and \@ifnotmtarg takes 2 arguments. -% \@ifnotmtarg is slightly more efficient when code is only required -% for a non-empty argument. -% -% Example usages: -% \newcommand{\isempty}{1]{% -% \@ifmtarg{#1}{\typeout{YES}}{\typeout{NO}}} -% -% \isempty{} -> YES -% \isempty{ } -> YES -% \isempty{E} -> NO -% \isempty{ E } -> NO -% -% \newcommand{\isnotempty}[1]{% -% \@ifnotmtarg{#1}{\typeout{YES}}} -% -% \isnotempty{} -> -% \isnotempty{ } -> -% \isnotempty{E} -> YES -% \isnotempty{ E } -> YES -% -% In an Email to me on 13 March 2000, Donald Arseneau pointed out some -% failings with my original definition of the \@ifmtarg command: -% \newcommand{\@ifmtarg}[3]{% -% \edef\@mtarg{\zap@space#1 \@empty}% -% \ifx\@empty\@mtarg\relax #2\else #3\fi} -% -% It works most of the time correctly but Donald showed that it can -% give unexpected results -% under conditions that I had not thought of. He suggested the coding -% that now appears in the package above for the \@ifmtarg and -% \@ifnotmtarg commands. For a discussion on detecting empty arguments -% see CTAN/info/aro-bend/answer.002 -% -% Peter W. -% - - - diff --git a/Master/texmf-dist/tex/latex/peterw/midpage.sty b/Master/texmf-dist/tex/latex/peterw/midpage.sty deleted file mode 100644 index b39f667a5d6..00000000000 --- a/Master/texmf-dist/tex/latex/peterw/midpage.sty +++ /dev/null @@ -1,23 +0,0 @@ -% midpage.sty -% -% Provides a midpage environment for vertical centering -% -% author: Peter Wilson (CUA) -% (now at peter.r.wilson@boeing.com) -% Copyright 1996 -% Released under the LaTeX Project Public License -% -% -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{midpage}[2000/02/20 v1.1 vertical centering] -\newenvironment{midpage}{\vspace*{\fill}}{\vspace*{\fill}} - -\endinput - -% Example use: -% \clearpage -% \begin{midpage} -% Vertically Centered Title -% \end{midpage} -% \clearpage -% diff --git a/Master/texmf-dist/tex/latex/peterw/nextpage.sty b/Master/texmf-dist/tex/latex/peterw/nextpage.sty deleted file mode 100644 index cb94cfa7e3a..00000000000 --- a/Master/texmf-dist/tex/latex/peterw/nextpage.sty +++ /dev/null @@ -1,54 +0,0 @@ -% nextpage.sty -% -% Provides additional \clear...page commands -% -% author: Peter Wilson (CUA) -% (now at peter.r.wilson@boeing.com) -% Copyright 1996 -% Released under the LaTeX Project Public License -% -% -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{nextpage}[2000/02/20 v1.1 additional page commands] - -% clear to next page is: -% \clearpage - -% clear to next even numbered page, -% putting optional arg on skipped page, if any -\newcommand{\cleartoevenpage}[1][\@empty]{% - \clearpage% - \ifodd\c@page\hbox{}#1\clearpage\fi} - -% move to next page without flushing floats is: -% \newpage - -% move to next even numbered page without flushing floats, -% putting optional arg on skipped page, if any -\newcommand{\movetoevenpage}[1][\@empty]{% - \newpage% - \ifodd\c@page\hbox{}#1\newpage\fi} - -% clear to next odd numbered page, -% putting optional arg on skipped page, if any -\newcommand{\cleartooddpage}[1][\@empty]{% - \clearpage% - \ifodd\c@page\else\hbox{}#1\clearpage\fi} - -% move to next odd numbered page without flushing floats, -% putting optional arg on skipped page, if any -\newcommand{\movetooddpage}[1][\@empty]{% - \newpage% - \ifodd\c@page\else\hbox{}#1\newpage\fi} - -\endinput - -% NOTE: If used with the epigraph package, -% then nextpage.sty must be loaded first. -% Example uses: -% \cleartooddpage % same as \cleardouble page -% \cleartooddpage[\thispagestyle{empty}] % No headings on the skipped page -% \cleartoevenpage % go to next even numbered page -% Next example puts text on a skipped page -% \cleartoevenpage[\vspace*{\hfill}THIS PAGE LEFT BLANK\vspace*{\hfill}] -% diff --git a/Master/texmf-dist/tpm/peterw.tpm b/Master/texmf-dist/tpm/peterw.tpm deleted file mode 100644 index 0dae8fa4450..00000000000 --- a/Master/texmf-dist/tpm/peterw.tpm +++ /dev/null @@ -1,24 +0,0 @@ -<!DOCTYPE rdf:RDF SYSTEM "../../support/tpm.dtd"> -<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:TPM="http://texlive.dante.de/"> - <rdf:Description about="http://texlive.dante.de/texlive/Package/peterw.zip"> - <TPM:Name>peterw</TPM:Name> - <TPM:Type>Package</TPM:Type> - <TPM:Date>1970/01/01 00:00:00</TPM:Date> - <TPM:Version>1.0</TPM:Version> - <TPM:Creator>rahtz</TPM:Creator> - <TPM:Title>Peter Wilson packages</TPM:Title> - <TPM:Description>Some small LaTeX packages by Peter Wilson</TPM:Description> - <TPM:Author></TPM:Author> - <TPM:Size>4952</TPM:Size> - <TPM:License></TPM:License> - <TPM:Build/> - <TPM:RunFiles size="4952"> -texmf-dist/tex/latex/peterw/ifmtarg.sty -texmf-dist/tex/latex/peterw/midpage.sty -texmf-dist/tex/latex/peterw/nextpage.sty -texmf-dist/tpm/peterw.tpm - </TPM:RunFiles> - <TPM:Provides>Package/peterw</TPM:Provides> - </rdf:Description> -</rdf:RDF> - diff --git a/Master/texmf/tpm/collection-latexextra.tpm b/Master/texmf/tpm/collection-latexextra.tpm index 8966bb63ae2..0766abf250c 100644 --- a/Master/texmf/tpm/collection-latexextra.tpm +++ b/Master/texmf/tpm/collection-latexextra.tpm @@ -342,7 +342,6 @@ A large collection of add-on packages for LaTeX. <TPM:Package name="pecha"/> <TPM:Package name="perltex"/> <TPM:Package name="permute"/> - <TPM:Package name="peterw"/> <TPM:Package name="photo"/> <TPM:Package name="piff"/> <TPM:Package name="pittetd"/> |