Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question
add comment

migrated from stackoverflow.com Jun 21 '11 at 12:49

This question came from our site for professional and enthusiast programmers.

2 Answers

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

Add pagecommand={} as one of your options

share|improve this answer
add comment

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.

share|improve this answer
    
What about beamer? –  Wok Aug 30 '13 at 21:18
    
@wok I'm afraid that with beamer things are very different and \thispagestyle has no effect. –  egreg Aug 30 '13 at 21:40
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.