Tuesday, August 24, 2010

Create great latex PDF figs using Open Office Draw

I found out that I can use open office Draw to make great vector graphic presentations and then import that into my latex articles and latex beamer presentations. Here is what you do:

1: Export your as PDF from OpenOffice Draw

If I saved my file as CoolFigure.pdf then I would do:

2. pdftops -eps CoolFigure.pdf
3. cat CoolFigure.eps | ps2eps > CoolFigure.eps && epstopdf CoolFigure.eps

Then to include it in my Latex document I just do:

4. \begin{figure}
\includegraphics[width=4in]{CoolFigure}
\end{figure}