LaTex使用技巧14:插入eps图片

eps是矢量图,放大也不会失真,想在LaTex插入eps图片,记录一下过程。

在导言插入宏(\begin{document}前面)

\usepackage{graphics} 
\usepackage{epsfig}%这一句一定要加上 

导入eps
LaTex使用技巧14:插入eps图片_第1张图片

在要插入图片的地方加上类似插入png的语句

\begin{figure}[thpb]
      \centering
      \includegraphics[width=\linewidth]{img/fig1.eps}
      \caption{caption}
      \label{fig1}
\end{figure}

大功告成!

你可能感兴趣的:(LaTex,eps,LaTex)