LaTeX Saving a Figure from Wiki to EPS for Latex

  • Thread starter Thread starter Fairy111
  • Start date Start date
  • Tags Tags
    Figure Latex
AI Thread Summary
To insert a figure into LaTeX, it is essential to save the image in the correct format. For those using dvips as their compiler, figures must be in encapsulated PostScript (EPS) format, while users of pdftex can utilize formats like JPG, PDF, or PNG. ImageMagick is recommended for converting images to the desired format, and users should select the appropriate interface based on their operating system when downloading. Additionally, if opting for PNG files, users can directly save from Paint and use specific LaTeX code to include the image. It's important to check if any additional LaTeX packages are needed for image inclusion.
Fairy111
Messages
72
Reaction score
0
I would like to insert a figure into Latex. I have taken the figure from wiki and saved it on Paint.

How do I save it as an eps file? As it needs to be saved as this type to enable me to insert it in my Latex document.

Thankyou
 
Physics news on Phys.org
http://www.imagemagick.org" will convert just about any image file type to another image file type.
 
Last edited by a moderator:
I usually use .png files in LAtex and you can save as straight fro paint
 
If you use .png what would be the code you put into Latex?
Do you need to download any other packages for Latex before you can do this?

Thankyou
 
Also, nbo10, I am slightly confused when i click on the link imagemagick - which interface do i download?

Thanks
 
Hi there,

It will depend on the compiler choice you make. If you choose to compile your code with dvips, you will need to have your figures in encapsulated postscript. If you choose pdftex as your compiler, you can save your files in .jpg, .pdf, .png and others.

Cheers
 
Fairy111 said:
Also, nbo10, I am slightly confused when i click on the link imagemagick - which interface do i download?

Thanks

It depends on your OS. On the lefthand side of the screen, under binary Releases choose your OS.
 

Similar threads

Replies
4
Views
2K
Replies
4
Views
3K
Replies
23
Views
3K
Replies
12
Views
3K
Replies
3
Views
3K
Replies
4
Views
5K
Replies
3
Views
2K
Back
Top