Latex并排显示两张图片

\begin{figure}[htbp]
    \begin{minipage}[t]{0.5\linewidth}
        \centering
        \includegraphics[width=\textwidth]{figures/karate_graph.pdf}
        \centerline{(a) Input: Karate Graph}
    \end{minipage}%
    \begin{minipage}[t]{0.5\linewidth}
        \centering
        \includegraphics[width=\textwidth]{figures/karate.pdf}
        \centerline{(b) Output: Representation}
    \end{minipage}
    \caption{The proposed method learns a latent space representation of social interactions.}
\end{figure}

\begin{figure}[htbp]
    \subfigure[Input: Karate Graph]{
       \centering
        \includegraphics[width=0.48\textwidth]{figures/karate_graph.pdf}
    }\subfigure[Output: Representation]{
        \centering
        \includegraphics[width=0.48\textwidth]{figures/karate.pdf}
    }\caption{The proposed method learns a latent space representation of social interactions.\label{inut_output}}
\end{figure}

Latex并排显示两张图片_第1张图片

你可能感兴趣的:(latex)