Page LayoutHide Header line

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
aamruth
Posts: 1
Joined: Fri Jun 30, 2023 12:01 pm

Hide Header line

Post by aamruth »

Hi,
I am trying to not have an header on the first page but only the footer. So I wrote this:

Code: Select all

\fancypagestyle{firstpage}{%
\fancyhf{}%
\lfoot{Group \\ 2}%
\rfoot{Sport}}
Even though the header is empty, it still displays the horizontal header line on the page. How can I remove it?

Thank you!
Last edited by Stefan Kottwitz on Sat Jul 01, 2023 6:22 pm, edited 1 time in total.
Reason: code marked

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Bartman
Posts: 369
Joined: Fri Jan 03, 2020 2:39 pm

Hide Header line

Post by Bartman »

Please try to provide a Infominimal working example with marked code.

Adjust the definition of the \headrulewidth command in the definition of the page style.

You should also read the section on deprecated commands in fancyhdr.
Post Reply