\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?[ht]
.t
would 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 toht
for you, but it's better to writeht
since you meanht
. See alsoh
float specifier changed toht
warning when not attempting to specify a float.