9

In latex, I want to double space the entire document, including the footnote and the table caption.

I have tried

\usepackage{setspace}

\doublespacing

It works for the main text, but does not work on the table caption.

Does anyone have any idea? Thank you.

Kacey
  • 137
  • 1
  • 2
  • 9

1 Answers1

6

caption detects the presence of setspace and allows you to set the font key-value accordingly:

enter image description here

\documentclass{article}

\usepackage{setspace,caption}
\usepackage{lipsum}
\captionsetup{font=doublespacing}% Double-spaced float captions

\doublespacing% Double-spaced document text

\begin{document}

\begin{figure}
  \caption[lipsum2]{\lipsum[2]}
\end{figure}

\lipsum[1]

\end{document}
Werner
  • 14,324
  • 7
  • 55
  • 77