Remove white space around PDF graphics with pdfcrop

[2009-03-08] latex, hack, pdf
(Ad, please don’t block)
Matthias Hölzl pointed out pdfcrop to me. It is very useful in the following scenario: You want to include a PDF graphic in your LaTeX document. But the application at hand only exports complete pages as PDF (or you print to PostScript and convert the PostScript to PDF). What pdfcrop does is that it removes any whitespace around a graphic, reducing the bounding box to the actual content. If you are using TeX Live then pdfcrop is already installed on your computer, because it comes standard with that LaTeX distribution.