I'd like to know how to decrease the column width in the ToC so that the white distance to the page numbers increase. Thanks a lot!
This is the result when I use:
\makeatletter
\renewcommand*\@pnumwidth{2em}
\makeatother
I'd like to know how to decrease the column width in the ToC so that the white distance to the page numbers increase. Thanks a lot!
This is the result when I use:
\makeatletter
\renewcommand*\@pnumwidth{2em}
\makeatother
This seems to work for me:
\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}
Charteris a font; so, it's not part of the problem. And, it'd be Ok to edit the Q to removetablesandcolumnstags, since this is a ToC issue.tablesandcolumnsare typically in the body of the doc. – Saphar Koshet Nov 12 '18 at 13:51\@pnumwidthbefore or after loading packages. i'd try putting the redefinition after loading all packages, and further, wrapping it in\AtBeginDocument{...}. – barbara beeton Nov 16 '18 at 00:59