blob: cb94cfa7e3a1ba15713cd8b874cc3a3320190cb0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
% 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}]
%
|