# how to reduce the space between subfigures with \subfigure [closed]

I want to put figures in rows, but the vertical space between sub-images is too large, how can I reduce the space between them?

Note: The template uses \usepackage{subfigure}, so it cannot use \usepackage{subcaption}

The code is there:

\begin{figure}
\centering

\subfigure[]{\label{fig:test1}\includegraphics[width=100mm]{test1.jpg}}

\subfigure[]{\label{fig:test2}\includegraphics[width=100mm]{test2.jpg}}

\caption{The space is too large}

\end{figure}


• Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – user31729 Jun 9 '14 at 9:41
• subfigure is deprecated, use subfig instead please, see also tex.stackexchange.com/questions/144782/… – user31729 Jun 9 '14 at 9:48
• I use subfig - I've just tried a basic example myself and I don't get anything like the amount of space you do and I don't have any special settings. Have you got any whitespace included around your graphics that you need to clip (add , clip=true inside the square brackets)? Of course, subfig might do things differently from subfigure but as stated above you should probably switch. – FionaSmith Jun 9 '14 at 10:01
• Did you give a try at the floatrow package? It also can manage sideways captions, a row can be either a row of figures or a row of subfigures, and it cooperates with the caption package. – Bernard Jun 9 '14 at 10:14