0

I wanted to change my footer content so it would be a text I chose instead of the page number. But making this change draws a line to the top of the page. How to get rid of it?

Here is the code:

\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}

Here is the screenshot of the output:

image of the pdf

1 Answer 1

1

Add

\renewcommand{\headrulewidth}{0pt}

to the preamble of your document.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.