I need to put three pictures side by side. From the hint in this post How to order 3 images horizontally?, I have this code.
\documentclass[12pt]{article}
\usepackage{graphicx}
\begin{document}
\begin{figure}[!htb]
\centering
\minipage{0.22\textwidth}
\includegraphics[width=\linewidth]{pic/m1}
\caption{Conventional}\label{fig:model1}
\endminipage\hspace{1cm}%\hfill
\minipage{0.22\textwidth}
\includegraphics[width=\linewidth]{pic/m2}
\caption{Knowledge Transfer}\label{fig:model2}
\endminipage\hspace{1cm}%\hfill
\minipage{0.22\textwidth}%
\includegraphics[width=\linewidth]{pic/m3}
\caption{Piaget}\label{fig:model3}
\endminipage
\end{figure}
\end{document}
However, with the lengthy caption in the second picture, these pictures are not correctly aligned. How to fix this?


