I'm having a strange problem. I modified the document margin :
Code: Select all
\addtolength{\oddsidemargin}{-.875in}
\addtolength{\evensidemargin}{-.875in}
\addtolength{\textwidth}{1.85in}
\addtolength{\topmargin}{-.875in}
Do you have any ideas ??
Code: Select all
\addtolength{\oddsidemargin}{-.875in}
\addtolength{\evensidemargin}{-.875in}
\addtolength{\textwidth}{1.85in}
\addtolength{\topmargin}{-.875in}
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Take a close look at the log file. You may get a warning regarding a too smallskwateur wrote:[…] The space between the footer and the bottom of the page isn't the same on the first page and on my others pages, indeed, the first page has a much bigger space. […]
\headheight
. The compiler adjusts this length automatically on the following pages so that the page geometry looks different. cgnieder already mentioned the geometry package as a better method for setting up the page layout.And you have read the assumptions in my last reply? What does the log file (*.log) say? As already requested, you should prepare a proper minimal example to give an adequate problem description.skwateur wrote:[…] the first page always has a bigger or smaller margin than the 2 following pages. […]
geometry
but you did not adjust the head height yet.Code: Select all
Package Fancyhdr Warning: \headheight is too small (12.0pt):
Make it at least 65.4pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.
\setlength{\headheight}{65.4}
and everything is fine now, thanks a lot !You can do this by passing a corresponding option to the geometry package.skwateur wrote:[…] I fixed it with\setlength{\headheight}{65.4}
and everything is fine now, thanks a lot !
Code: Select all
\usepackage[…,headheight=66pt,…]{geometry}
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p