TransWikia.com

How to fix bottom margin to 2.5 cm and keep the page numbering in the middle

TeX - LaTeX Asked by ahmad Hani on March 19, 2021

I write my thesis using latex, and I have a problem with fixing the bottom margin with 2.5 cm including the page numbering in the middle of the distance of 2.5 cm as in the figure below

I use this command

usepackage[left=3.5cm,right=2.5cm,top=2.5cm,includefoot,bottom=2.5cm]{geometry}  

and I add this

setlength{footskip}{1.0cm}

gin

The resulting margin in the pdf file is not correct
any suggestions ??

One Answer

Mostly intended as a demonstation.

documentclass{article}
usepackage[left=3.5cm,right=2.5cm,top=2.5cm,bottom=2.5cm,showframe]{geometry}
usepackage{lipsum}
begin{document}
Default footskip = thefootskip

Bottom of text area = thedimexpr paperheight-1in-topmargin-headheight-headsep-textheightrelax

2.5cm = thedimexpr 2.5cmrelax

lipsum[1-10]
end{document}

Answered by John Kormylo on March 19, 2021

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