[Tex/LaTex] How to remove the top horizontal bar in fancyhdr


When using fancyhdr, how do you remove the top horizontal rule?
I do not want a header at all, just a footer.

This is what I do now:


\cfoot{text 2}
\rfoot{text 3}

Foo Bar

Best Answer

There are various examples in the fancyhdr documentation of redefining the \headrulewidth:

\fancyhf{} % sets both header and footer to nothing
% your new footer definitions here

will do what you want.

To learn more about fancyhdr, you could either look into its documentation or at the respective chapter in the Wikibook LaTeX.

Related Question