我想在标题页、致谢、摘要、正文等之后放置空白页,并且还想在右侧页面开始新的章节。我的代码如下。
\documentclass[12pt]{article}
\usepackage{packs}
\begin{document}
\input{titlepage}
\pagenumbering{roman}
\input{chapters/ack}
\pagebreak
\tableofcontents
\pagebreak
\listoftables
\pagebreak
\listoffigures
\pagebreak
\newcommand{\listequationsname}{List of Equations}
\newlistof{myequations}{equ}{\listequationsname}
\newcommand{\myequations}[1]
{
\addcontentsline{equ}{myequations}{\protect\numberline{\theequation}#1}\par
}
\setlength{\cftmyequationsnumwidth}{2.5em}
\listofmyequations
\pagebreak
\pagenumbering{arabic}
\input{chapters/ab}
\pagebreak
\input{chapters/introduction}
\pagebreak
\input{chapters/aim}
and so on
\bibliographystyle{plain}
\bibliography{href}
\pagebreak
\input{chapters/ap}
\end{document}
我该如何做呢?
答案1
虽然传统方法是使用双面\documentclass
...
changepage
以下是我使用包和一些巧妙的宏来\gotooddpage
执行此操作的方法\finishonevenpage
。
\documentclass{article}
\usepackage{changepage}% TO MAKE SURE CERTAIN THINGS START ON ODD PAGE #
% MACRO TO GO TO ODD PAGE, INSERTING "INTENTIONALLY LEFT BLANK" IF NEEDED
\newcommand\gotooddpage{\clearpage%
\checkoddpage\ifoddpage\else\blankpage\fi\clearpage}
% MACRO TO FINISH ON EVEN PAGE, INSERTING "INTENTIONALLY LEFT BLANK" IF NEEDED
\newcommand\finishonevenpage{%
\clearpage\checkoddpage\ifoddpage\else\blankpage\fi}
\newcommand{\blankpage}{
\clearpage
\begin{center}
{\textsc{\rule{0em}{4.5in}Intentionally left blank.}}
\end{center}
}
\usepackage{lipsum,xcolor}
\begin{document}
\lipsum[1-2]
\gotooddpage \textbf{\color{red}THIS SHOULD BE ON AN ODD PAGE.}
\lipsum[3-10]
\gotooddpage \textbf{\color{red}THIS SHOULD BE ON AN ODD PAGE.}
\lipsum[11-13]
\finishonevenpage
\end{document}