我尝试改变标签的位置,但是没有成功。代码如下:
\noindent
blahblah \ref{tab:1}
\FloatBarrier
\begin{table}[ht]
\centering
\begin{tabular}{ c|c }
\hline
A & 0 \\ \hline
B & 1 \\ \hline
C & 2 \\ \hline
D & 3 \\ \hline
E & 4 \\ \hline
F & 5 \\
\hline
\end{tabular}
\caption{blahblah}
\label{tab:1}
\end{table}
\FloatBarrier