그림 목록에서 그림 번호와 캡션 사이의 간격을 변경하면 "그림"과 "콜론"이 사라집니다.

그림 목록에서 그림 번호와 캡션 사이의 간격을 변경하면 "그림"과 "콜론"이 사라집니다.

질문을 찾았습니다그림 목록의 그림 캡션에 숫자가 너무 가깝습니다. 클래스를 변경하지 않고도 이 문제를 해결할 수 있습니까?보고서 문서의 그림 목록에 공백을 추가하는 데 매우 유용합니다. 하지만 이 작업을 수행하는 동안 묻고 싶은 한 가지는 이제 생성된 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}

관련 정보