1

I use the IEEE template, and I hope to place two pictures side by side. But if I use the 'minipage', it will change the two column of the IEEE template.

My code is:

\documentclass[conference]{IEEEtran}

\usepackage[pdftex]{graphicx}
\usepackage{caption}

\begin{document}

\begin{figure*}[!tp]
\begin{minipage}{.49\textwidth}
\centering
\includegraphics[width=1in]{Figure1.pdf}
\caption{This is Figure 1}
\label{figure 1}
\end{minipage}
\begin{minipage}{.49\textwidth}
\centering
\includegraphics[width=1in]{Figure2.pdf}
\caption{This is Figure 2}
\label{figure 2}
\end{minipage}
\end{figure*}

\end{document}

I'm sure it's not because the pictures too wide. I have try to change the width, but it's no use.

The result is: enter image description here

But, I hope the result is like this: enter image description here

How to achieve this result? And how to change the code?

Thank you!

Torbjørn T.
  • 206,688
Sean
  • 105
  • 2
    minipage doesn't do that, the figure* environment does. Use figure (without the *). – Torbjørn T. Oct 04 '16 at 10:05
  • 1
    And use \columnwidth instead \textwidth for the minipages: \begin{minipage}{.49\columnwidth}. – esdd Oct 04 '16 at 10:17
  • @TorbjørnT. Thank you! After I removing the *, it is not placed side by side anymore. Finally, I change the set from \textwidth to \columnwidth, and it works. thank you all the same! – Sean Oct 04 '16 at 11:20
  • @WYSIWYG I think they are different questions. Thank you all the same! – Sean Oct 04 '16 at 11:21
  • @esdd Thank you! I do as what you said. It works! – Sean Oct 04 '16 at 11:22

0 Answers0