![為什麼目錄預設位於右側?](https://rvso.com/image/348611/%E7%82%BA%E4%BB%80%E9%BA%BC%E7%9B%AE%E9%8C%84%E9%A0%90%E8%A8%AD%E4%BD%8D%E6%96%BC%E5%8F%B3%E5%81%B4%EF%BC%9F.png)
我的問題涉及文檔類中目錄的定位turabian-thesis
。
鍵入此 MWE...
\documentclass{turabian-thesis}
\usepackage[margin=1in]{geometry}
\usepackage{lipsum}
\setcounter{tocdepth}{3}
\begin{document}
\frontmatter
\newpage
\tableofcontents
\newpage
\section{First section}
\lipsum[1-7]
\subsection{First subsection}
\lipsum[8-12]
\subsection{First subsection}
\lipsum[13-20]
\section{Second section}
\lipsum[21-44]
\end{document}
....生成此目錄頁面(儘管出於透視目的,我手動在螢幕截圖中添加了黑色邊框):
問題:在turabian-thesis
文檔類別中,目錄的左側有很大的空白。為什麼會發生這種情況?如何減少已經很大的左邊距?具體來說,我希望我的 TOC 距左側和頂部有 1 英寸的邊距,這樣它看起來就可以像所有其他 TOC 一樣。
答案1
我對您的來源做了一些更改,希望您能理解您的要求。我希望它運作得很好。
\documentclass{turabian-thesis}
\usepackage{geometry}
\geometry{
inner=37.125mm,
outer=33.4125mm,
top=37.125mm,
bottom=37.125mm,
heightrounded,
marginparwidth=51pt,
marginparsep=17pt,
headsep=24pt,
}
\usepackage{tocloft}
\renewcommand{\cfttoctitlefont}{\Large\bfseries}
\usepackage{lipsum}
\setcounter{tocdepth}{3}
\begin{document}
\frontmatter
\newpage
\tableofcontents
\newpage
\section{First section}
\lipsum[1-7]
\subsection{First subsection}
\lipsum[8-12]
\subsection{First subsection}
\lipsum[13-20]
\section{Second section}
\lipsum[21-44]
\end{document}