Floatingtable,总是“Underfull \hbox (badness 10000)”

Floatingtable,总是“Underfull \hbox (badness 10000)”

LaTeX 试图通过这个做什么:

\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}

我有

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

\raggedright并且如果我在后面添加,消息就会消失\begin{document}。如果我在“This is MWE.”段落中添加更多单词或添加更多段落,则没有任何区别。

答案1

\centering如果在之前发出,则不会发出警告\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}

在此处输入图片描述

相关内容