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 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

1 Answer 1

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.