答案1
这是一个解决方案。您可以2em
用更精确的尺寸替换。
\documentclass[12pt,a4paper]{report}
\usepackage{etoolbox}
\makeatletter
\patchcmd{\l@part}{\parindent}{\hangindent 2em \parindent}{}{\err}
\makeatother
\begin{document}
\tableofcontents
\part{Here is a part name in more than one line in the ToC, with the lower lines aligned as the first one}
\chapter{A chapter of foo}
\end{document}