Graphics, Figures & TablesCropping EPS files

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
sgp
Posts: 30
Joined: Thu Jul 22, 2010 11:45 am

Cropping EPS files

Post by sgp »

Hi all,
I am a new LaTeX user and i need to attach images into my files. My plots are in .eps format. I learnt how to insert them into TeX but i am unaware of how to crop it inside TeX itself. I use TeXWorks for typing and MIKTeX 2.8 for TeX. In my computer's internet connection, MIKTeX is not getting updated. I am unable to tick the updates. What could be the problem?

regards,
sgp.
Last edited by sgp on Thu Jul 22, 2010 6:43 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

Cropping EPS files

Post by Stefan Kottwitz »

Hi sgp,

\includegraphics of the graphicx package provides paramaters for cropping, like the viewport and trim options, see graphicx documentation.
Or do you just want to crop white margins?

Stefan
LaTeX.org admin
sgp
Posts: 30
Joined: Thu Jul 22, 2010 11:45 am

Re: Cropping EPS files

Post by sgp »

Hi Stefan_K,

Thanks for the reply.
The plotting software i use gives the output only in A4 sheet. So i need to concentrate only in certain region. Is there a way to do it?

Thanks in advance,
sgp.
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Cropping EPS files

Post by frabjous »

Stefan has already provided a link to documentation that tells you how to do it.
sgp
Posts: 30
Joined: Thu Jul 22, 2010 11:45 am

Re: Cropping EPS files

Post by sgp »

@above all
thanks a lot. i found it in the document and its working.

regards,
sgp.
Post Reply