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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
\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
up vote 47 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
3  
What does plus 3pt minus 2pt stand for? – Ichibann Feb 27 '12 at 15:11
7  
@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
1  
@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.

share|improve this answer
    
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

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.