I am trying to fix the spacing between my header (using fancyhdr) and the body text of my paper. I am using MacTeX / XeLaTeX.

When a section title begins a page, it looks like this: page 1

On normal pages, it looks like this: page 2

My ultimate goal is for there to be ~1in between the edge of the paper and the beginning of the body text, and ~10pt between the header line and the start of the body text (for both the section title and normal text).


\documentclass[12pt, letterpaper]{article}

\setmainfont{Times New Roman}





Thank you in advance!!

  • 1
    You can use the optional argument headsep=10pt when loading geometry.
    – Bernard
    Commented Apr 25, 2021 at 21:57
  • 1
    And adjust the headheight at the same time. \usepackage[margin=1in, headheight=15pt, headsep=10pt]{geometry} Commented Apr 25, 2021 at 22:04
  • Thank you guys @PietervanOostrum @Bernard!! Will one of you make it an answer?
    – NLing
    Commented Apr 25, 2021 at 23:24

1 Answer 1


Just set headsep (and headheigth to be complete) with the geometry statement.

\usepackage[margin=1in, headheight=15pt, headsep=10pt]{geometry}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .