奇异边缘与包裹图

奇异边缘与包裹图

这是我的代码的结果,但我不明白为什么有这么多白色......

在此处输入图片描述

这是我的代码:

\lipsum[1]
\begin{wrapfigure}{l}{0.5\textwidth}
\centering
\includegraphics[width=.25\textwidth]{Figures/fig1}
\caption{4-connected grid map.}
\label{4_connected}
\end{wrapfigure}

\begin{wrapfigure}{l}{0.5\textwidth}
\centering
\includegraphics[width=.25\textwidth]{Figures/fig2}
\caption{8-connected grid map.}
\label{8_connected}
\end{wrapfigure}
\lipsum[1]

您有什么建议可以解决这个问题吗?

答案1

我是这样解决的:

\begin{wrapfigure}{r}{0.4\textwidth}
\centering
\begin{tabular}{cc}
\subfloat[First Img.]{\includegraphics[width=.2\textwidth]{Figures/first}}\\
\subfloat[Second Img.]{\includegraphics[width=.2\textwidth]{Figures/sec}}
\end{tabular}
\caption{It works.}
\label{wrap_fig}
\end{wrapfigure}

相关内容