Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
\documentclass{article}
\usepackage[draft]{graphicx}
\begin{document}
\begin{figure}
\centering
\setlength\fboxsep{124pt}
\setlength\fboxrule{1pt}
\fbox{\includegraphics{dummy}}
\caption{Dummy caption}
\end{figure}
\end{document}

How can I increase vertical space between figure and caption?

share|improve this question
add comment

1 Answer

up vote 28 down vote accepted

Modify the lengths \abovecaptionskip and \belowcaptionskip to suit your needs:

\setlength{\abovecaptionskip}{15pt plus 3pt minus 2pt} % Chosen fairly arbitrarily

The default values are 10pt and 0pt.

share|improve this answer
1  
What does plus 3pt minus 2pt stand for? –  Ichibann Feb 27 '12 at 15:11
5  
@Ichibann: plus and minus allow the space to stretch and shrink if needed. The numbers specify how much. –  Andrey Vihrov Feb 27 '12 at 15:15
1  
Where do I put this line of code? –  LWZ Sep 7 '13 at 23:27
    
@LWZ: In the document preamble. –  Andrey Vihrov Sep 9 '13 at 6:18
    
@AndreyVihrov: Correct be if I'm wrong, but it seems like you can place this line inside the float (e.g. figure) and then it will affect only this given float. –  Dror Feb 4 at 20:57
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.