With geometry
, the placement of the header is set by specifying the distance from the text body below to the header above with headsep
:
\documentclass{article}
\usepackage[showframe, headsep = 5mm]{geometry}
\usepackage{lipsum, fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[R]{A header plus the page number: \thepage}
\begin{document}
\lipsum
\end{document}
In MS Word, on the other hand, the placement of the header is set by specifying the distance from the page margin above to the header below:
My problem now is that I am given a guide that tells me the settings in MS Word, and I have to figure out how to translate that into LaTeX. And this setting I can't figure out. How can I with the help of geometry
set the distance from the page margin above to the header below (in which case I would just set headsep = 0pt
)?
0
, the text didn't extend beyond the paper margin, so it seems likeHeader from Top
sets the distance from the page top margin to the top of the character boxes inside the header (not to imply that Word uses "boxes", of course).:-/