TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I wanted to have all page numbering at right bottom of each page. So I used package fancyhdr.

I put this at the preamble

%customize page numbering on right hand side
\fancyhf{} %clear all header and footer fields

It works OK, especially at first page of every chapters with \thispagestyle{fancy} where I put after \chapter{}.

but it doesn't work at these pages below, table of contents, figures, tables and nomenclature. They are appear bottom of page at the middle. Am I missing something here?

%Table of content


%List of tables 

\renewcommand\listtablename{LIST OF TABLES}
\addcontentsline{toc}{chapter}{LIST OF TABLES}

%List of figures

\renewcommand\listfigurename{LIST OF FIGURES}
\addcontentsline{toc}{chapter}{LIST OF FIGURES}


share|improve this question
Welcome to TeX.SE. While code snippets are useful in explanations, it is always best to compose a fully compilable MWE that illustrates the problem including the \documentclass and the appropriate packages so that those trying to help don't have to recreate it. – Peter Grill Jul 18 '12 at 5:05
thanks Peter Grill for the reminder.... mine document class is report – azlanaznam Jul 18 '12 at 5:54
up vote 1 down vote accepted

In the standard document classes, the first page of a chapter is set using \thispagestyle{plain}. You can redefine the plain page style to be similar to your fancy page style, which will make all references to \thispagestyle{plain} be equivalent to \thispagestyle{fancy} by following the guideline in the fancyhdr documentation (section 7 Redefining plain style, p 7):

\usepackage{lipsum}% http://ctan.org/pkg/lipsum
\usepackage{fancyhdr}% http://ctan.org/pkg/fancyhdr
%customize page numbering on right hand side
\fancypagestyle{plain}{% Redefining plain page style
  \fancyhf{} %clear all header and footer fields
\fancyhf{} %clear all header and footer fields
\pagestyle{fancy}% Fancy page style

\chapter{First chapter}%\thispagestyle{fancy}
\chapter{Second chapter}%\thispagestyle{fancy}
\chapter{Last chapter}%\thispagestyle{fancy}

By redefining the plain page style, you don't have to issue \thispagestyle{fancy} at the start of every chapter, as is indicated in the above MWE.

share|improve this answer
thank you so much Werner... it works.... :-) – azlanaznam Jul 18 '12 at 5:52
@azlanaznam: Consider up-voting and possibly marking it as ‘Accepted’ by clicking on the tickmark below their vote count (see How do you accept an answer?). It assigns reputation points to the author of the answer (and to you!). – Werner Jul 18 '12 at 5:55
sorry.. may i ask one more question. i want to have 8pt size, currently is 12pt as the whole document in 12pt. i tried to insert \fancyfoot[RO]{\fontsize{8pt}\thepage}, it doesn't work. thank you for your advice. – azlanaznam Aug 2 '12 at 5:07
thank you so much. :-) sorry i didn't know about that. thank you for advising me on that. – azlanaznam Aug 2 '12 at 8:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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