
아래 그림에 표시된 큰 간격을 텍스트로 채우고 싶습니다.
이것은 내가 사용한 코드입니다.
\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
플로트를 배치할 수 없어 다음까지 유지될 가능성이 훨씬 더 높아집니다. 문서의 끝.
기본 Figure 옵션은 tbp
일반적으로 이므로 선택적 인수를 사용하지 않는 것이 가장 좋습니다. 예 를 들어 하나를 사용하는 경우 h
포함하는 것이 가장 좋습니다 p
. [H]
때로는 최후의 수단으로 유용하지만 가끔씩만 유용합니다. :-)