# How can I modify vertical space between figure and caption?

\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?

-

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.

-
What does plus 3pt minus 2pt stand for? – Ichibann Feb 27 '12 at 15:11
@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
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 '14 at 20:57

\vspace*{-10mm} placed before \caption command does the trick. Just pick the number that works for you the best.

-
welcome, maybe using package caption would be a better approach? A global definition is almost always better than setting stuff by hand. – Johannes_B Aug 17 '15 at 23:27
Thanks, this worked great for me! I needed to tweak the distance of a single figure, which on the bottom has only a thin, vertical line. This line caused the bulk of the figure to move too far up. In my experience, these sort of cases are best solved locally with small hacks like this. – Martin J.H. Jan 2 at 21:58