Classicthesis:控制偶数页上章节号和标题之间的水平间距

Classicthesis:控制偶数页上章节号和标题之间的水平间距

我正在使用 classicthesis,我注意到章节号和标题之间的间距在偶数页上比在奇数页上大。我怎样才能缩小这个间距,使它与奇数页上的间距一样大?

\documentclass[twoside,a4paper,11pt]{scrreprt}
\usepackage[utf8]{inputenc}
\usepackage[T2A, T1]{fontenc}
\usepackage[eulerchapternumbers,listings,pdfspacing]{classicthesis}

\begin{document}
\chapter{First chapter - space is ok}
\chapter{Second chapter - space is too large}
\end{document}

答案1

classicthesis软件包假定openright。您可以修复它:

\documentclass[twoside,a4paper,11pt]{scrreprt}
\usepackage[utf8]{inputenc}
\usepackage[T2A, T1]{fontenc}
\usepackage[eulerchapternumbers,listings,pdfspacing]{classicthesis}
\usepackage{etoolbox}

\makeatletter
\patchcmd\ttlf@chapter
  {\oldmarginpar}
  {\oldmarginpar[\vspace*{-3\baselineskip}\color{halfgray}\hfill\chapterNumber\thechapter]}
  {}{}
\makeatother

\begin{document}
\chapter{First chapter - space is ok}
\setcounter{chapter}{0} % just to make a fair comparison
\chapter{Second chapter - space is too large}
\end{document}

相关内容