15

I want to put two subfloat figures under each other but they keep being beside each other. This is the script used:

\begin{figure}[t]
\subfloat[A]{\includegraphics[width=\linewidth]{a}\label{a}}
\subfloat[B]{\includegraphics[width=\linewidth]{b}\label{b}}
\caption{abc} 
\label{abc}
\end{figure}
  • Just leave an empty line between the two \subfloat lines. You may want to add \centering just below \begin{figure}[t] (which should better be \begin{figure}[tp]). – egreg Apr 6 '13 at 13:07
  • 4
    Too localized? Hmm. Apparently, I too was in this particular geographic area, moment in time, and narrow situation. There are wormholes! – Mars Aug 13 '16 at 22:40
16

Putting a \newline between the two subfloats did the trick. Nevermind.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.