Hi I am using fancyhdr package to define my page number to bottom right. Normally it is working but it is not working on two pages and the page number is at the bottom center instead of bottom right. It may be because I have defined a numbering format on those pages. But I am not being able to solve this. Can you please help?

\usepackage[a4paper, margin=1in]{geometry}
\usepackage{amsmath, amsfonts}
\parindent 0ex
\usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue, citecolor=blue]{hyperref}
\chapter{Methods of analysis of dams}

\end document 

enter image description here

enter image description here

1 Answer 1


The first page of each chapter uses the plain pagestyle, which by default has no headings and the page number at the bottom center. The headings for the table of contents, list of figures, etc, are typeset using the \chapter* command, so they have the same behaviour.

You can change this by redefining the plain style, as described in the fancyhdr documentation, Section 7.

Add this to the preamble of your document:

  \fancyhf{}% clear all header and footer fields

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.