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.

Possible Duplicate:
How can I add “page # of ##” on my document?
How can I get no header but still get “page x of y” in footer?

how do I add page numbers to a latex document? I want "Page x of n" format. I want a simple want to do this.

share|improve this question

marked as duplicate by Marco Daniel, Mico, Stefan Kottwitz Apr 9 '12 at 14:24

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Dublicate of How can i add page # of ## on my document? –  zeroth Apr 9 '12 at 14:18
2  
Have you ever read a small introduction like l2short? Please see: tex.stackexchange.com/questions/40172/… –  Marco Daniel Apr 9 '12 at 14:18
    
Ah, thanks. that works. However, it gives me a horizontal line at the top of the page. I do not want that. –  Harold Rosenberger Apr 9 '12 at 14:24
2  
@HaroldRosenberger that is because fancyhdr is included (it has a default header line), keep reading the answers and you will find your answer. :) –  zeroth Apr 9 '12 at 14:25

Browse other questions tagged or ask your own question.