調整乳膠中表格清單和數字清單的左邊距

調整乳膠中表格清單和數字清單的左邊距

我正在編輯我的最終博士學位。論文使用乳膠。在向研究所提交最終論文之前,我需要滿足某些格式標準。

我現在面臨的一個問題是如何將LIST OF TABLES和的左邊距更改LIST OF FIGURES為1.25英寸(見下附圖)。 在此輸入影像描述

目前,所有其他部分的左邊距都是 1.25 英寸,我想知道如何更改左邊距LIST OF TABLES並且LIST OF FIGURES不影響其他部分。

我想這與以下程式碼有關,但我不確定我需要準確地更改哪一行

%% tocloft typesets ToC title, so we must give it our heading formats
\renewcommand{\cfttoctitlefont}{\hfill\ncsu@headingformat}
\renewcommand{\cftaftertoctitle}{\hfill}

\renewcommand{\listfigurename}{LIST OF FIGURES}
\settowidth{\cftfignumwidth}{Figure 00.00}
\renewcommand{\cftfigpresnum}{Figure }
\newcommand{\thesislistoffigures}{%
\singlespacing%
\setlength{\cftbeforeloftitleskip}{-\baselineskip}
\setlength{\ncsu@leading}{\baselineskip-\ncsu@capitalheight}%
\setlength{\cftafterloftitleskip}%
{\ncsu@afterschapsep-\cftbeforechapskip-\ncsu@leading}%
\listoffigures%
\clearpage%
\ncsu@defaultspacing%
}
\renewcommand{\cftloftitlefont}{\hfill\ncsu@headingformat}
\renewcommand{\cftafterloftitle}{\hfill}

我找到了兩個與我的問題相關的帖子,但無法完全解決我的問題。

表格列表和數字列表右邊距

數字清單頁邊距

如果有人能對這個問題有所了解,我們將不勝感激。

謝謝

答案1

左側的空間稱為indent您可以將其變更為cfttabindent{<value>} 表格和\cftfigindent{<value>}數字,例如

\setlength{\cfttabindent}{1.25in}
\setlength{\cftfigindent}{1.25in}

這是預設值(tocloft手冊的螢幕截圖)

在此輸入影像描述

\documentclass{book}
\usepackage{showframe} %% for demo only
\usepackage{tocloft}
\setlength{\cfttabindent}{1.25in}    %% adjust as you like
\setlength{\cftfigindent}{1.25in}    %% adjust as you like
\begin{document}
\listoftables
\listoffigures
\chapter{some chapter}
\section{some section}
\begin{figure}
\caption{Some figure}
\end{figure}
\begin{table}
  \caption{some table}
\end{table}


\end{document}

在此輸入影像描述

對於違反邊距的位,您必須提供文字。但是,您可以嘗試添加\usepackage{microtype}到序言中。在大多數情況下,這效果很好。

答案2

對「石墨烯/基材」違反邊距問題的解答:

一般來說,\sloppy可以幫助緩解窄表中的換行問題。然而,在這裡卻不會。當單字透過斜線連接時,換行演算法會失敗。需要手動設定斷點。graphene/sub\-strate應該做。

相關內容