
質問を見つけました図リスト内の数字が図のキャプションに近すぎるのですが、クラスを変更せずに修正できますか?レポート ドキュメントの図のリストにスペースを追加するのに非常に役立ちます。ただし、これを実行すると、生成された LOF で「図」という単語が欠落し、コロン「:」がドットに置き換わってしまいます。この 2 つの問題を修正する方法を誰か教えてください (形10.02:) を 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}