Page Layout ⇒ How to customize page numbers
How to customize page numbers
I want to have my article print out the page numbers at the bottom of the page as "page 1, page 2..." as opposed to just "1 ,2 .."
can anyone help me on how I can do that?
Thank you in advance!!!
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How to customize page numbers
Best regards and welcome to the board
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: How to customize page numbers
Re: How to customize page numbers
Isnt there a simple code that I could type after I import the fancyhdr package that does the trick??
Please help.
Thanking you in advance!!
How to customize page numbers

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How to customize page numbers
But not a good idea since this command is also used in other places (for example the ToC).marco_d wrote:[...] an easy way:[...]Code: Select all
\renewcommand\thepage{page~\arabic{page}}
Of course the manual gives simple examples how to manage that. They may have to be adapted to your needs. Otherwise this manual would be superfluous.poudeln18 wrote:Ok so I went through the documentation for both the packages and both of them do not tell me how I could go about having the page numbers displayed as "page 1, page 2..." as opposed to "1, 2..." [...]
It is very simple and as stated above an adapted example from the manual.poudeln18 wrote:Isnt there a simple code that I could type after I import the fancyhdr package that does the trick?? [...]
Code: Select all
\documentclass[11pt,a4paper,english]{article}\usepackage[T1]{fontenc}\usepackage[latin1]{inputenc}\usepackage{babel}\usepackage{fancyhdr}\usepackage{lmodern}\usepackage{blindtext}\parindent0em\parskip\medskipamount% Page setup (fancyhdr)\fancyhf{}\cfoot{Page \thepage}\renewcommand{\headrulewidth}{0pt}\pagestyle{fancy}\begin{document}\tableofcontents\Blinddocument\end{document}
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: How to customize page numbers
Thank you so incredibly much. The way I had gone through the files was to search the words Page Number..I must have missed out on the detailed explanations. Anyhow, I will try to work on it now.
Thanks again.