I am using the following code to put my two figures side by side with different captions,
\begin{figure*}[t!]
\centering
\begin{subfigure}[b]{0.5\textwidth}
\centering
\includegraphics[height=1.2in]{a}
\caption{Lorem ipsum}
\end{subfigure}%
~
\begin{subfigure}[b]{0.5\textwidth}
\centering
\includegraphics[height=1.2in]{b}
\caption{Lorem ipsum, lorem ipsum,Lorem ipsum, lorem ipsum,Lorem ipsum}
\end{subfigure}
\caption{Caption place holder}
\end{figure*}
I get the following output:
However, I want to position both my images vertically same line, like the following:
Desired output:
figure
environment? Is your document maybe being typeset intwocolumn
mode? If so, the only place where LaTeX will place a double-wide float is at the top of the page, which would make the[t!]
location specifier unnecessary. – Mico Jun 19 '13 at 12:58twocolumn
mode. In MWE, I should have deleted that part, sorry. – Sait Jun 20 '13 at 14:15