TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

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

This question already has an answer here:

I am writing one article in which i need to write one image and its caption. I found space after caption seems to be more than normal.

  \caption{\textcolor{gray}{\footnotesize \textit{ImageCaption}}}
   This is first text after caption.

How can i reduce the space between caption and text?

share|improve this question

marked as duplicate by Marco Daniel, Andrew Swann, yo', Claudio Fiandrino, Thorsten Mar 1 '13 at 14:02

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

What other packages are you loading? If you're using caption, perhaps setting \aftercaptionskip would work. Otherwise, \intextsep or \textfloatsep (see the layouts package documentation‌​; section 6.1 Float and text page layout, p 25). – Werner Feb 27 '13 at 7:36
If you use the caption package the correct command is \captionsetup{belowskip=0pt}. But since this is the default value something is going wrong at your document. But to find out we need an MWE from you. – Axel Sommerfeldt Feb 27 '13 at 7:53
Please include a minimal working example (MWE)... – Werner Feb 27 '13 at 8:00
am i right: you're worried about the space between the bottom of the figure float and the following text? -- that may not be anything to do with the caption itself (caption package’s \belowcaptionskip is zero by default, iirc). between the bottom of the float and the following text \intextsep is added, which is 12pt by default: try setting that to 0pt and see whether that helps. – wasteofspace Feb 27 '13 at 9:53
I would really suppose that someone who has asked 25 questions before would know how a question should look like and what MWE means. Just a comment: IMHO putting \textcolor, \footnotesize and \textit manually into the caption text shows a lack of concept. The package caption that you claimed you use provides a lot of \caption customization on the document level, so that it applies consistently to all captions. – yo' Feb 27 '13 at 12:58

A quick way would be to use \vspace{} with negative length as input. However, this is not the right approach and is not recommended for use.

Without using vspace the output would look like: without vspace

Here is a MWE with vspace and negative length as input followed by the output.



  \caption{\textcolor{gray}{\footnotesize \textit{ImageCaption}}}
   This is first text after caption.


Note how the use of vspace after the figure and after the caption shrinks the space.

with vpsace

share|improve this answer
The OP gave no working example, but stated that the problematic extra space was "after [the] caption". Also, it seems bad practice to manually (and possibly multiple times) correct the spacing in the document body instead of looking for a solution applicable (once) in the document's preamble. – lockstep Feb 27 '13 at 10:00
Thanks @lockstep. I realize that this may not be the right way to solve the problem. – Umar Kalim Feb 27 '13 at 20:29

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