Page Layout ⇒ Index Page Number
-
LaTeXUser54
- Posts: 4
- Joined: Sat Jul 07, 2012 5:50 pm
Index Page Number
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
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}