76

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

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

Add pagecommand={} as one of your options.

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.

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

Although a different question but responding to Wok for beamer:

\setbeamertemplate{footline}[frame number]
1

You must log in to answer this question.

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