I have to write an official document following some precise instructions:
top margin: 3;
bottom margin: 2.5;
left margin 2.5;
right margin: 2.5;
header distance from border: 1.25;
footer distance from border: 1.25;
The thing is, I can't find the right commands to do it.
By far, I have written this:
\geometry{vmargin={3cm,2.5cm}}
\geometry{hmargin={2.5cm,2.5cm}}
How can I add the header and the footer's distances from the border?
Looking online, I found this:
\geometry{top = 1.25cm, bottom = 1.25cm}
but I don't think it works properly.
Can anybody help me please?
headsep
andheadheight
(if needed), andfootskip
. For your example, if I correctly understood your descriotion of page layout::\documentclass{article} \usepackage[hmargin={2.5cm,2.5cm},vmargin={3cm,2.5cm}, headheight=1.25cm, %headsep=1.25cm, footskip=1.25cm, showframe]{geometry} \begin{document} hello! \end{document}