![Classicthesis:控制偶数页上章节号和标题之间的水平间距](https://linux22.com/image/358782/Classicthesis%EF%BC%9A%E6%8E%A7%E5%88%B6%E5%81%B6%E6%95%B0%E9%A1%B5%E4%B8%8A%E7%AB%A0%E8%8A%82%E5%8F%B7%E5%92%8C%E6%A0%87%E9%A2%98%E4%B9%8B%E9%97%B4%E7%9A%84%E6%B0%B4%E5%B9%B3%E9%97%B4%E8%B7%9D.png)
我正在使用 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}