Page Layout ⇒ Index Page Number
-
- Posts: 4
- Joined: Sat Jul 07, 2012 5:50 pm
Index Page Number
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
Index Page Number
Since you didn't provide a

\printindex
invokes \pagestyle{plain}
. Should you happen to use a KOMA class you can redefine \indexpagestyle
:Code: Select all
\documentclass{scrartcl}
\usepackage{scrpage2}
\usepackage{makeidx}
\usepackage{kantlipsum} % to provide sample text
\clearscrheadings
\ohead{\thepage}
\pagestyle{scrheadings}
\renewcommand*\indexpagestyle{scrheadings}
\makeindex
\begin{document}
\kant[1]\index{Entry}
\kant[2]\index{Another entry}
\kant[3]\index{Entry}
\kant[4]\index{Yet another entry}
\printindex
\end{document}