我找到了问题图表列表中的数字与图表标题太接近,可以在不更改类别的情况下修复此问题吗?在报告文档的 List-of-figure 中添加一些间距非常有帮助。但我想问的是,在执行此操作时,现在在生成的 LOF 中缺少单词“Figure”,并且点替换了冒号“:”有人可以建议我如何修复这两个问题吗(数字十:) 在我的 LOF 中同时保持相同的间距。
谢谢
\documentclass[12pt]{report}
\usepackage{setspace}
\titlecontents
{chapter}
[0.5in]
{\addvspace{1pc} \normalfont \filright}
{\contentslabel[\thecontentslabel.]{0.2in}}
{\hspace{-0.5in}}
{\titlerule*[4pt]{.} \contentspage}
[\addvspace{2pt}]
\titlecontents
{section}
[0.8in]
{\normalfont \filright}
{\contentslabel[\thecontentslabel]{0.3in}}
{}
{\titlerule*[4pt]{.} \contentspage}
[]
\titlecontents
{subsection}
[1.3in]
{\normalfont \filright}
{\contentslabel[\thecontentslabel]{0.5in}}
{}
{\titlerule*[4pt]{.} \contentspage}
[]
\titlecontents
{subsubsection}
[1.5in]
{\normalfont \slshape \filright}
{\contentslabel[\thecontentslabel]{0.7in}}
{}
{\titlerule*[4pt]{.} \contentspage}
[]
\titlecontents
{table}
[0.8in]
{\normalfont \filright}
{\contentslabel[Table \thecontentslabel :~]{0.8in}}
{}
{\titlerule*[4pt]{.} \contentspage}
[]
\titlecontents
{figure}
[0.8in]
{\normalfont \filright}
{\contentslabel[Figure \thecontentslabel : \hspace{0.5in}]{0.8in}}
{}
{\titlerule*[4pt]{.} \contentspage}
[]
\usepackage{titlesec}
\setcounter{secnumdepth}{4}
\titleformat
{\chapter}
[display]
{\normalfont \centering}
{CHAPTER \thechapter}
{0.2in}
{}[]
\titlespacing*{\chapter}{0pt}{0.7in}{0.5in}[0pt]
\titleformat
{\section}
[hang]
{\normalfont \bfseries}
{\thesection}
{0.1in}
{}[]
\titlespacing*{\section}{0pt}{36pt}{6pt}[0pt]
\titleformat
{\subsection}
[hang]
{\normalfont \bfseries}
{\thesubsection}
{0.1in}
{}[]
\titlespacing*{\subsection}{0pt}{36pt}{6pt}[0pt]
\titleformat
{\subsubsection}
[hang]
{\normalfont \slshape}
{\thesubsubsection}
{0.2in}
{}[]
\makeatletter
\def \l@figure{\@dottedtocline{1}{1.5em}{3em}}
\makeatother
\renewcommand{\contentsname}{TABLE OF CONTENTS}
\renewcommand{\listtablename}{LIST OF TABLES}
\renewcommand{\listfigurename}{LIST OF FIGURES}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\sloppy
\clearpage \pagenumbering{roman}
\include{FrontMatter/myTitle}
\addcontentsline{toc}{chapter}{LIST OF FIGURES}
\addcontentsline{toc}{chapter}{LIST OF TABLES}
\addtocontents{toc}{\protect\addvspace{1pc} \protect\hspace{-0.28in}
\protect\mbox{CHAPTERS} \par}
\clearpage \newgeometry{top=0.5in} \singlespacing
\tableofcontents
\listoftables
\listoffigures
\include{FrontMatter/abbreviations}
\include{FrontMatter/symbols}
\restoregeometry
\clearpage \pagenumbering{arabic}
\include{MainMatter/1/introduction}
\end{document}