背景
我更改了章节标题和副标题的显示位置,即在新章节的中央底部。不幸的是,似乎也\thebibliography
遵循了这一变化。有没有办法可以重置的位置,\bibname
使其显示在页面的左上角?
章节标题和副标题的代码
% Chapter style for frontmatter
\makechapterstyle{frontmatterstyle}{%
\chapterstyle{default}
\renewcommand{\chapterheadstart}{\pagestyle{frontheadings}\thispagestyle{frontchapter}}
\renewcommand{\chaptitlefont}{\sffamily\fontsize{11}{14}\selectfont}
\renewcommand{\printchaptertitle}[1]{\chaptitlefont\MakeUppercase{\textls[60]{##1}}}
\setlength{\beforechapskip}{-14pt}
\setlength{\afterchapskip}{98pt}
\renewcommand*{\afterchaptertitle}{%
\par\nobreak \vskip\afterchapskip\noindent\par}
}
\if@stdl@normalis
\makechapterstyle{literature}{%
\chapterstyle{default}
\renewcommand*{\chapnumfont}{\sffamily\small}
\renewcommand*{\chapnamefont}{\sffamily\small}
\renewcommand*{\chaptitlefont}{\normalfont\Huge}
\setlength{\afterchapskip}{65pt}
\setlength{\beforechapskip}{0pt}
\setlength{\midchapskip}{0pt}
\renewcommand*{\printchapternum}{}
\renewcommand*{\printchaptername}{%
\begin{tikzpicture}[remember picture,overlay]
\node[shift={(-12mm,-20mm)}] at (current page.center)
{%
\begin{tikzpicture}[remember picture,overlay]
\node[rotate=0,anchor=north west,inner sep=0mm] at (3mm,1.3mm)
{
\chapnamefont\figureversion{lining}
\MakeUppercase{\textls*[90]{\@chapapp}\hspace{0.5em}\thechapter}
};
\end{tikzpicture}
};
\end{tikzpicture}
}
\renewcommand*{\printchaptertitle}[1]{%
\savebox{\@stdl@chapbox}{%
\begin{tikzpicture}[remember picture,overlay]
\node[anchor=center,yshift=-45mm] at (current page.center) {
\chaptitlefont\color{\colchapter} ##1
};
\end{tikzpicture}
}
\vbox to 0pt{\vss\usebox{\@stdl@chapbox}}%
}
\renewcommand*{\chapterheadstart}{\vspace*{5pt}\par\noindent}
\renewcommand*{\afterchaptertitle}{%
\par\nobreak\vskip\afterchapskip\noindent\par}
}
不幸的是,我无法整理出一个最小的工作示例。如果无法修改上述代码,是否可以修改\thebibliography
移动命令\bibname
,使其位于页面的左上角?
答案1
我在这里找到了答案:如何减少章节标题前的间距?。似乎可以使用以下方法调整参考书目的标题:
\titlespacing*{\chapter}{0pt}{-50pt}{40pt}