LaTeX图片并排插入

宏包:\usepackage{xcolor,graphicx,float}

两图并列两个标题

\begin{figure}[htbp]
\begin{minipage}[t]{0.35\linewidth}
\centering
\includegraphics[height=4.5cm,width=7.5cm]{a.eps}
\caption{图一}
\end{minipage}%
\hfill
\begin{minipage}[t]{0.5\linewidth}
\centering
\includegraphics[height=4.5cm,width=7.5cm]{b.eps}
\caption{图二}
\end{minipage}
\end{figure}

两图并列一个标题

\begin{figure}
\centering
\begin{minipage}[c]{0.5\textwidth}%调节数值可以改变两图之间的距离
\centering
\includegraphics[height=4.5cm,width=7.5cm]{a.eps}
\end{minipage}%
\begin{minipage}[c]{0.5\textwidth}
\centering
\includegraphics[height=4.5cm,width=7.5cm]{b.eps}
\end{minipage}
\caption{并排图形}
\end{figure}

你可能感兴趣的:(LaTeX)