ページフッターのコンテンツを変更するとページの上部に線が引かれる理由

ページフッターのコンテンツを変更するとページの上部に線が引かれる理由

フッターの内容を、ページ番号ではなく選択したテキストに変更したいのですが、この変更を行うとページの上部に線が引かれてしまいます。どうすればこの線を消すことができますか?

コードは次のとおりです:

\documentclass{article}  % The style class
\usepackage{fancyhdr}    % headers and footers

\pagestyle{fancy}        % set the pagestyle to fancy to include headers and footers
\fancyhf{}               % clear the header and footer
\fancyfoot[C]{This document is written in \LaTeX. $\odot$ Last update \today}

\begin{document}
bla
\end{document}

出力のスクリーンショットは次のとおりです。

PDFの画像

答え1

追加

\renewcommand{\headrulewidth}{0pt}

文書の序文に追加します。

関連情報