![如何删除段落后的空格?](https://linux22.com/image/417250/%E5%A6%82%E4%BD%95%E5%88%A0%E9%99%A4%E6%AE%B5%E8%90%BD%E5%90%8E%E7%9A%84%E7%A9%BA%E6%A0%BC%EF%BC%9F.png)
我想删除此段落后的空格,如下图所示:
我尝试过但没有成功:
\usepackage{float}
\FloatBarrier
代码部分:
------ paragraph1 --------
\FloatBarrier
\begin{table}
\centering
\begin{tabular}
\hline
--- some data table 1 ---
\hline
\end{tabular}
\end{table}
\FloatBarrier
------- secondly , we conclude that ...paragraph2-------
\FloatBarrier
\begin{table}
\centering
\begin{tabular}
\hline
----some data table 2-------
\hline
\end{tabular}
\end{table}
\FloatBarrier
------ paragraph3-------
事实上,我想要一种简单的方法来强制将表格放置在所需段落之后。
非常感谢您的帮助!
答案1
------ paragraph1 --------
\FloatBarrier
\begin{table}
\centering
\begin{tabular}
\hline
--- some data table 1 ---
\hline
\end{tabular}
\end{table}
\FloatBarrier
%% ------- secondly , we conclude that ...paragraph2// here you should add [hbt!] option after \begin{table} -------%%
\FloatBarrier
\begin{table} [hbt!]
\centering
\begin{tabular}
\hline
----some data table 2-------
\hline
\end{tabular}
\end{table}
\FloatBarrier
------ paragraph3-------