I have a pdf-file, but it does not fill the entire page of my latex document. I want to use this pdf-file as my front page in a latex-document I have made. I use:



But it won't work. What can I do?

  • 2
    Try \includepdf[noautoscale]{filename.pdf} Does filename.pdf and your document have the same dimensions? – Bobyandbob Jun 3 '17 at 11:02
  • Welcome to TeX.SX! Please help us (and also you) and add a minimal working example (MWE), that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with \documentclass and ending with \end{document}. – Bobyandbob Jun 3 '17 at 11:02
  • How can I check it? I thought all pdf-files had the same size as the latex-document as a standard thing. How to check the size of my pdf-file and latex-document? – zahra Jun 3 '17 at 11:44
  • 1
    Look at the properties tab in your pdf reader. – JPi Jun 3 '17 at 13:35
  • Thanks! And how do I check the height and width of my latex page? – zahra Jun 3 '17 at 20:05

You can use the scale option. \includepdf[scale=2]{filename}. Adapt the value of scale= to your needs.

However, you can find the manual of pdfpages via texdoc pdfpages on the commandline.

This works on my Linux machine with texlive 2016:


     \includepdf[noautoscale=true, scale=2]{mindmap.pdf}

Ah, and for the width of the whole page:

\includepdf[noautoscale=true, width=\paperwidth]{mindmap.pdf}
  • \includepdf[scale=\textwidth]{filename} does not work! – zahra Jun 3 '17 at 18:33
  • @zahra Well, see my updated answer. But »doesn't work« isn't helpfull. – Keks Dose Jun 3 '17 at 20:39
  • Can I tell my latex-document only to give my first page a specific height and width? When I use: \setlength\paperheight{296.8cm} \setlength\paperwidth{247.4cm} my pdf-fil is in perfect size filling the entire front page, but the rest of the document gets a wrong size. – zahra Jun 3 '17 at 20:45
  • Probably you don't want to change the size of the paper, but only the margins? For changing the margins use the geometry package, texdoc geometry ! – Keks Dose Jun 4 '17 at 8:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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