Consider the minimal code below, which produces two different layouts depending on the table position marks.


The first layout uses
\begin{table}
which results in the table ending below the footnotes and the second,
\begin{table}[htbp]
results in the table ending above the footnotes. Is this normal behaviour in LaTeX? I think a better algorithm would have been to try and position images or tables above the footnotes; is it some form of a bug? Here is the MWE.
\documentclass{book}
\usepackage[paperwidth=4.75in,paperheight=7.25in,
textwidth=4.5in,textheight=6.5in,
headsep=0.1in, footskip=0.15in,
marginratio=1:1]{geometry}
\usepackage[latin,english]{babel}
\usepackage[demo]{graphicx}
\usepackage{booktabs,lipsum}
\begin{document}
\selectlanguage{latin}
\chapter{Errora}
Una imagine tabula, figura et \ae nigma.\footnote{translatio via google}.
\begin{figure}[htbp]
\centering
\includegraphics[width=0.3\textwidth]{./graphics/amato}
\caption{Uno pictorum}
\end{figure}
\begin{table}%[htbp] %uncomment to see difference
\centering
\begin{tabular}{cccc}
\toprule
Error &Errors &error &errors\\
\bottomrule
\end{tabular}
\caption{Test}
\end{table}
%\lipsum[1-3]
\end{document}
Edit:
I had a look at the documentation of the footmisc recommended by Thorsten Donig as a workaround where Robin Fairbairns describes this behaviour as an "infelicity". There is a further infelicity, if you let both floats to float freely, the table floats to the next page and the image goes in the footer area, while there is ample space to have stayed exactly in its position in the text.
hereposition. That is why I am querying the algorithm. Can you please have a second look? – yannisl Oct 28 '11 at 18:10[tbp]; so LaTeX will never tryhif it's not specified in the optional argument. In this case, the figure cannot got(it's a chapter starting page) but it can goband, of course, the table cannot go there any more, because the space for floats at the bottom is 3/10 of the page height. To avoid bottom floats altogether and allowing defaulthplacement, do\renewcommand*\fps@figure{htp}and similarly for\fps@table. – egreg Oct 28 '11 at 21:46