How to make the PDFs produced by `pdflatex` smaller

One of the major issues faced with documents using Latex is the size of the document. The best method to reduce the size of the document or pdf is to use ghost script.
Ghostscript (gs) is installed by most Linux distributions and easily available for other platforms (Windows/ GNU/Linux / Mac).

Issue the below command to generate a smaller size pdf.

 gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf

Lots of options are available and you can change that according to your need.Change the input.pdf with your file name.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

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