pdf: make toc beautiful by reducing spacing
This commit is contained in:
parent
8bf8bef23b
commit
f2614d286b
1 changed files with 7 additions and 0 deletions
|
@ -22,3 +22,10 @@
|
|||
|
||||
% In french, list item starts with dash, not bullet
|
||||
\renewcommand\labelitemi{---}
|
||||
|
||||
\usepackage{etoolbox}
|
||||
|
||||
\makeatletter
|
||||
\pretocmd{\subsection}{\addtocontents{toc}{\protect\addvspace{-5\p@}}}{}{}
|
||||
\pretocmd{\subsubsection}{\addtocontents{toc}{\protect\addvspace{-6\p@}}}{}{}
|
||||
\makeatother
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue