TransWikia.com

Fancyhdr vertical overlap with body section title

TeX - LaTeX Asked by adairdavid on August 16, 2020

I am writing up a product report, and building my header with fancyhdr.

On the first page, the section header (in the body) is overlapping with the page header, as shown here:

Overlapping header and text body

This is not repeated on following pages:

Non-overlapping body text

The header is specified as a 2-line table in the left side, and a 3-line table in the right side.

How can I remove the overlap with the section title? Thanks!

2 Answers

Use

usepackage[showframe]{geometry} 

to see the margins configuration. Then you can set it up and increase the distance between the text area and the header (namely headsep). For example,

usepackage[showframe,headsep=1cm,headheight=2cm]{geometry}. 

Correct answer by Sigur on August 16, 2020

I had the same issue and I have solved by equaling headheight to the font size (mine was 14 pt) i.e.

setlength{headheight}{14pt}

I hope that this help.

Answered by Sir Sam on August 16, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP