![对部分后的附加页使用与章节前的空白页相同的格式](https://linux22.com/image/475499/%E5%AF%B9%E9%83%A8%E5%88%86%E5%90%8E%E7%9A%84%E9%99%84%E5%8A%A0%E9%A1%B5%E4%BD%BF%E7%94%A8%E4%B8%8E%E7%AB%A0%E8%8A%82%E5%89%8D%E7%9A%84%E7%A9%BA%E7%99%BD%E9%A1%B5%E7%9B%B8%E5%90%8C%E7%9A%84%E6%A0%BC%E5%BC%8F.png)
我正在使用我大学的模板编写文档,该模板包含一个自定义文档类。在这个类中,它应该是 openright,当章节开始时,左侧通常为空白的页面实际上不是空白的,而是有一个用于显示 something.eps 图像的浮动。到目前为止一切顺利。
但是,我还需要将文档分为两个部分。在部分和章节之间,LaTeX 会生成一个空白页,这是理所当然的。但我需要它包含与章节之前的其他空白页相同的浮动内容。我该怎么做?
这是.cls文件中的代码:
\newcommand\BackgroundPic{
\put(-150,-200){%
\parbox[b][\paperheight]{\paperwidth}{%
\vfill
\centering
\transparent{0.4}
\includegraphics[width=0.85\paperwidth]{./something.eps}
\vfill}}}
进而
\newcommand\blankpage{%
\null
\AddToShipoutPicture*{\BackgroundPic}
\thispagestyle{empty}%
\addtocounter{page}{-1}%
\newpage}
最后在 config.tex 文件中有:
\makeatletter
\renewcommand*\cleardoublepage{%
\clearpage\if@twoside\ifodd\c@page\else
\null
\AddToShipoutPicture*{\BackgroundPic}
\thispagestyle{empty}%
\newpage
\if@twocolumn\hbox{}\newpage\fi\fi\fi}
\makeatother
我尝试在 \part{} 输入后添加 \cleardoublepage,但没有成功,我也没主意了。谢谢你的帮助