![我想在标题页、致谢、摘要、附录等后面放置空白页](https://linux22.com/image/370063/%E6%88%91%E6%83%B3%E5%9C%A8%E6%A0%87%E9%A2%98%E9%A1%B5%E3%80%81%E8%87%B4%E8%B0%A2%E3%80%81%E6%91%98%E8%A6%81%E3%80%81%E9%99%84%E5%BD%95%E7%AD%89%E5%90%8E%E9%9D%A2%E6%94%BE%E7%BD%AE%E7%A9%BA%E7%99%BD%E9%A1%B5.png)
我想在标题页、致谢、摘要、正文等之后放置空白页,并且还想在右侧页面开始新的章节。我的代码如下。
\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}