74

I'm creating a documentation with some included pdf files (mostly diagrams or tables) in the following way.

 \includepdf[pages=1-10, angle=90]{requirements/Requirements.pdf}

The command "includepdf" is supported by the package "pdfpages". My problem now is all of the included pdf pages don't have any page numbers, except for page numbers which where directly in the PDF's itself.

Is it possible to print them? Or is there any other way to include a PDF, show it on the full page and print a page number?

doncherry
  • 54,637
Mariano
  • 843

3 Answers3

94
 \includepdf[pages=1-10, angle=90, pagecommand={}]{requirements/Requirements.pdf}

Add pagecommand={} as one of your options.

schtandard
  • 14,892
nbz
  • 1,088
53

If you need page numbers at the bottom,

\includepdf[pagecommand={\thispagestyle{plain}},
  pages=1-10, angle=90]{requirements/Requirements.pdf}

Change "plain" to "headings" if you are in the report or book class and want for the included pages the same style as the others.

egreg
  • 1,121,712
3

Although a different question but responding to Wok for beamer:

\setbeamertemplate{footline}[frame number]
Migue Lo
  • 161