# Why are pagenumbers centered with \pagestyle{headings} on \chapter{}'s first pages?

I'm using documentclass report with options twoside and openright. The pagestyle is headings. This is a minimal working example:

\documentclass[twoside,openright]{report}
\usepackage{blindtext}
\begin{document}
\chapter{Chapter}
\blindtext \blindtext
\section{Section}
\blindtext \blindtext
\end{document}


Why is the page number at the first page of the chapter centered at the bottom and not on the right even though the document style headings works on all other pages? How to move the page number on the first page of a chapter to the right side as it should be using the document option openright?

-
\chapter issues \thispagestyle{plain}. –  egreg May 3 '12 at 12:28
Possible duplicate of page number position. –  Stephan Lehmke May 3 '12 at 12:40

By default the pages where chapters start are decorated with page style plain. That is why you get that behavior. If you want to change it, you have to redefine the page style plain like :

\documentclass[twoside,openright]{report}
\usepackage{blindtext}

\makeatletter