[Tex/LaTex] How to reduce padding after figure

floatsspacing

\documentclass{mwrep}

\usepackage[draft]{graphicx}
\usepackage{hyperref}
\usepackage[all]{hypcap}

\makeatletter
\g@addto@macro\@floatboxreset\centering
\makeatother
I use figures with captions.

\begin{document}

\listoffigures

\chapter{foo}

First paragraph (previous).

\begin{figure}[h]
  \includegraphics{a.jpg}
  \caption{Opis}
\end{figure}

Second paragraph (following).

\end{document}

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.

Best Answer

You could change \belowcaptionskip, for example:

\setlength{\belowcaptionskip}{-10pt}

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:

\captionsetup{belowskip=0pt}
Related Question