61

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?

3 Answers 3

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

Add pagecommand={} as one of your options.

44

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.

2
  • What about beamer?
    – Wok
    Aug 30, 2013 at 21:18
  • 4
    @wok I'm afraid that with beamer things are very different and \thispagestyle has no effect.
    – egreg
    Aug 30, 2013 at 21:40
0

Although a different question but responding to Wok for beamer:

\setbeamertemplate{footline}[frame number]
1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy