LaTex表格并排

5070阅读 0评论2014-11-09 mpoix
分类:LINUX


Using minipage to display two figures/table side-by-side in Latex

In the following example, ‘figure1′ and ‘figure2′ are being displayed side-by-side. One can also specify not only tables but also any other environment inside the minipage.

\begin{figure}[h!]
\begin{minipage}[b]{0.4\linewidth}
    \includegraphics{img/figure1}
    \caption{Figure 1}
\end{minipage}
\begin{minipage}[b]{0.4\linewidth}
    \includegraphics{img/figure2}
    \caption{Figure 2}
\end{minipage}
\end{figure}
One observation though: Do not skip a line between minipages. Otherwise, it will place the figures one below the other.

Reference
[1]


上一篇:Microsoft looking to release Office for Linux in 2014?
下一篇:Tainted Kernel