Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am trying to insert two pictures side by side in a two column document.

This works fine, but inserts only in one column:

\begin{figure}
\hfill
\subfigure[Title A]{\includegraphics[width=0.50]{g/M1.pdf}}
\hfill
\subfigure[Title B]{\includegraphics[width=0.50]{g/M2.pdf}}
\hfill
\caption{Title for both}
\end{figure}

But if I change it to figure*, Latex moves both of my pictures to the bottom of the page. What should I do to keep them on the same page, but span two columns?

share|improve this question
1  
Have you tried \begin{figure}[h] ? In other words, you didn't specify the placement of your figure... – Vivi Dec 14 '12 at 3:31
@Vivi: Yes, tried that, still goes to the bottom page! – Moeb Dec 14 '12 at 3:38
3  
Please provide a full MWE (minimum working example) that generates the problem you're trying to solve. The code snippet you're providing is not sufficient to diagnose what may be going on. – Mico Dec 14 '12 at 3:54
I think that you need to write .../M1.pdf}}% to avoid an extra space. -and you need the placement specifiers. – Hans-Peter E. Kristiansen Dec 14 '12 at 5:49
width= takes a length not a scale factor. I don't know what width=0.50 does (even though I implemented it) but I'm not sure if you intended scale=0.5 (ie half the natural size of the image) or width=0.5\textwidth (half the width of the text line) – David Carlisle Dec 14 '12 at 9:29
show 4 more comments

closed as too localized by Martin Schröder, Werner, lockstep, Kurt, Stefan Kottwitz Jan 5 at 22:49

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.