Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Double space ENTIRE document in latex

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.

like image 297
Kacey Avatar asked Dec 11 '14 09:12

Kacey


1 Answers

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}
like image 70
Werner Avatar answered Oct 16 '22 20:10

Werner