答案1
这似乎对我有用:
\documentclass{book}
\usepackage{tocloft}
\makeatletter
\renewcommand{\@pnumwidth}{3cm}
\renewcommand{\@tocrmarg}{4cm}
\renewcommand{\cftdotsep}{\cftnodots}
\makeatother
\begin{document}
\tableofcontents
\chapter{Longer longer longer longer Longer longer longer longer Longer longer longer longer Longer
longer longer longer Longer longer longer longer Longer longer longer longer}
Foo.
\chapter{Longer longer longer longer Longer longer longer longer Longer longer longer longer Longer
longer longer longer Longer longer longer longer Longer longer longer longer}
Bar.
\chapter{Longer longer longer longer Longer longer longer longer Longer longer longer longer Longer
longer longer longer Longer longer longer longer Longer longer longer longer}
Bar.
\end{document}