\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.
[!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[ht]. – Stefan Kottwitz Jul 17 '11 at 20:17twould 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:18h, you might get an overfull page if there's not enough space left. LaTeX is clever enough to change tohtfor you, but it's better to writehtsince you meanht. See alsohfloat specifier changed tohtwarning when not attempting to specify a float. – Stefan Kottwitz Jul 17 '11 at 20:30