TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using \usepackage{pdfpages} to drop charts into a .tex file. It seems that this is generating a lot of wasted space.

Anyone with a suggested fix?

share|improve this question
Welcome to TeX.SE. Please note that it is always best to compose a fully compilable MWE that illustrates the problem including the \documentclass and the appropriate packages so that those trying to help don't have to recreate it. Basically show the problem instead of describing it. – Peter Grill Jul 22 '12 at 1:07
pdfpages is only for including whole pages. Use the graphicx package and the command \includegraphics to include images within a page. – Stephan Lehmke Jul 22 '12 at 5:09

Expanding the answer given in the comments, you can include a single page of a pdf document using \includegraphics[page=1]{external_file.pdf}.

This will include that page of the pdf as an image into the current document, not as a separate page. However, the external page will be included with all its margins, so perhaps you'll get still a lot of wasted space.

You have two alternatives to deal with this issue:

  1. Edit the external pdf file and crop the unwanted margins.
  2. Use options clip and trim or bb in \includegraphics (see graphicx documentation). This allows you to do the "cropping" at including time, and can be a good form of automation if all your external pdf figures have the same amount of margin.
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.