[Tex/LaTex] caption package doesn’t recognize font=doublespacing


The journal I'm targetting requires "doublespaced" figure captions, and posts like these


made me try out the caption package. I grabbed it from CTAN and looking at its doc (p. 10) made me try the font=doublespacing option, via a \usepackage[font=doublespacing]{caption} line in my preamble. But doing so generates an unknown key error:

! Package keyval Error: doublespacing undefined.
See the keyval package documentation for explanation.
l.448 \ProcessOptionsWithKV{caption}

this is using  pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) (format=pdflatex 
2006.12.10), via LyX v2.0.3.

Best Answer

You must load the setspace package to use caption's doublespacing option .





\caption{Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut
    purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis.
    Curabitur dictum gravida mauris. Nam arcu libero, nonummy eget,
    consectetuer id, vulputate a, magna. Donec vehicula augue eu neque.}


enter image description here

Related Question