From 17c16313e5ce2a4448487cfaf2be31f413e71d81 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 4 Sep 2009 18:20:23 +0000 Subject: nextpage.sty update (3sep09) git-svn-id: svn://tug.org/texlive/trunk@15089 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/ltxmisc/nextpage.sty | 54 ---------------------- Master/texmf-dist/tex/latex/nextpage/nextpage.sty | 55 +++++++++++++++++++++++ 2 files changed, 55 insertions(+), 54 deletions(-) delete mode 100644 Master/texmf-dist/tex/latex/ltxmisc/nextpage.sty create mode 100644 Master/texmf-dist/tex/latex/nextpage/nextpage.sty (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/tex/latex/ltxmisc/nextpage.sty b/Master/texmf-dist/tex/latex/ltxmisc/nextpage.sty deleted file mode 100644 index cb94cfa7e3a..00000000000 --- a/Master/texmf-dist/tex/latex/ltxmisc/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/tex/latex/nextpage/nextpage.sty b/Master/texmf-dist/tex/latex/nextpage/nextpage.sty new file mode 100644 index 00000000000..67f716cad07 --- /dev/null +++ b/Master/texmf-dist/tex/latex/nextpage/nextpage.sty @@ -0,0 +1,55 @@ +% nextpage.sty +% +% Provides additional \clear...page commands +% +% Author: Peter Wilson, Herries Press +% Maintainer: Will Robertson (will dot robertson at latex-project dot org) +% Copyright 1996--2000 Peter Wilson +% Released under the LaTeX Project Public License +% +% Changes in v1.1a - New maintainer (Will Robertson) +% +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{nextpage}[2009/09/03 v1.1a 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}] +% -- cgit v1.2.3