# includepdf into .tex file but crop each page's header off

I was hoping to find a way to insert several (many) pages of a pdf but crop off the header (with the date, filename, etc.). I'm using

``````\subsection{Notes}
\includepdf[scale=0.8,pages=8-20,pagecommand=\subsection{blub}]{Notes.pdf}
``````

but maybe I need to use `pdftk` somehow to do the batch cropping?

Thanks for any suggestions!

-
`\includepdf` accepts all the options that `\includegraphics` does; so `trim=l b r t,clip` should work (unless you're using XeLaTeX that, currently, doesn't support cropping). You have to compute the four dimensions, but probably `l` and `r` should be 0, while `t` and `b` depend on the document you have. – egreg Oct 10 '12 at 17:11
Aaah. thanks @egreg! I used: \includepdf[scale=0.8,pages=8-10,clip,trim=5mm 5mm 10mm 10mm]{Notes.pdf} – nate Oct 10 '12 at 18:53

`\includepdf` accepts all the options that `\includegraphics` does; so
``````trim=left bottom right top,clip
should work (unless you're using XeLaTeX that, currently, doesn't support cropping). You have to compute the four dimensions, but probably `left` and `right` should be 0, while `top` and `bottom` depend on the document you have.
``````\includepdf[scale=0.8,pages=8-10,clip,trim=5mm 5mm 10mm 10mm]{Notes.pdf}