我找到了放置 6 个数字的解决方案,如下所示:
a b c
d e f
现在我想像这样排列图形:
a c e
b d f
如何实现?谢谢
答案1
借助表格环境:
\documentclass{article}
\usepackage{subcaption}
\usepackage{graphicx}
\begin{document}
\begin{figure}[htb]
\centering
\begin{tabular}[t]{@{}p{0.3\hsize}@{}}
\begin{subfigure}{\hsize}\centering
\includegraphics[width=0.9\hsize]{example-image}
\caption{A}
\label{A}
\end{subfigure} \\
\begin{subfigure}{\hsize}\centering
\includegraphics[width=0.9\hsize]{example-image}
\caption{B}
\label{B}
\end{subfigure}%
\end{tabular}
\begin{tabular}[t]{@{}p{0.3\hsize}@{}}
\begin{subfigure}{\hsize}\centering
\includegraphics[width=0.9\hsize]{example-image}
\caption{C}
\label{C}
\end{subfigure} \\
\begin{subfigure}{\hsize}\centering
\includegraphics[width=0.9\hsize]{example-image}
\caption{D}
\label{D}
\end{subfigure}%
\end{tabular}
\begin{tabular}[t]{@{}p{0.3\hsize}@{}}
\begin{subfigure}{\hsize}\centering
\includegraphics[width=0.9\hsize]{example-image}
\caption{E}
\label{F}
\end{subfigure} \\
\begin{subfigure}{\hsize}\centering
\includegraphics[width=0.9\hsize]{example-image}
\caption{E}
\label{E}
\end{subfigure}
\end{tabular}
\caption{Value}
\end{figure}
\end{document}