Skip to content

Instantly share code, notes, and snippets.

@kks32
Last active December 19, 2015 10:46
Show Gist options
  • Save kks32/43979a81a03a8e2f20f9 to your computer and use it in GitHub Desktop.
Save kks32/43979a81a03a8e2f20f9 to your computer and use it in GitHub Desktop.
Spacing between chapters in LOT and LOF - LaTeX
\makeatletter
\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
\if@mainmatter
\refstepcounter{chapter}%
\typeout{\@chapapp\space\thechapter.}%
\addcontentsline{toc}{chapter}%
{\protect\numberline{\thechapter}#1}%
\else
\addcontentsline{toc}{chapter}{#1}%
\fi
\else
\addcontentsline{toc}{chapter}{#1}%
\fi
\chaptermark{#1}%
% \addtocontents{lof}{\protect\addvspace{10\p@}}% NEW
% \addtocontents{lot}{\protect\addvspace{10\p@}}% NEW
\if@twocolumn
\@topnewpage[\@makechapterhead{#2}]%
\else
\@makechapterhead{#2}%
\@afterheading
\fi}
\makeatother
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment