How can I skip to a newline in a subfloatrow environment (floatrow package) after two graphics. I want to typeset two graphics A.pdf and B.pdf on the same line, C.pdf and D.pdf should be on a new line. All graphics should be part of the same subfloatrow, considering the labels and captions.
I'm missing part of the floatrow concept so I tried silly things like introducing newlines (\\ and \newline) which of course won't work.
This is the code I used:
preamble:
\documentclass{article}
\usepackage{floatrow}
\usepackage{graphicx}
\usepackage{subfig}
\usepackage{caption}
\begin{document}
\clearpage
\begin{figure}[h!]
\ffigbox[\FBwidth]
{\begin{subfloatrow}
\sidesubfloat[]{\includegraphics[width = 0.4\textwidth]{A.pdf}}%
\sidesubfloat[]{\includegraphics[width = 0.4\textwidth]{B.pdf}}%
\sidesubfloat[]{\includegraphics[width = 0.4\textwidth]{C.pdf}}%
\sidesubfloat[]{\includegraphics[width = 0.4\textwidth]{D.pdf}}%
\end{subfloatrow}}
{\caption{this is a caption}}
\end{figure}
\end{document}
\start{document}. I assume you thought of writing\begin{document}. – Thorsten May 3 '11 at 13:57subfigpackage to your code to make it (except for the actual figures) compilable. – Gonzalo Medina May 3 '11 at 14:34