Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
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.
245k6969 gold badges712712 silver badges783783 bronze badges
asked Jul 17, 2011 at 19:49
8,1031717 gold badges5454 silver badges7575 bronze badges
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. If you're using the caption package, you can set the spacing as:
answered Jul 17, 2011 at 20:04
Stefan Kottwitz♦Stefan Kottwitz
227k8282 gold badges664664 silver badges822822 bronze badges
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).
answered Jul 17, 2011 at 20:05
Mikael ÖhmanMikael Öhman
3,93333 gold badges2525 silver badges2222 bronze badges
You must log in to answer this question.
Not the answer you're looking for? Browse other questions tagged
[!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?
twould be necessary? In my document it doesn't change anything but I believe at some cases it will be helpful :).
h, you might get an overfull page if there's not enough space left. LaTeX is clever enough to change to
htfor you, but it's better to write
htsince you mean
ht. See also
hfloat specifier changed to
htwarning when not attempting to specify a float.