答案1
\numberline
在目錄中排版章節時,您希望在本地進行無操作。
\documentclass{book}
\usepackage[titles]{tocloft}
\usepackage{xpatch}
\makeatletter
\xpretocmd{\l@chapter}{\begingroup\let\numberline\@gobble}{}{}
\xapptocmd{\l@chapter}{\endgroup}
\makeatother
\begin{document}
\tableofcontents
\cleardoublepage
\addcontentsline{toc}{chapter}{\listfigurename}
\listoffigures
\cleardoublepage
\addcontentsline{toc}{chapter}{\listtablename}
\listoftables
\chapter{Title}
\section{Title}
\end{document}