In my document, I have figures that have a rather long caption. The code I use to include them looks like this:
\begin{figure}
\begin{center}
\includegraphics[width=\textwidth]{../fig.pdf}
\caption[Short caption]{Fairly long text...}
\end{center}
\end{figure}
For some of the figures, I keep getting warnings like this one:
LaTeX Warning: Float too large for page by 2.38557pt on input line 339.
I can't see anything wrong with the figures in the output document, but it makes the compilation output harder to read because it is full of such warnings.
What am I doing wrong, and how can I get rid of these warnings?
