Double space FULL document in latex

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

I tried

\ usepackage {SETSPACE}

\ doublespacing

It works for body text, but doesn't work for table header.

Does anyone have any ideas? Thank.

+3


source to share


1 answer


caption

detects the presence setspace

and allows you to set the key value font

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}

      

+4


source







All Articles