為什麼目錄預設位於右側?

為什麼目錄預設位於右側?

我的問題涉及文檔類中目錄的定位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}

相關內容