Latex雙欄圖片放置範例
我以前寫圖片大小都是設定scale參數(例如scale=0.1)不過若是要排版雙欄的測試影像,調整就很麻煩。
改由只設定圖片寬度,讓Latex自動設定高度就方便許多! (width=5cm)
\begin{figure}
\centering
\begin{tabular}{cc}
\includegraphics[width=5cm]{06.eps} & \includegraphics[width=5cm]{P05.eps} \\
\scriptsize{(a) Test image $1$ with $\#FG/N=11.03\%$.} & \scriptsize{(f) Test image $6$ with $\#FG/N=14.63\%$.} \\
\\
\includegraphics[width=5cm]{14.eps} & \includegraphics[width=5cm]{P04.eps} \\
\scriptsize{(b) Test image $2$ with $\#FG/N=3.74\%$.} & \scriptsize{(g) Test image $7$ with $\#FG/N=\%$.} \\
\\
\includegraphics[width=5cm]{IMG_0539_roi.eps} & \includegraphics[width=5cm]{H01.eps} \\
\scriptsize{(c) Test image $3$ with $\#FG/N=13.12\%$.} & \scriptsize{(h) Test image $8$ with $\#FG/N=10.69\%$.} \\
\\
\includegraphics[width=5cm]{pic03_roi.eps} & \includegraphics[width=5cm]{H02.eps} \\
\scriptsize{(d) Test image $4$ with $\#FG/N=10.74\%$.} & \scriptsize{(i) Test image $9$ with $\#FG/N=4.51\%$.} \\
\\
\includegraphics[width=5cm]{P02.eps} & \includegraphics[width=5cm]{H05.eps} \\
\scriptsize{(e) Test image $5$ with $\#FG/N=20.75\%$.} & \scriptsize{(j) Test image $10$ with $\#FG/N=5.78\%$.} \\
\end{tabular}
\caption{Ten test images with different proportion $(\#FG/N)$ of
true foreground pixels.}\label{fig:testimg}
\end{figure}
留言