How to decrease the the gap between the number of the page and the last line in the page to be as in the screenshot blew ?! noting that I’m using \documentclass{article} .

enter image description here

  • And how you define page layout? Do you use geometry packages? By it this easy to accomplish. – Zarko Nov 13 '16 at 3:17
  • Please provide a minimal working example. Just telling us your class tells us something, but not a whole lot. – cfr Nov 13 '16 at 3:29
  • That page number looks far too close to the text to my eye .... (It is easy to do it, but it doesn't mean it should be done, of course.) – cfr Nov 13 '16 at 3:31

On a page-by-page basis, insert


on the page you want to have content closer to the footer. Here <len> should be a multiple of \baselineskip.

For adjusting the distance globally, you could use geometry, setting the skip to the footer to 0pt:

  • Can I ask another question here regarding the same subject ? – Hussein Eid Nov 13 '16 at 15:10

If you are using the article class without other page layout modifications, it should suffice to redefine \footskip:


Note that the length is the distance between the bottom of the main text and the bottom of the footer.

Or, to adjust relative to the default you could do (e.g.)


Either of these will result in moving the page number closer to the main text (without moving the text margin).

  • Your answer is greatly appreciated Ms. Emma :) – Hussein Eid Nov 13 '16 at 14:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.