TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can you recommend an easy way to place the page number on an imported PDF? For instance, when using:


\includepdf was used twice because the code (of the imported TeX / PDF) would affect (a little bit) the TeX code of the main document. I do not want to rewrite some stuff within the main document nor change the imported TeX code cause it looks fine now. Therefore, the \includepdf option was used.

The page number of the main document should be used on the last pages. Any advice?

share|improve this question

The option pagecommand={\thispagestyle{plain}} does the trick.

share|improve this answer
@Monkey: See: meta.tex.stackexchange.com/questions/4/… – Marco Daniel Mar 10 '13 at 13:38

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.