![ラテックス内のサブ図内のサブ図](https://rvso.com/image/327802/%E3%83%A9%E3%83%86%E3%83%83%E3%82%AF%E3%82%B9%E5%86%85%E3%81%AE%E3%82%B5%E3%83%96%E5%9B%B3%E5%86%85%E3%81%AE%E3%82%B5%E3%83%96%E5%9B%B3.png)
2つの別々の画像を1つのサブフィギュアに配置して、別の画像と組み合わせてフィギュアを完成させようとしています。
(img-a) (img-b) (img-c) (img-d)
(a) (b)
Figure 1: A caption
いくつかの方法を試しましたが、どれもうまくいきません。何かアイデアがあれば教えてください。
答え1
環境に配置できる画像の数に制限はありませんsubcaption
。
\documentclass{article}
\usepackage{subcaption}
\usepackage{graphicx}
\begin{document}
\begin{figure}
\centering
\begin{subfigure}[b]{.4\textwidth}
\centering
\includegraphics[width=.4\textwidth]{example-image}\quad
\includegraphics[width=.4\textwidth]{example-image}
\caption{}
\end{subfigure}\quad
\begin{subfigure}[b]{.4\textwidth}
\centering
\includegraphics[width=.4\textwidth]{example-image}\quad
\includegraphics[width=.4\textwidth]{example-image}
\caption{}
\end{subfigure}
\caption{A caption}
\end{figure}
\end{document}