latex 图片并排、竖排

\usepackage{subfigure}

%图片并排

% \begin{figure}

%  \centering

%  \subfigure[Small Box with a Long Caption]{

%    \label{fig:subfig:a} %% label for first subfigure

%    \includegraphics[width=0.5\textwidth]{2.eps}}

%  \hspace{1in}

%  \subfigure[Big Box]{

%    \label{fig:subfig:b} %% label for second subfigure

%    \includegraphics[width=0.5\textwidth]{3.eps}}

%  \caption{Two Subfigures}

%  \label{fig:subfig} %% label for entire figure

%\end{figure}

%图片竖排

\begin{figure}

\centering

\subfigure[子标题1]{

\begin{minipage}[b]{0.5\textwidth}

\includegraphics[width=1\textwidth]{2.eps}

\end{minipage}

}

\subfigure[子标题2]{

\begin{minipage}[b]{0.5\textwidth}

\includegraphics[width=1\textwidth]{3.eps}

\end{minipage}

}

 \caption{大标题} \label{fig:1}

\end{figure}

你可能感兴趣的:(latex 图片并排、竖排)