I have had a play with what I think you are trying to achieve.
Begin file-------------------------------------------------------------------
\documentclass{book}
\usepackage{fancyhdr}
\pagestyle{fancy}
\begin{document}
\chapter{X Y Z}
\newpage
ABCDDF
\newpage
\chead{center text}
bla bla bla bla bla bla
\end{document}
End file---------------------------------------------------------------------
I have published a pdf of the output at;
http://www.inet.net.nz/~rossd/volkerbook.pdf
Hope that helps.
Cheers Ross Drummond
On Sat, 15 Oct 2005 02:38, Ross Drummond wrote:
> The fancyhdr package may be what you are after.
>
> I have not used it myself, nor am I a TeXpert.
>
> Cheers Ross Drummond
>
> On Sat, 15 Oct 2005 00:54, Volker Kuhlmann wrote:
> > > try \hrulefill
> >
> > No, this is a command for use as leader in table of contents, ie
> > something totally different.
> >
> > Volker