Monday, November 26, 2012

EPS in latex

In linux add this to preamble

\usepackage{epstopdf}

Then
\begin{document}
\includegraphics{figure.eps}
\end{document}

and run

$pdflatex -shell-escape yourfile.tex

This will convert the eps file to a pdf that latex can digest!

Enjoy