Home > latex > Remove margins from PDF files

Remove margins from PDF files

Problem

When writing articles in LaTeX, it happens that you want to include a diagram created with gnuplot. Gnuplot creates an EPS output, but sometimes it leaves too much white space (margin) around the figure. How to get rid of that?

Solution

If someone knows a better solution, let me know. Here is how I do it. First, convert the EPS to PDF. Then use Adobe Acrobat Professional to remove the margins: open the PDF, then go to Document -> Crop Pages… Here choose the option Remove White Margins, then OK.

If you want to rotate a PDF: go to Document -> Rotate Pages…

Categories: latex Tags: , , , , , ,
  1. Mat
    January 31, 2011 at 08:38

    If you have the eps file, just use epstopdf to convert to pdf, it will do it without the margins.

  1. No trackbacks yet.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: