I define the style of page numbering using fancy
package, however, on Index page number is set in the center of footer. How to get the number in right place or remove it at all from Index page (at least...)?
\documentclass[]{article}
\usepackage{lastpage}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\rhead{\thepage/\pageref{LastPage}}
\renewcommand{\headrulewidth}{0pt}
\usepackage{makeidx}
\makeindex
\begin{document}
\section{A} \index{A}
\newpage
\section{B} \index{B}
\printindex
\end{document}