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


I use figures with captions.




First paragraph (previous).


Second paragraph (following).


How can I change vertical space (padding?) between caption and following paragraph? Also, I want to change (increase a little) space between previous paragraph and top of image.

share|improve this question
I recommend using more than just [h] for positioning. See Keeping tables/figures close to where they are mentioned. – Stefan Kottwitz Jul 17 '11 at 20:08
[!htbp] puts image on the center of new page and I don't want that. [h] puts image at the same place as in source code and if it doesn't fit, at the top of next page. I like this behaviour. Why should I change that? – Ichibann Jul 17 '11 at 20:15
In that case use [ht]. – Stefan Kottwitz Jul 17 '11 at 20:17
OK, thank you :). Can you give me example when edding this t would be necessary? In my document it doesn't change anything but I believe at some cases it will be helpful :). – Ichibann Jul 17 '11 at 20:18
If you only allow h, you might get an overfull page if there's not enough space left. LaTeX is clever enough to change to ht for you, but it's better to write ht since you mean ht. See also h float specifier changed to ht warning when not attempting to specify a float. – Stefan Kottwitz Jul 17 '11 at 20:30
up vote 32 down vote accepted

You could change \belowcaptionskip, for example:


For further customizations I recommend using the caption package. It provides a lot of features and is very well documented.

share|improve this answer
Thanks to yours and Mikael's answer I was able to set caption spacing to my needs. But still I don't know how can I increase space between paragraph and figure that is below it. – Ichibann Jul 17 '11 at 20:28
You can raise the length \intextsep by \addtolength or \setlength. – Stefan Kottwitz Jul 17 '11 at 20:32

You can modify the following lengths, which affect all floats.;

  • \floatsep: space left between floats (12.0pt plus 2.0pt minus 2.0pt).
  • \textfloatsep: space between last top float or first bottom float and the text (20.0pt plus 2.0pt minus 4.0pt).
  • \intextsep : space left on top and bottom of an in-text float (12.0pt plus 2.0pt minus 2.0pt).
  • \dbltextfloatsep is \textfloatsep for 2 column output (20.0pt plus 2.0pt minus 4.0pt).
  • \dblfloatsep is \floatsep for 2 column output (12.0pt plus 2.0pt minus 2.0pt).
  • \abovecaptionskip: space above caption (10.0pt).
  • \belowcaptionskip: space below caption (0.0pt).


share|improve this answer
+1, but it would be handy if you added the default values of these lengths to your answer. – lockstep Jul 17 '11 at 20:11
@lockstep: Done, (at least for article class). – Mikael Öhman Jul 17 '11 at 22:04

Your Answer


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.