It is hard to describe what I'm looking for. This is the reason why I have made an image:

Has someone an idea how to do this with LaTeX? The subfloats are no problem, but how can I create "category 1" and "category 2"?
summer
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
just write them before the subfigures, e.g.summer wrote: Has someone an idea how to do this with LaTeX? The subfloats are no problem, but how can I create "category 1" and "category 2"?
Code: Select all
\documentclass{article}
\usepackage[demo]{graphicx}
\usepackage{subcaption}
\begin{document}
\begin{figure}
\centering
category 1\hfill\begin{subfigure}[c]{0.25\linewidth}
\includegraphics[width=0.9\linewidth]{a1}
\end{subfigure}%
\begin{subfigure}[c]{0.25\linewidth}
\includegraphics[width=0.9\linewidth]{a2}
\end{subfigure}%
\begin{subfigure}[c]{0.25\linewidth}
\includegraphics[width=0.9\linewidth]{a3}
\end{subfigure}\par
\medskip
\raisebox{\baselineskip}{category 2}\hfill\begin{subfigure}[c]{0.25\linewidth}
\includegraphics[width=0.9\linewidth]{b1}
\caption{}
\end{subfigure}%
\begin{subfigure}[c]{0.25\linewidth}
\includegraphics[width=0.9\linewidth]{b2}
\caption{}
\end{subfigure}%
\begin{subfigure}[c]{0.25\linewidth}
\includegraphics[width=0.9\linewidth]{b3}
\caption{}
\end{subfigure}
\caption{categorized subfigures}
\end{figure}
\end{document}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis