如何将图像包装在一起?

如何将图像包装在一起?

我想做如下图所示的操作。也就是说,我想以以下方式包装 15 张图片。请问我该怎么做? 在此处输入图片描述 谢谢

答案1

快速、粗糙且不太完美:

代码输出

\documentclass{article}
\usepackage{graphicx}
\usepackage{subcaption}
\begin{document}
\begin{figure}
\raggedleft
\rotatebox[origin=c]{90}{Some text}
\fbox{%
\begin{minipage}{0.9\linewidth}
\includegraphics[width=2cm,height=4cm]{example-image}\hfill
\includegraphics[width=2cm,height=4cm]{example-image}\hfill
\includegraphics[width=2cm,height=4cm]{example-image}\hfill
\includegraphics[width=2cm,height=4cm]{example-image}\hfill
\includegraphics[width=2cm,height=4cm]{example-image}
\end{minipage}%
}

\rotatebox[origin=c]{90}{Some other text}
\fbox{%
\begin{minipage}{0.9\linewidth}
\includegraphics[width=2cm,height=4cm]{example-image-a}\hfill
\includegraphics[width=2cm,height=4cm]{example-image-a}\hfill
\includegraphics[width=2cm,height=4cm]{example-image-a}\hfill
\includegraphics[width=2cm,height=4cm]{example-image-a}\hfill
\includegraphics[width=2cm,height=4cm]{example-image-a}
\end{minipage}%
}

\rotatebox[origin=c]{90}{Some third text}
\fbox{%
\begin{minipage}{0.9\linewidth}
\includegraphics[width=2cm,height=4cm]{example-image-b}\hfill
\includegraphics[width=2cm,height=4cm]{example-image-b}\hfill
\includegraphics[width=2cm,height=4cm]{example-image-b}\hfill
\includegraphics[width=2cm,height=4cm]{example-image-b}\hfill
\includegraphics[width=2cm,height=4cm]{example-image-b}
\end{minipage}%
}

\begin{minipage}{0.9\linewidth}
\subcaptionbox{}[2cm]{}\hfill
\subcaptionbox{}[2cm]{}\hfill
\subcaptionbox{}[2cm]{}\hfill
\subcaptionbox{}[2cm]{}\hfill
\subcaptionbox{}[2cm]{}\hfill
\end{minipage}\hspace{\fboxsep}

\caption{Bla bla}
\end{figure}
\end{document}

相关内容