600字范文,内容丰富有趣,生活中的好帮手!
600字范文 > Latex 如何使两张图片并排显示(分栏)

Latex 如何使两张图片并排显示(分栏)

时间:2018-07-30 03:59:33

相关推荐

Latex 如何使两张图片并排显示(分栏)

用在beamer中:

\column{.5\textwidth}\begin{figure}[H]\centering\includegraphics[width=0.85\textwidth]{earthquake_wenchuan.PNG}\caption{f}\label{Fig.earthquake1}\end{figure}\column{.5\textwidth}\begin{figure}[H]\centering\includegraphics[width=0.85\textwidth]{earthquake_wenchuan.PNG}\caption{f}\label{Fig.earthquake2}\end{figure}\end{columns}

效果如下(由于presentation的主题与发生灾难时的通信有关, 所以使用了当时汶川地震时的一组照片):

用在article中:

除此之外, 还可以用minipage的形式:

\begin{figure}[htp]\centering\begin{minipage}[t]{0.49\textwidth}\centering\includegraphics[width=1\textwidth]{name1.png}\caption{}\label{}\end{minipage}\begin{minipage}[t]{0.49\textwidth}\centering\includegraphics[width=1\textwidth]{name2.png}\caption{}\label{}\end{minipage}\end{figure}

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。