Heyho,
my third question for today 🙂
I had again a look at the subcaption package manual by Axel Sommerfeldt but did not got managed to have just one subcaption for all subfigures in a row. Can anybody assist me?
\documentclass[a4paper,oneside,10pt]{scrartcl}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{subcaption}
%%%%%%%%%%%%
\begin{document}
\begin{figure}
\centering
\begin{subfigure}[b]{0.3\textwidth}
\centering
{\rule{3cm}{2cm}}
\caption{Noon}
\end{subfigure}%
\begin{subfigure}[b]{0.3\textwidth}
\centering
{\rule{3cm}{2cm}}
\caption{Noon}
\end{subfigure}
\begin{subfigure}[b]{0.3\textwidth}
\centering
{\rule{3cm}{2cm}}
\caption{Midnight}
\end{subfigure}%
\begin{subfigure}[b]{0.3\textwidth}
\centering
{\rule{3cm}{2cm}}
\caption{Midnight}
\end{subfigure}
\caption{Cool (left) and uncool (right) pictures; Recorded at noon (a) and at midnight (b).}
\end{figure}
\end{document}
not desired output:
desired output:
…sorry for my inability, but I am sitting in front of my laptop for 14 h 🙂
kind regards
Benjamin
Best Answer
You can use the same
subfigure
environment for more than one figure: