diff --git a/tutorial/header.tex b/tutorial/header.tex index eb20a45..6ce5244 100644 --- a/tutorial/header.tex +++ b/tutorial/header.tex @@ -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