Using IEEEtran
package, I want to place two figures with two captions (one right one left) in a column. A layout like this
---------------------------- ----------------------------
---------------------------- ----------------------------
----------------------------
---------------------------- ********* **********
---------------------------- ********* **********
---------------------------- ********* **********
---------------------------- ********* **********
---------------------------- ********* **********
---------------------------- caption1 caption2
----------------------------
---------------------------- ----------------------------
---------------------------- ----------------------------
When I search for that, the results mostly explain about "how to put a wide figure on two columns".
current code which stack the figures is listed below
\begin{figure}[!h]
\centering
\includegraphics[width=0.6\textwidth]{figs1.eps}
\caption{caption1}
\label{f1}
\end{figure}
\begin{figure}[!h]
\centering
\includegraphics[width=0.6\textwidth]{figs2.eps}
\caption{caption2}
\label{f2}
\end{figure}
What is the solution then?
UPDATE
After applying the method in the answer, the width of caption2 exceeds the column width. I used the codes that I understood from the answer. Please let me where did I made the mistake
\begin{figure}[!h]
\begin{minipage}[t]{0.5\linewidth}
\centering
\includegraphics[width=1\textwidth]{figs1.eps}
\caption{caption1}
\label{f1}
\end{minipage}
\hspace{0.1cm}
\begin{minipage}[t]{0.5\linewidth}
\centering
\includegraphics[width=1\textwidth]{figs2.eps}
\caption{caption2}
\label{f2}
\end{minipage}
\end{figure}
Best Answer
You can insert two
minipage
s inside a singlefigure
environment.