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 use the following code to have a customized header in all pages, but I've lost the page numbering:

\title{\textbf{DOCUMENT TITLE}}
\usepackage{color, colortbl}








share|improve this question
up vote 2 down vote accepted

To get the page number, you must use \thepage.

For example, put the following line:


in the preamble of your document, to get that number at the right side of the header.

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.