I am currently writing my thesis in Latex and the thesis is supposed to be double spaced, so I have used the \doublespacing
command in my latex file.
The problem:
Chapter or Section Titles, Figure Captions, and Table Captions which are long tend to split over multiple lines in the Table of Contents, List of Figures, and List of Tables. Currently, the spacing between all lines in the Table of Contents, List of Figures, and List of Tables, are double spaced. However, the multiple lines of a single entry should be single spaced, and the spacing between different entries should be double spaced.
There were similar problems and solutions elsewhere, but non seem to work satisfactorily for me thus far. Moreover, the other solutions don't seem to work properly with the \documentclass{report}
.
I have provided a MWE below to describe the problem.
\documentclass[a4paper,12pt]{report}
\usepackage{setspace}
\usepackage{mwe} % just for dummy images
\doublespacing
\begin{document}
\addcontentsline{toc}{chapter}{Contents}
\tableofcontents
\addcontentsline{toc}{chapter}{List of Figures}
\listoffigures
\listoftables
\addcontentsline{toc}{chapter}{List of Tables}
\chapter{Test Chapter with a very very very very long name which splits over multiple lines}
Lorem ipsum dolor sit amet, consectetuer Lorem ipsum dolor sit amet, consectetuer Lorem ipsum dolor sit amet, consectetuer Lorem ipsum dolor sit amet, consectetuer
\section{This is a long section title which splits across multiple lines. Dummy Text Dummy Text Dummy Text Dummy Text}
Lorem ipsum dolor sit amet, consectetuer Lorem ipsum dolor sit amet, consectetuer Lorem ipsum dolor sit amet, consectetuer Lorem ipsum dolor sit amet, consectetuer
\subsection{Another section title}
\begin{figure}[!htb]
\centering
\includegraphics[width=3cm]{example-image}
\caption{This is a long figure caption which splits across multiple lines. Dummy Text Dummy Text Dummy Text Dummy Text}
\end{figure}
\begin{figure}[!htb]
\centering
\includegraphics[width=3cm]{example-image}
\caption{This is a short caption}
\end{figure}
\begin{table}[!htb]
\caption{This is a long table caption which splits across multiple lines. Dummy Text Dummy Text Dummy Text Dummy Text}
\centering
\begin{tabular}{ l | r }
\hline
1 & 2 \\
7 & 8 \\
\hline
\end{tabular}
\end{table}
\begin{table}[!htb]
\caption{This is a short caption.}
\centering
\begin{tabular}{ l | r }
\hline
1 & 2 \\
7 & 8 \\
\hline
\end{tabular}
\end{table}
\end{document}
\doublespacing
behind\addcontentsline{toc}{chapter}{List of Tables}
. Don't you think, the double spaced titles look strange?