为什么我的图形不在文本顶部?

为什么我的图形不在文本顶部?

我是 LaTeX 新手,我正在尝试使用环境\subfigure\subcaption。主图像中的两幅图像正常,但包含其他两幅图像的图像位置不正确。而且,在代码中,当我在图形底部写一些文本时,它会向上显示,图形会出现在下一页的中间。我与您分享这张图片,以便您了解我的情况:

第 9 页:

在此处输入图片描述

第 10 页:

在此处输入图片描述

以及代码:

  La arquitectura de UFSBI se muestra en la figura
  \ref{fig:disenoUFSBI}.
\begin{figure}
  \begin{subfigure}{0.5\textwidth}
    \includegraphics[width=0.9\linewidth, height=5cm]{Architecture}
    \centering
    \caption{Architecture of UFSBI}
    \label{fig:architecture}
  \end{subfigure}
  \begin{subfigure}{0.5\textwidth}
    \includegraphics[width=0.9\linewidth, height=5cm, right]{Diagram}
    \centering
    \caption{Module Inter-connection diagram}
    \label{fig:interconnectionUSBF}
  \end{subfigure}
\caption{UFSBI Design}
\label{fig:disenoUFSBI}
\end{figure}
Afeter aa sfdasdf asdfas dfasd fasdfas df.as .fas.d f.asd.fa.sd.f .sad.f .asd.f.a sd.f.a sd.f. as.df. as.df. as.

有人能帮助我吗?之前已经谢谢了。

相关内容