[Tex/LaTex] Remove line from Header

fancyhdrheader-footerrules

I am using

\usepackage{fancyhdr}
\pagestyle{fancy}
........
\lhead{My Name}

This setup creates header with a horizontal line.

  1. How can I remove line appearing in header?
  2. When I convert this document to pdf it creates one inch extra space in my header. This space does not show up in dvi display or in postscript file. But does show up in pdf. How can I remove extra space in pdf?
\documentclass[10pt, twocolumn]{article}

\usepackage {amsfonts}
\usepackage{mathtools, fancyhdr}
\usepackage{IEEEtrantools}

\pagestyle{fancy}
\addtolength{\evensidemargin}{-1cm}
\addtolength{\oddsidemargin}{-1cm}
\setlength{\parindent}{0in}
\setlength{\parskip}{6pt}

\renewcommand{\headrulewidth}{0pt} 

\usepackage[margin=0.7in, headsep=4pt]{geometry} 

\begin{document}
\chead{My Name, Date...... }

\begin{IEEEeqnarray*}{lcr}
e^{-at} \hspace{1cm} \sin bt & \frac{b}{(s+a)^2+b^2} \hspace{1cm} & s>-a\\
\end{IEEEeqnarray*}
\end{document}

Best Answer

You can set the width of the rules using

\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}

That should effectively make them disappear.