Decide placement and content of header for the references when using apa.cls

I'm using apa.cls in conjunction with biblatex. When printing the reference list, "REFERENCES" gets printed in the header, flushed to the left. However, I would like the text to be centered and to say something else. How would I go about fixing this?

Minimal (non)working example:

\documentclass[noapacite]{apa}

\usepackage{biblatex}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@thesis{A01,
author = {Megalomanius, M.},
year = {1900},
title = {Why I am so great}},
}
\end{filecontents}

\nocite{*}

\begin{document}

\printbibliography

\end{document}

-

If you want to customize the tile of the references section, you can use \defbibheading:

\defbibheading{bibliography}{\centering The New Name}


With the help og the fancyhdr package you can define a new page style (with customized headers and footers) to be applied to the references section:

\documentclass[noapacite]{apa}
\usepackage[backend=biber]{biblatex}
\usepackage{fancyhdr}
\usepackage{filecontents}

\fancypagestyle{myrefstyle}{
\fancyhf{}
}

\begin{filecontents}{\jobname.bib}
@thesis{A01,
author = {Megalomanius, M.},
year = {1900},
title = {Why I am so great}},
}
\end{filecontents}

\begin{document}

\nocite{*}

\clearpage
\pagestyle{myrefstyle}
\printbibliography

\end{document}


If the twoside option is in use, you'll have to replace

\fancyhead[R]{\thepage}


with

\fancyhead[RO,LE]{\thepage}


in my example code.

The apa document class uses upper case italics to format the headers, so you can use something like

\fancypagestyle{myrefstyle}{
\fancyhf{}
}


to get the same style as the one used by apa.cls.

-
Thanks. This officially solves my question so I've marked it as accepted. However, when I compile everything I notice that the font of the text is a little bit thinner than the original header. Also, now, I've noticed that the original header isn't exactly centered. It alternates between being a little bit nudged to the right and a little bit nudged to the left. Can I extract the exact style from apa.cls somehow and use it within fancyhdr? – Speldosa Nov 2 '11 at 9:11
Notice that the thickness and size of the text gets right when I do nothing and just compile the file, getting the "REFERENCES" header. – Speldosa Nov 2 '11 at 9:15
@Speldosa: right now I have to leave, but as soon as I can I'll update my answer. – Gonzalo Medina Nov 2 '11 at 13:35
@Speldosa: I've updated my answer. – Gonzalo Medina Nov 3 '11 at 3:18
Thank you very much! However, the text still has some discrepancies between the two headers. For example, when I write "ARE" the R and E of the original header touches at the bottom. Not so with the new header. I'll just start a new thread to try to sort this out. Thanks for your help! – Speldosa Nov 3 '11 at 9:52