diff options
author | Karl Berry <karl@freefriends.org> | 2010-04-30 22:57:10 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-04-30 22:57:10 +0000 |
commit | d75ea30d81376a3f33b71345a00bb985553adf39 (patch) | |
tree | 2cd3253cb0896975e32c78ed1ad649cd892f1e58 /Master/texmf-dist/tex/latex/emptypage | |
parent | 83a688b19e2f7bfe4ee28cdd766b087b0d00a2cb (diff) |
emptypage update (30apr10)
git-svn-id: svn://tug.org/texlive/trunk@18064 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/emptypage')
-rw-r--r-- | Master/texmf-dist/tex/latex/emptypage/emptypage.sty | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/Master/texmf-dist/tex/latex/emptypage/emptypage.sty b/Master/texmf-dist/tex/latex/emptypage/emptypage.sty index 557c6804958..fc1b27c9547 100644 --- a/Master/texmf-dist/tex/latex/emptypage/emptypage.sty +++ b/Master/texmf-dist/tex/latex/emptypage/emptypage.sty @@ -22,38 +22,38 @@ %% in the same archive or directory.) \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{emptypage} - [2009/07/09 v1.1 Suppress page numbers and headings on empty pages] -\def\emptypage@emptypage{ - \hbox{} - \thispagestyle{empty} - \newpage - \if@twocolumn - \hbox{} - \newpage - \fi + [2010/05/30 v1.2 Suppress page numbers and headings on empty pages] +\def\emptypage@emptypage{% + \hbox{}% + \thispagestyle{empty}% + \newpage% + \if@twocolumn% + \hbox{}% + \newpage% + \fi% } \DeclareOption{odd}{ - \def\cleardoublepage{ - \clearpage - \if@twoside - \ifodd\c@page + \def\cleardoublepage{% + \clearpage% + \if@twoside% + \ifodd\c@page% % do nothing - \else - \emptypage@emptypage - \fi - \fi + \else% + \emptypage@emptypage% + \fi% + \fi% } } \DeclareOption{even}{ - \def\cleardoublepage{ - \clearpage - \if@twoside - \ifodd\c@page - \emptypage@emptypage - \else + \def\cleardoublepage{% + \clearpage% + \if@twoside% + \ifodd\c@page% + \emptypage@emptypage% + \else% % do nothing - \fi - \fi + \fi% + \fi% } } \ExecuteOptions{odd} |