[Tex/LaTex] Floatingtable, always “Underfull \hbox (badness 10000)”

warnings

What LaTeX is trying to do with this:

\documentclass{article}
\usepackage{floatflt}
\begin{document}

\begin{floatingtable}[r]{
\begin{tabular}{cc}
0 & 1 \\
1 & 0
\end{tabular}}
\end{floatingtable}

This is MWE.

\end{document}

I got

Underfull \hbox (badness 10000) in paragraph at lines 9--10

and message disappears if I add \raggedright after \begin{document}. It does not make any difference if I add more words to "This is MWE." -paragraph or add few paragraphs more.

Best Answer

There is no warning if \centering is issued before \begin{tabular}:

\documentclass{article}
\usepackage{floatflt,lipsum}
\begin{document}
\begin{floatingtable}[r]{%
\centering
\begin{tabular}{cc}
0 & 1 \\
1 & 0
\end{tabular}}
\end{floatingtable}

\lipsum[1]

\end{document}

enter image description here