LaTeX forum ⇒ Theses, Books, Title pagesRemove Line Break in List of Figures Topic is solved

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Posts: 1
Joined: Mon Jan 07, 2019 11:45 am

Remove Line Break in List of Figures

Postby felixerdy » Mon Jan 07, 2019 11:55 am

I'm using the masters-doctoral-thesis template. After adding multiple figures I identified line breaks in the List of Figures. It seems like LaTeX is adding this line break after each chapter. Any idea how to remove these line breaks?
Bildschirmfoto 2019-01-07 um 10.53.01.png
Bildschirmfoto 2019-01-07 um 10.53.01.png (44.88 KiB) Viewed 437 times

User avatar
Site Moderator
Posts: 4044
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Mon Jan 07, 2019 12:45 pm

Welcome to the forum.

Remove spacing between per-chapter figures in LoF

Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. \usepackage{etoolbox}% <!-- m --><a class="postlink" href=""></a><!-- m -->
  2. \makeatletter
  3. % \patchcmd{<cmd>}{<search>}{<replace>}{<succes>}{<failure>}
  4. \patchcmd{\@chapter}{\addtocontents{lof}{\protect\addvspace{10\p@}}}{}{}{}% LoF
  5. \patchcmd{\@chapter}{\addtocontents{lot}{\protect\addvspace{10\p@}}}{}{}{}% LoT
  6. \makeatother
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Return to “Theses, Books, Title pages”

Who is online

Users browsing this forum: No registered users and 2 guests