How to Include PDF Pages in a LaTeX Document
Load \usepackage{pdfpages}, then use \includepdf[pages=-]{file.pdf} to insert every page of a PDF. Use pages={1,3-5} for a range, nup=2x2 to place several pages on one sheet, and pagecommand={\thispagestyle{fancy}} to keep your own headers and page numbers on the inserted pages.
Not sure it worked on your document? Paste it into LetX and compile it, free and in the browser.
Example
\usepackage{pdfpages}
% Every page of the file
\includepdf[pages=-]{scanned-form.pdf}
% Selected pages, keeping your page style
\includepdf[pages={1,3-5},pagecommand={\thispagestyle{fancy}}]{report.pdf}
% Four pages per sheet, framed
\includepdf[pages=-,nup=2x2,frame=true]{slides.pdf}Frequently asked questions
How do I include a whole PDF in LaTeX?
Load \usepackage{pdfpages} and write \includepdf[pages=-]{file.pdf}. The dash means every page. Without pages=-, only the first page is inserted.
Why do my headers and page numbers disappear on included pages?
pdfpages inserts pages with an empty page style by default. Pass pagecommand={\thispagestyle{fancy}} (or plain) to \includepdf to keep your own headers, footers and page numbers.
Can I put several PDF pages on one sheet?
Yes. Use the nup option, for example \includepdf[pages=-,nup=2x2]{slides.pdf} for four per sheet. Add frame=true to draw a border around each one.
Related LaTeX fixes
Browse all LaTeX problems & fixes, or start with the LaTeX guide.
Learn the topic properly
Try the fix in LetX
Open the editor, paste your code, and compile in seconds to see the error clear. Free, in your browser.
Open LetX Free