
我正在 LYX 中處理 classicthesis。如何將未編號的章節附錄與目錄的其餘部分正確對齊?另外,未編號的標題是沒有點來指示頁面的標題。我怎麼才能把點和點對齊呢?
\chapter*{Appendix: Is there Economic Growth dependence on fossil-fuel Consumption?:
Nonlinear deterministic convergence analysis.}
\addcontentsline{toc}{chapter}{Appendix: Is there Economic Growth dependence on fossil-fuel Consumption?: Nonlinear deterministic convergence analysis}
\chaptermark{Dependence on fossil-fuel Consumption?}
答案1
假設基於 KOMA 腳本的非常基本的設置,我們可以使用它addchap
來取得未編號的章節以及目錄中的條目。只需一個小開關即可輕鬆縮排所有這些未編號的條目。
在章節條目中添加點也同樣容易,不幸的是classicthesis
加載與 KOMA 不相容的包,從而破壞了記錄的介面。我們必須使用來自的內容tocloft
來取得章節條目的點。
\documentclass[headinclude=true,footinclude=true]{scrreprt}
\usepackage[dottedtoc]{classicthesis}
\KOMAoptions{toc=indentunnumbered,
chapterentrydots=true%<---- This works if KOMA is not overridden
}
\renewcommand{\cftchapleader}{\cftdotfill{\cftchapdotsep}}
\renewcommand{\cftchapdotsep}{\cftdotsep}
\hypersetup{hidelinks}
\begin{document}
\tableofcontents
\chapter{Rock and Roll Racoon}
\section{defining the dance}
\appendix
\addchap{Rumba Rhinoceros}
\end{document}