Page Layout ⇒ customizing page numbers
customizing page numbers
Is this possible ?
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
- Stefan Kottwitz
- Site Admin
- Posts: 10334
- Joined: Mon Mar 10, 2008 9:44 pm
customizing page numbers
Regarding the numbering, you can declare lower case roman by
Code: Select all
\pagenumbering{roman}
Code: Select all
\pagenumbering{arabic}
For printing page numbers and possibly running headers, you can use fancyhdr.
Stefan
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
customizing page numbers
Code: Select all
\documentclass[11pt,a4paper,english]{book}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage[raggedright,pagestyles]{titlesec}
\usepackage{blindtext}
\author{komal}
\title{Page numbers customized easily}
\assignpagestyle{\chapter}{empty}
\begin{document}
\maketitle
\frontmatter
\tableofcontents
\listoffigures
\listoftables
\mainmatter
\blinddocument
\appendix
\blinddocument
\backmatter
\begin{thebibliography}{9}
\bibitem{key} Bibliography Item
\end{thebibliography}
\end{document}
The blindtext package is only for creating dummy text, thus no part of the solution.
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10