答案1
您必须使用标准\addtocontents
宏将字体更改命令插入到目录中。例如
\documentclass{book} % No idea what your class is
\usepackage{tocloft}
\begin{document}
\frontmatter
\tableofcontents
\addtocontents{toc}{\protect\renewcommand{\cftchapfont}{\protect\itshape}}
\chapter{Preface}
\chapter{Acknowledgements}
\mainmatter
\addtocontents{toc}{\protect\renewcommand{\cftchapfont}{\protect\normalfont}}
\chapter{First}
\chapter{Second}
\backmatter
\addtocontents{toc}{\protect\renewcommand{\cftchapfont}{\protect\itshape}}
\chapter{Notes}
\end{document}