Graphics, Figures & TablesLOF double/single space

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
mcclur51
Posts: 9
Joined: Wed Mar 24, 2010 10:30 pm

LOF double/single space

Post by mcclur51 »

Hi all,

I am formatting my thesis and need the LOF to have single spaced figure titles, then be double spaced between entries. The code to create the LOF is below:

Code: Select all

    % Define the list of figures command if color is used.
     \newcommand\listfigurenamecolor
      {\begin{center}
       {\large LIST OF FIGURES}\\
         {\normalsize \rm Images in this \MakeLowercase\type\  are presented in color}
         \end{center}}
         \newcommand\listoffigurescolor{%
       \if@twocolumn
      \@restonecoltrue\onecolumn
    \else
      \@restonecolfalse
    \fi
   \chapter*{\listfigurenamecolor} 
   \addcontentsline{toc}{section}{\textbf{List of Figures}\vspace{\baselineskip}}%
      \@mkboth{\MakeUppercase\listfigurename}%
              {\MakeUppercase\listfigurename}%
   \begin{singlespace} 
   \@starttoc{lof}%
    \if@restonecol\twocolumn\fi
    \end{singlespace}
    }
This works great until it hits one of my figures created with FPfigure. Then all subsequent figures only have single space between titles (until next chapter is reached). I've attached a pdf of output.

Can anyone help me format this LOF properly?
Attachments
McClur51_LOF.pdf
(17.63 KiB) Downloaded 245 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Post Reply