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

I'm making my CV with the europecv package and I would like to customize one tiny detail, but I have no idea how.

Let's assume my CV is 3 pages. After these 3 pages I have 2 more pages, they are basically attachments that lists all my projects. This makes the CV with 5 pages. The footer on all 5 pages will show Page X / 5.

What I would like to do is to show Page X / 3 on the first 3 pages, totally ignoring the footer on the last 2 pages. Is this possible somehow?

General document structure:

    % CV pages (content)
    % Extra pages (attachments)
share|improve this question
up vote 1 down vote accepted

One solution would be to create two documents and use external tools like pdftk to concatenate the files, but it is also possible to manually modify the TotPages counter (europecv relies on the totpages package) like so:

\usepackage{lipsum, graphicx}



\addtocounter{TotPages}{-2}% <-- this must be modified manually

The main problem with this is that it is not an automatic solution, so one must pay attention to the the number of 'extra' pages one is adding to the CV.

share|improve this answer

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.