當我強迫我的數字出現在兩欄報告中我想要的位置時,文字之間存在著巨大差距

當我強迫我的數字出現在兩欄報告中我想要的位置時,文字之間存在著巨大差距

我希望文字能填補下圖所示的巨大空白:

這是當我強迫它出現在我想要的段落之間的頁面上時

這是我使用的程式碼:

\usepackage{graphicx}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{float}
\begin{document}
\begin{figure}[H]
\centering
\begin{subfigure}[c]{\linewidth}
  \includegraphics[width=\linewidth]{MutIscU_RSeq}
  \caption{subcaption 1}
  \label{fig: fortafix 11l-min}
\end{subfigure}
\hfill
\begin{subfigure}[c]{\linewidth}
  \includegraphics[width=\linewidth]{MutIscU_RSeq}
  \caption{Water circulated at 9 litres per minute}
  \label{fig: fortafix 9l-min}
\end{subfigure}
\hfill
\begin{subfigure}[c]{\linewidth}
  \includegraphics[width=\linewidth]{MutIscU_SeqQuality}
  \caption{Water circulated at 6 litres per minute}
  \label{fig: fortafix 6l-min}
\end{subfigure}
\caption{Plate mould cooling with Fortafix flexseal 350 gap filler layer}
\label{fig: plate cooling fortafix traces}
\end{figure}
\end{document}

我嘗試調整子圖的寬度,它有效,但圖片太小。如果我從 增加到.3\textwidth.4\textwidth它要么顯示如上圖所示的間隙,要么出現在文件的末尾。這是我使用的有效程式碼:

\begin{figure}[hbt]
\centering
\begin{subfigure}[c]{.3\textwidth}
  \includegraphics[width=\linewidth]{MutIscU_RSeq}
  \caption{subcaption 1}
  \label{fig: fortafix 11l-min}
\end{subfigure}
\hfill
\begin{subfigure}[c]{.3\textwidth}
  \includegraphics[width=\linewidth]{MutIscU_RSeq}
  \caption{Water circulated at 9 litres per minute}
  \label{fig: fortafix 9l-min}
\end{subfigure}
\hfill
\begin{subfigure}[c]{.3\textwidth}
  \includegraphics[width=\linewidth]{MutIscU_SeqQuality}
  \caption{Water circulated at 6 litres per minute}
  \label{fig: fortafix 6l-min}
\end{subfigure}
\caption{Plate mould cooling with Fortafix flexseal 350 gap filler layer}
\label{fig: plate cooling fortafix traces}
\end{figure}

文字之間的間隙現已填充

任何人都知道如何填補這一空白,同時最大化我的子圖的圖片以跨越整個一列?任何幫助,將不勝感激!

答案1

數字通常不會到達文件的末尾,除非您阻止它們到達其他任何地方,但無論如何,如果您使用的話,分頁符處的大空格是不可避免的,H因為數字不會相對於周圍的文字移動,所以如果需要的話頁上方留有間隙,就是這個[H]意思。

例如,您的第二個範例使用的[hbt]主要效果是,它可以防止乳膠將浮動放在浮動頁面上,因為參數不包含,p因此它使得浮動更有可能無法定位,因此將保留直到文件末尾。

由於預設的圖形選項tbp通常是最好不使用可選參數。如果您確實使用其中一個,例如h最好也包括p.[H]有時作為最後手段很有用,但只是有時:-)

相關內容