Tuesday, June 25, 2013

Latex: Figures one next to each other

\begin{figure}[htbp]
  \begin{minipage}[b]{0.5\linewidth}
    \centering
    \includegraphics[width=\linewidth]{figure01.eps}
    \caption{The caption for figure 1}
    \label{fig:chapter001_dist_001}
  \end{minipage}
  \hspace{0.5cm}
  \begin{minipage}[b]{0.5\linewidth}
    \centering
    \includegraphics[width=\linewidth]{figure02.eps}
    \caption{The caption for figure 2.}
    \label{fig:chapter001_reward_001}
  \end{minipage}
\end{figure}


http://www.fabiancanas.com/entry/side-by-side-latex

No comments:

Post a Comment