[Tex/LaTex] Remove underline of header


I want to remove the underline of the header "NOT FOR DISTRIBUTION" in the following document:



\usepackage{lipsum}% just to generate text for the example


\title{The Title}
\author{Michael Shell \and Homer Simpson}




Any suggestions on how to fix this?

Best Answer

The package fancyhdr provides the command \headrulewidth and you should redefine it to use a zero value.

So load the package first and use \renewcommand. Also there is the \footrulewidth command.