My document consists of three parts, where part two is an external PDF which I bound in using the \includepdf command from the pdfpages package. I managed to place page numbers on these pages by use of the option pagecommand={}; e.g. \includepdf[pages=2,noautoscale,pagecommand={}]{Part_2.pdf}.

There is, however, one subtle thing I'd like to have adjusted: As it is now, all page numbers are displayed in the respective top outer corner. However I would like to have the page number of the first page of the PDF to be displayed in the middle at the bottom.

How can I do that? (The document class used is amsbook)

1 Answer 1


Insert the first page with the pagecommand -- pagecommand={\thispagestyle{plain}} and rest of the pages with pagecommand={}.


\includepdf[pages=-,noautoscale,pagecommand={\thispagestyle{plain}}]{duck1.pdf} %% first page - put pages=1
\includepdf[pages=-,noautoscale,pagecommand={}]{duck2.pdf} %% second page put pages=2-2 instead of pages=-

enter image description here

Picture courtesy by @Paulo Cereda (Thanks Paulo -- more ducks!)

  • Thanks for the answer! (and for the fancy illustrative example) ;)
    – Britzel
    Sep 15, 2012 at 13:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .