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

fancyhdrheader-footerrules

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:

\documentclass{article}
\usepackage{fancyhdr}
\pagestyle{fancy}

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

\begin{document}
Foo Bar
\end{document}

Best Answer

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

\fancyhf{} % sets both header and footer to nothing
\renewcommand{\headrulewidth}{0pt}
% 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