
이전에 이 질문에 대한 답변이 없었다면 죄송합니다. 하지만 포럼에서 질문한 유사한 이전 질문에서 가능한 해결책을 따를 수 없습니다. 저는 LaTex를 처음 접했습니다. 현재 저는 특정 템플릿을 사용하여 논문을 작성하고 있습니다. 템플릿을 사용하면 다음과 같은 그림 목록 페이지가 표시됩니다.
나는 다음과 같은 것을 원하지만 :
나는 현재 다음을 사용하고 있습니다:
\documentclass[a4paper,12pt,openright,notitlepage,twoside]{book}
\usepackage{tocloft} % it serves to make lists of the most beautiful figures and tables
\renewcommand{\cftfigfont}{Figure } % to add "Figures" in the list of figures
% List of Figures
\phantomsection
\listoffigures
\addcontentsline{toc}{chapter}{\listfigurename}
\cleardoublepage
긴 문장이 포함된 케이스 목록 항목에서 이 문제를 해결하는 방법을 알려주세요.
답변1
설명서를 다시 읽어보세요 tocloft
.
% lofprob.tex SE 561254
\documentclass{book}
\usepackage{tocloft}
%\renewcommand{\cftfigfont}{Figure }
\renewcommand{\cftfigpresnum}{Figure } % put Figure before number
\setlength{\cftfignumwidth}{5em} % need more space for Figure + number
\begin{document}
\listoffigures
\chapter{A chapter}
\begin{figure}
\centering
A FIGURE
\caption{Regular caption}
\end{figure}
\begin{figure}
\centering
ANOTHER FIGURE
\caption{A caption that will take more than one line in the List of Figures}
\end{figure}
\end{document}
\cftfigpresnum
숫자 앞에 무엇인가를 넣고 \cftfignumwidth
수정된 숫자에 필요한 증가된 공간을 허용하기 위해 늘리는 데 사용됩니다 .