Latex中插圖
在Latex中,可以通過以下的包及代碼來進(jìn)行插圖.
\usepackage{graphix} ? ? % 在latex正文前面加上導(dǎo)入宏包
\begin{figure}
\centering{
\includegraphics[width=0.9\linewidth]{Analysis.png}}?
\caption{A USV landing on a manipulator on the manipulator. }
\label{Introduction}
\end{figure}
當(dāng)我們執(zhí)行上述語句后,會發(fā)現(xiàn)圖的位置會自動調(diào)整,有時候我們需要強(qiáng)制圖片在本頁或者本欄置頂時,可以進(jìn)行如下操作。
置頂方法
\usepackage{float} ?? % 使用float 宏包
\usepackage{graphix}
\begin{figure}[H] ? ? ? % 使用H選項
\centering{
\includegraphics[width=0.9\linewidth]{Analysis.png}}?
\caption{A USV landing on a manipulator on the manipulator. }
\label{Introduction}
\end{figure}?
經(jīng)過上述的操作(圖中加粗及斜體部分,真實使用不需要加粗斜體),圖片就會放到當(dāng)前欄的頂端了。