Appearance
怎样让空白页有页眉页脚?
可以通过\cleardoublepage
或openright
在正文插入空白页。bithesis
宏包默认这种空白页无页眉页脚,不标页码但计入页码。这种做法与很多专业出版社排的纸书一致。
如果你想让空白页也有页眉页脚,可以编辑main.tex
,在\mainmatter
之后加入以下代码。
latex
\makeatletter
\ExplSyntaxOn
\RenewDocumentCommand \cleardoublepage { }
{
\clearpage
\bool_if:NT \g__bithesis_twoside_bool
{
\int_if_odd:nF \c@page
{ \hbox:n { } \thispagestyle { BIThesis } \newpage }
}
}
\ExplSyntaxOff
\makeatother
代码来源
模板原有类似代码,只不过\thispagestyle { empty }
。这里改成了\thispagestyle { BIThesis }
。