I'm using the pdfpages package to insert pages from existing pdfs into my tex file. I want to override the page numbering on the pdf pages I'm inserting.
Below is an image of what is happening in terms of page numbering when I use
\includepdf[pages=-,pagecommand={}]{filename}
The original page numbering is "0", and the page number being added by pdfpages is "3". I'd like for the "3" to be the only number that shows up.
Edit: Thanks for all the help!
Below is my code.
\documentclass{article}
\usepackage{pdfpages}
\newcommand{\ip}[1]{\includepdf[pages=-,pagecommand={},clip,
trim=5mm 37mm 5mm 20mm]{#1.pdf}}
\begin{document}
\ip{d}
\ip{g}
\ip{h}
\end{document}
Example PDF. Also, is there a way to replace the cropped out part with dummy space, shift the document upward, or lower the page numbering? Otherwise, the page numbering is appearing over the text.
includepdf
theclip
andtrim
options that apply to the\includegraphics
command.