How to Convert .eps to PDF in Latex ?

If you are searching for the answer how to convert .eps to pdf in Latex then i am sure that you are working on some research paper format and want to submit that. May be you can also use this to make a document a latex where you want to include some pictures.

In LaTex, you will be able to include pictures in .eps format and you will also be able to convert it in pdf file and will be able to include the pictures in the pdf file converted by the LaTex Software.

Suppose you want to include one Matlab figure in Latex using .eps format, then just save it with the file extension .eps . In the below picture you will be able to see that how i am converting one .jpeg Matlab figure to a figure in .eps format to make it suitable for LaTex.

Convert_eps_to_pdf_in_Latex

Now you will see that one file with .eps extension will get saved in the location where you have saved your .eps figure.

Now you need to use some common syntax to include in the LaTex file. You can use the below syntax to include the .eps figure in your LaTex file.

Code:

begin{figure}[!t]

centering

includegraphics[width=9 cm,height=8 cm]{yourfigurename.eps}

caption{Your Figure name}

label{yourfigurename}

end{figure}

Note:

In the above code you need to replace the yourfigurename.eps with your figure name that you have given.Also you need to keep in mind that you must not put any space in the figure name.Otherwise LaTex will not read the .eps file.

You can customize your figure height by changing the width and height.

In the caption you can put your own caption that you want.Also for label you can use your own label.

Now the important thing that you need to include in the header part of the file is

usepackage{epstopdf}

You can include this after the documentclass[conference]

usepackage{epstopdf} this instruction is to convert the .eps file to pdf file so that after running the LaTex you will also get the pdf file of your .eps file.

Now i think you are done and if you use the above instruction, you will be able to convert your .eps file to pdf file and will also be able to successfully add figure in your LaTex file.

If you have any question or doubt, you can ask me in the comments.I will surely answer your question.

Himadri is a passionate blogger who writes for his technology tips & tricks related blog TechnTechie. He is also a PhD candidate at the University of Canterbury. Though it is hard to balance time in between research and blogging, he still manages time to work for his own blog and writes regularly. The dashboard of this WordPress is the only place where he does not feel tired!

Related Posts Plugin for WordPress, Blogger...

Latest Comments

  1. Facebook User February 22, 2013
    • Himadri February 24, 2013
  2. Nodame March 8, 2013
    • Himadri May 15, 2013
  3. Nodame March 8, 2013
  4. Pannir May 12, 2013
    • Himadri May 15, 2013
  5. vineeth November 28, 2013

Leave a Reply

Show Buttons
Hide Buttons