Skip to content

Instantly share code, notes, and snippets.

@aurora-mareviv
Last active December 17, 2015 06:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aurora-mareviv/5568953 to your computer and use it in GitHub Desktop.
Save aurora-mareviv/5568953 to your computer and use it in GitHub Desktop.
EPS to PDF converter!
%%%%%%%%%%%%%%%%%%%%%%%%
%% EPS TO PDF CONVERTER %%
%%%%%%%%%%%%%%%%%%%%%%%%
% Author: Mareviv
% Under GNU General Public License
% Paste this document entirely into a file with .TEX extension (.tex). Open it with TeXworks
% Tips for starting with LaTeX: http://talesofr.wordpress.com/2013/05/02/learning-latex-from-scratch/
\documentclass{article}
\usepackage{graphicx} % support the \includegraphics command and options
\usepackage{epstopdf} % Included EPS files automatically converted to PDF to include with pdflatex
\begin{document}
This is an .EPS to .PDF converter, using a minimal {\LaTeX} document.
Place the .EPS file in the same folder as this converter.
Insert the .EPS figure name inside the curly brackets (in this case rnetwork2).
\begin{figure}
\centering
\includegraphics[width=1.1\linewidth]{rnetwork2}
\caption{A network graph.}
\end{figure}
Copy and paste the following code to convert more images at the same time:
\begin{figure}
\centering
\includegraphics[width=1.1\linewidth]{rnetwork2}
\caption{Another network graph.}
\end{figure}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment