Hi,
I was wondering if anyone knows of an easy way to change the spacing between all of the captions in LoF. I'm formatting my dissertation and every caption must be single spaced and there should be a double space between every caption. My captions are very long and LaTeX is currently forcing each page in the LoF to have a different spacing between figure captions. Is there any way to force it to always double space?
Thanks!
Text Formatting ⇒ Spacing between LoF Entries
NEW: TikZ book now 40% off at Amazon.com for a short time.

Spacing between LoF Entries
Take a look at tocloft package. That will help you set the formatting options.
OS: Debian/GNU Linux; LaTeX System : TeXLive; Editor : Vim
Spacing between LoF Entries
I just tried including the package and my document won't compile due to a conflict with a subfigure package. Everything breaks when I remove the subfigure package. I'm trying to do it by redefining the LOF command within the class file. Below is what I have so far. The \protect\noaddvspace command should suppress any attempt to sanely space the captions, but it doesn't. Any ideas?
Code: Select all
\renewcommand*{\listoffigures}{%
\newpage
\def\@tocpage{\roman{page}}
\addtocontents{toc}{\protect\contentsline{chapter}{LIST OF FIGURES}{\@tocpage}}
\begin{center}
LIST OF FIGURES \\[48pt]
\end{center}
\singlespacing
\ifx \@finalstyle \undefined \relax \else \setlength{\parskip}{12pt plus0pt minus0pt} \fi
\let\tmpnumberline \numberline
\renewcommand{\numberline}[2]{\tmpnumberline{Figure ##1}{##2}}
\newcommand*{\noaddvspace}{\renewcommand*{\addvspace}[1]{}}
\addtocontents{lof}{\protect\noaddvspace}
\@starttoc{lof}
\ifx \@finalstyle \undefined \relax \else \setlength{\parskip}{0pt} \fi
\let \numberline \tmpnumberline
\newpage
Last edited by cgnieder on Thu May 23, 2013 5:38 pm, edited 1 time in total.
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Spacing between LoF Entries
Code: Select all
\usepackage[subfigure]{tocloft}
Please note, that the
subfigure
-package is obsolete.The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Re: Spacing between LoF Entries
Thanks, I gave it a go but it overwrites all the modifications shown above. Is there a way to hack it without the tocloft package?