Three figures in a row

From Yefu's notes
Jump to: navigation, search

解法来自《Latex插图指南》

\begin{figure}
\centering
\begin{minipage}[b]{0.3\textwidth}
\centering
\includegraphics[width=1in]{placeholder}
\caption{Caption 1}
\end{minipage}%
\hspace{0.04\textwidth}%
\begin{minipage}[b]{0.3\textwidth}
\centering
\includegraphics[width=1in]{placeholder}
\caption{Caption 2}
\end{minipage}\\[20pt]
\begin{minipage}[b]{0.3\textwidth}
\centering
\includegraphics[width=1in]{placeholder}
\caption{Caption 3}
\end{minipage}%
\hspace{0.04\linewidth}%
\begin{minipage}[b]{0.3\textwidth}
\centering
\includegraphics[width=1in]{placeholder}
\caption{Caption 4}
\end{minipage}%
\hspace{0.04\linewidth}%
\begin{minipage}[b]{0.3\textwidth}
\centering
\includegraphics[width=1in]{placeholder}
\caption{Caption 5}
\end{minipage}
\end{figure}