以下を作成したいと思います。
a b
xxxxx xxxxx
1 xxxxx xxxxx
xxxxx xxxxx
xxxxx xxxxx
2 xxxxx xxxxx
xxxxx xxxxx
ここで、「x」のブロックは画像であり、「a」、「b」、「1」、および「2」はテキストです。
これまでの私の2つの試みは次のとおりです。
\begin{figure}
\begin{center}
\begin{tabular}{ccc}
& a & b \\
1 & \subfloat[]{\includegraphics[width=0.47\textwidth]{im.png}} &
\subfloat[]{\includegraphics[width=0.47\textwidth]{im.png}} \\
2 & \subfloat[]{\includegraphics[width=0.47\textwidth]{im.png}} &
\subfloat[]{\includegraphics[width=0.47\textwidth]{im.png}} \\
\end{tabular}
\end{center}
\end{figure}
生成するもの:
a b
xxxxx xxxxx
xxxxx xxxxx
1 xxxxx xxxxx
xxxxx xxxxx
xxxxx xxxxx
2 xxxxx xxxxx
と
\begin{figure}
\begin{center}
\begin{tabular}{m{1cm}m{6cm}m{6cm}}
& a & b \\
1 & \subfloat[]{\includegraphics[width=0.47\textwidth]{im.png}} &
\subfloat[]{\includegraphics[width=0.47\textwidth]{im.png}} \\
2 & \subfloat[]{\includegraphics[width=0.47\textwidth]{im.png}} &
\subfloat[]{\includegraphics[width=0.47\textwidth]{im.png}} \\
\end{tabular}
\end{center}
\end{figure}
生成するもの:
a b
xxxxx xxxxx
1 xxxxx xxxxx
xxxxx xxxxx
xxxxx xxxxx
2 xxxxx xxxxx
xxxxx xxxxx