I want to remove vertical space between two chapters in table of contents.
I can remove the vertical space between chapter and a section by using
\usepackage[titles,subfigure]{tocloft}
\renewcommand\cftchapafterpnum{\vskip -2pt}
But i dont know how to remove the spaces between two chapters. Please help me to figure it out.
Best Answer
This removes the space between 2 chapters only when they are just next to each other.
If you want to remove all the vertical spaces, you simply say the following instead of the long code in preamble: