我正在使用 LyX 中的 classicthesis 4.1 撰写论文,我需要页码方面的帮助。
如何强制所有页码停留在右下角?
答案1
classicthesis
使用scrpage2
包自定义页眉和页脚;您可以通过重新定义页面样式将页面添加到页脚的右侧scrheadings
:
\documentclass{scrbook}
\usepackage{classicthesis}
\usepackage{lipsum}
\makeatletter
\clearscrheadings
\setheadsepline{0pt}
\ifthenelse{\boolean{@nochapters}}%
{\relax}%
{\renewcommand{\chaptermark}[1]{\markboth{\spacedlowsmallcaps{#1}}{\spacedlowsmallcaps{#1}}}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\enspace\spacedlowsmallcaps{#1}}}
\lehead{\headmark}
\rohead{\headmark}
\refoot{\thepage}
\rofoot{\thepage}
\renewcommand{\headfont}{\small}
% \DeclareRobustCommand{\fixBothHeadlines}[2]{} % <--- ToDo
% hack to get the content headlines right (thanks, Lorenzo!)
\def\toc@heading{%
\ifthenelse{\boolean{@nochapters}}%
{\section*{\contentsname}}%nochapters
{\chapter*{\contentsname}}%chapters
\@mkboth{\spacedlowsmallcaps{\contentsname}}{\spacedlowsmallcaps{\contentsname}}}
\makeatother
\pagestyle{scrheadings}
\begin{document}
\chapter{Test chapter}
\section{Test section}
\lipsum[1-20]
\end{document}
连续两页底部的细节: