我正在尝试在表格环境中配置子图(包括多行命令)的表格,但结果却在右侧的多行图上方出现了奇怪的空白。我已经使用适当的用户包开始和结束了文档。我在页面前后附加了附加的子图,并使用 \ContinuedFloat 命令。任何帮助都将不胜感激!请注意,这是针对地质大师项目的参考。
代码:
\begin{figure}[h!]
\centering
\caption{Annotated stratigraphy at site RKBS9.}
\label{fig:RKBS9_site}
\begin{subfigure}{\textwidth}
\centering
\includegraphics[width= \linewidth]{Figures/Study_Site/Outcrops/RKBS9_slope_sq.pdf}
\caption{Overview of site 9, indicating positions of detailed pictures.}
\label{fig:RKBS9_slope}
\end{subfigure}
\end{figure}%
\begin{figure}[ht]\ContinuedFloat
\centering
\begin{tabular}{cc}
\begin{subfigure}{0.45\textwidth}
\centering
\includegraphics[width= \linewidth]{Figures/Study_Site/Outcrops/RKBS9_top_sq2.pdf}
\caption{Upper cover-bed stratigraphy.}
\label{fig:RKBS9_top}
\end{subfigure}
& \multirow{4}{*}{\begin{subfigure}{0.45\textwidth}
\centering
\includegraphics[width= \linewidth]{Figures/Study_Site/Outcrops/RKBS9_out_sq2.pdf}
\caption{Contact between Breccas 2 and 1, with the interbedded Hinemaiaia Tephra.}
\label{fig:RKBS9_out}
\end{subfigure}} \\
\begin{subfigure}{0.45\textwidth}
\centering
\includegraphics[width= \linewidth]{Figures/Study_Site/Outcrops/RKBS9_paleosol_sq2.pdf}
\caption{Paleosol separating Breccia 3 (upper) and Breccia 2 (lower).}
\label{fig:RKBS9_close}
\end{subfigure}
\\
\end{tabular}
\end{figure}%
\begin{figure}[ht]\ContinuedFloat
\centering
\begin{subfigure}{\textwidth}
\centering
\includegraphics[width= \linewidth]{Figures/Study_Site/Outcrops/RKBS9_longbomb.pdf}
\caption{Detailed view of contact between Breccia 2 and 1, with a bomb sag indicting the violent
impact ballistics preceding the deposition of Breccia 2.}
\label{fig:RKBS9_longbomb}
\end{subfigure}
\end{figure}
子图表格的输出(不包括其他页面的图):
答案1
欢迎来到 TeX.SE!
借助包valign
中的宏adjustbox
(也可以加载graphicx
),您可以将表格中的第一个图像和“多行”单元格中的图像移动到其顶部:
\documentclass{article}
\usepackage[vmargin=20mm]{geometry}
\usepackage{multirow}
\usepackage{subcaption}
\usepackage[demo, % in real document remove this option!
export]{adjustbox}
\begin{document}
\begin{figure}[ht]
\caption{Annotated stratigraphy at site RKBS9.}
\label{fig:RKBS9_site}
\begin{subfigure}{\textwidth}
\includegraphics[width=\linewidth] {Figures/Study_Site/Outcrops/RKBS9_slope_sq.pdf}
\caption{Overview of site 9, indicating positions of detailed pictures.}
\label{fig:RKBS9_slope}
\end{subfigure}
\end{figure}
\begin{figure}[ht]\ContinuedFloat
\centering
\begin{tabular}{cc}
\begin{subfigure}[t]{0.45\textwidth}
\centering
\includegraphics[width=\linewidth, valign=t] {Figures/Study_Site/Outcrops/RKBS9_top_sq2.pdf}
\caption{Upper cover-bed stratigraphy.}
\label{fig:RKBS9_top}
\end{subfigure} & \multirow{4}{*}{\begin{subfigure}{0.45\textwidth}
\centering
\includegraphics[width=\linewidth, height=1.1\linewidth, valign=t] {Figures/Study_Site/Outcrops/RKBS9_out_sq2.pdf}
% in real document remove `height` option or adjust to desired value
\caption{Contact between Breccas 2 and 1, with the interbedded Hinemaiaia Tephra.}
\label{fig:RKBS9_out}
\end{subfigure}} \\
%
\begin{subfigure}{0.45\textwidth}
\centering
\includegraphics[width= \linewidth] {Figures/Study_Site/Outcrops/RKBS9_paleosol_sq2.pdf}
\caption{Paleosol separating Breccia 3 (upper) and Breccia 2 (lower).}
\label{fig:RKBS9_close}
\end{subfigure} &
\end{tabular}
\end{figure}
\begin{figure}[ht]\ContinuedFloat
\begin{subfigure}{\textwidth}
\centering
\includegraphics[width= \linewidth] {Figures/Study_Site/Outcrops/RKBS9_longbomb.pdf}
\caption{Detailed view of contact between Breccia 2 and 1, with a bomb sag indicting the violent impact ballistics preceding the deposition of Breccia 2.}
\label{fig:RKBS9_longbomb}
\end{subfigure}
\end{figure}
\end{document}