1

我想将 4 组 3 个子图排列在一页上,如附图所示。我希望 4 组子图中的每一个都有自己的图号和标题。是否可以将页面拆分为可以放置子图的区域? 在此处输入图像描述.

4

1 回答 1

4

您可以将子图集合放在minipage. 每个都有一些\subcaptions 和它自己的\caption。可以根据需要更改间距。

在此处输入图像描述

\documentclass{article}

\usepackage{graphicx,subcaption}

\begin{document}

\begin{figure}
  \centering
  \begin{minipage}{.48\linewidth}
    \centering
    \subcaptionbox{First top left}
      {\includegraphics[width=\linewidth,height=50pt]{example-image-a}}

    \subcaptionbox{Second top left}
      {\includegraphics[width=\linewidth,height=50pt]{example-image-b}}

    \subcaptionbox{Third top left}
      {\includegraphics[width=\linewidth,height=50pt]{example-image-c}}

    \caption{Top left}
  \end{minipage}\quad
  \begin{minipage}{.48\linewidth}
    \centering
    \subcaptionbox{First top right}
      {\includegraphics[width=\linewidth,height=50pt]{example-image-a}}

    \subcaptionbox{Second top right}
      {\includegraphics[width=\linewidth,height=50pt]{example-image-b}}

    \subcaptionbox{Third top right}
      {\includegraphics[width=\linewidth,height=50pt]{example-image-c}}

    \caption{Top right}
  \end{minipage}

  \bigskip

  \begin{minipage}{.48\linewidth}
    \centering
    \subcaptionbox{First bottom left}
      {\includegraphics[width=\linewidth,height=50pt]{example-image-a}}

    \subcaptionbox{Second bottom left}
      {\includegraphics[width=\linewidth,height=50pt]{example-image-b}}

    \subcaptionbox{Third bottom left}
      {\includegraphics[width=\linewidth,height=50pt]{example-image-c}}

    \caption{Bottom left}
  \end{minipage}\quad
  \begin{minipage}{.48\linewidth}
    \centering
    \subcaptionbox{First bottom right}
      {\includegraphics[width=\linewidth,height=50pt]{example-image-a}}

    \subcaptionbox{Second bottom right}
      {\includegraphics[width=\linewidth,height=50pt]{example-image-b}}

    \subcaptionbox{Third bottom right}
      {\includegraphics[width=\linewidth,height=50pt]{example-image-c}}

    \caption{Bottom right}
  \end{minipage}
\end{figure}

\end{document}
于 2017-11-10T16:17:40.597 回答