[Tex/LaTex] How to put the empty subfloat subcaptions to the right

captionspositioningsubfloats

I'm putting two figures above each other with \subfloat from the subfig package. Their captions are empty as I just want to describe the figures with the main caption, but I still want the (a) and (b) subcaptions to show up, so that I've got something to refer to.

How can I put those tiny subcaptions to the right of the subfloats instead? They're eating my precious vertical space.

Here is a minimal working (but not as I'd like to) example:

\documentclass[a4paper,draft]{scrreprt}

\usepackage{graphicx} 
\usepackage[margin=1cm]{caption}
\usepackage{subfig}

\begin{document}

\begin{figure}[htb]
    \centering
    \subfloat[]{%
        \includegraphics{pic-1.png}%
        \label{label-1}%
    }\\%
    \subfloat[]{%
        \includegraphics{pic-2.png}%
        \label{label-2}%
    }%
    \caption{This is the text that describes \subref{label-1} and \subref{label-2}.}
\end{figure}

\end{document}

mwe

I started looking at the subcaption package, but it claims to be incompatible with subfig.

Best Answer

You can use the \sidesubfloat command provided by the floatrow package (this, however, will put the subcaptions to the left of the subfloats):

\documentclass[a4paper,10pt]{article}
\usepackage[demo]{graphicx}
\usepackage{floatrow}
\usepackage{subfig}

\begin{document}

\floatsetup[figure]{style=plain,subcapbesideposition=top}
\begin{figure}
  \sidesubfloat[]{\includegraphics{pic-1.png}\label{fig:sub1}}\\[10pt]%
  \sidesubfloat[]{\includegraphics{pic-2.png}\label{fig:sub2}}%
  \caption{Two subfigurfes with their caption beside}\label{fig:test}
\end{figure}

\end{document}

enter image description here