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:
Best Answer
Use the
t
option for the alignment of the subfigures:Using this, both images will be aligned on top: