1

I'm trying to get the captions of two subfigures to be on the side of the figures instead of below them, to be able to save some space and get them closer to each other. Any help is highly appreciated! Thanks in advance :)

\documentclass{scrreprt}
\usepackage{subfig}
\usepackage{graphicx}
\begin{document}
\begin{figure}[h!]
    \centering
    \subfloat[Top view]{%
        \includegraphics[width=0.6\textwidth]{example-image-16x9}}
    \\
    \subfloat[Side view]{%
        \includegraphics[width=0.6\textwidth]{example-image-16x9}}
    \caption{This is the ``main'' caption}
\end{figure}
\end{document}

enter image description here

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.