When I'm generating a List of Figures in my project, all figures are grouped by chapter. I would like to have the whole list without any additional new lines between different chapters.

How it looks like:

Figure 1.1 
Figure 1.2

Figure 2.1

Figure 3.1 
Figure 3.2

How it should:

Figure 1.1 
Figure 1.2
Figure 2.1
Figure 3.1 
Figure 3.2

I tried to apply the following solutions but failed completely :

My main file:







\renewcommand{\chaptermark}[1]{\markboth{\nouppercase{\thechapter.\ #1}}{}}
\headheight 30pt










  • 1
    The two linked answers deal with different situations: the classicthesis package and the scrreprt class feature a way for disabling the added space, while report doesn't. Don't load a4wide which is dangerous; also times should be mathptmx; remove the utf8x option from the \documentclass line. Do you really need psfrag? If not leave it alone.
    – egreg
    Jun 30, 2013 at 21:00

2 Answers 2


This is done automatically when you call \chapter, as can be seen from its definition in book.cls and report.cls:

\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
                    \addtocontents{lof}{\protect\addvspace{10\p@}}% <-- Gap in LoF
                    \addtocontents{lot}{\protect\addvspace{10\p@}}% <-- Gap in LoT

Add the following to your document preamble:

\usepackage{etoolbox}% http://ctan.org/pkg/etoolbox
% \patchcmd{<cmd>}{<search>}{<replace>}{<succes>}{<failure>}
\patchcmd{\@chapter}{\addtocontents{lof}{\protect\addvspace{10\p@}}}{}{}{}% LoF
\patchcmd{\@chapter}{\addtocontents{lot}{\protect\addvspace{10\p@}}}{}{}{}% LoT

The above patch removes the insertion of \addvspace to both the LoF and the LoT; the cause of the additional gap between entries on a per-chapter basis.

enter image description here

\newcommand{\insertfigure}{\begin{figure}\caption{A figure}\end{figure}}
\usepackage{etoolbox}% http://ctan.org/pkg/etoolbox
% \patchcmd{<cmd>}{<search>}{<replace>}{<succes>}{<failure>}
\chapter{A chapter}\insertfigure\insertfigure\insertfigure
\chapter{A chapter}\insertfigure\insertfigure\insertfigure
\chapter{A chapter}\insertfigure\insertfigure\insertfigure
\chapter{A chapter}\insertfigure\insertfigure\insertfigure

You can choose to use either both or only one by commenting out the required patch. An easier patch to remove both gap insertions would be

\usepackage{etoolbox}% http://ctan.org/pkg/etoolbox
\patchcmd{\@chapter}% <cmd>
  {\chaptermark{#1}}% <search>
  {\chaptermark{#1}\@gobblesix}% <replace>
  {}{}% <success><failure>
  • I had to solve the same problem. However my file originally used package bm, and this solution (using etoolbox) would not work. The workaround was to use \mathbf instead of \bm. It works now. Jan 5, 2014 at 17:18
  • 1
    None of these patches worked for me, but disabling \addvspace in the list of figures worked: tex.stackexchange.com/a/793/88028
    – antoine
    Oct 9, 2015 at 1:05
  • @Antoine: These patches will only work if the <search> term is found. If you're using a different class, then the construction of the <cmd> macro might be different and not contain the <search> term exactly.
    – Werner
    Oct 9, 2015 at 5:32
  • @Werner: I see. I'm indeed using a custom class, but there is \addtocontents{lof}{\protect\addvspace{10\p@}}% under the \@chapter command. Anyway, it's not a big deal :)
    – antoine
    Oct 9, 2015 at 20:02

This is a quick and dirty solution that works for tufte-book, and doesn't require any additional packages. I just temporarily overwrite the \addvspace command with a dummy command. Important is to reverse back to the old definition for the rest of the document.

  • The question was about the report class and the spacings there. While your solution might work as well, you should elaborate a little bit on it and provide an example
    – user31729
    Nov 2, 2014 at 16:06
  • Your trick works wonderfully. But there is a easier way to do it: {\renewcommand{\addvspace}[1]{} \listoffigures}, i.e., enclosing the renewcommand in a group {} will automatically undo it once the group ends.
    – user
    Nov 9, 2019 at 1:28
  • This worked for me. You're a godsend! Mar 27 at 21:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.