When using \printindex at the end of the document then the first index page has a centred page number.

But the default for the whole document is right aligned page number.

Then, the second index page has correctly the right aligned page number from the current page.

Could you please help me ?


% Packages required by doxygen

% Font selection
\usepackage{mathptmx}            % similar to Times New Roman
\usepackage[scaled=.90]{helvet}  % 
\usepackage{courier}             % 
% Page & text layout
\usepackage[titles]{tocloft} % indent of the "table-of-contents" lines
% Headers & footers
\usepackage{fancyhdr}  % making  use of the fancy-package     
% page numbering
\fancyfoot[RO, RE]{{\thepage} {/} {\pageref{lastpage}}} 
... generated text 

1 Answer 1


I could not get your MWE to run, and in any case it does not demonstrate the issue of relevance as there are no index entries. That said the index package and article class defines pagestyle plain for its first page. Try adding the following line in your code somewhere before the index


If that doesn't work then post a MWE that illustrates your problem and removes the un-required parts.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .