0

Is it possible to make a very little space (even if it is 1mm) between the last line in the page and the number of the page?. For sure, I need to do this for all pages not only for one page. Note that I’am using \documentclass{article} and I provide

\usepackage{geometry}
\geometry{footskip=15pt}

Here is a screenshot of how the bottom of the pages looks like. Your help is greatly appreciated.

enter image description here

The question in other words: Is it possible to get the number of the page slightly down ?!

  • isn't this a repeat of your previous question tex.stackexchange.com/questions/338951/editing-margins – David Carlisle Nov 13 '16 at 19:54
  • No, it is different, since otherwise I would never re-post it. – Hussein Eid Nov 13 '16 at 19:56
  • \geometry{footskip=1mm} should do it. However don't forget some letters have descenders (g, p,q,y, italic f), so 1mm might be a little just. – Bernard Nov 13 '16 at 20:28
  • Where can I add this command ? In a line ? or you mean that I have to edit footskip=15pt to footskip=1mm ?? @Bernard – Hussein Eid Nov 13 '16 at 20:30
  • 1
    Neither question is very clear so hard to tell. It is always best to include a complete document that shows the problem. – David Carlisle Nov 13 '16 at 21:00
1

The dimen register \footskip is the distance from the bottom (baseline) of the text area to the baseline of the footer. But to prevent overlaps, LaTeX forces a minimum separation of \lineskip between the bottom of one line and the top of the next (as can be shown using \footskip=0pt).

\documentclass{article}    
\usepackage{lipsum}% MWE only

\newlength{\normalfootskip}
\setlength{\normalfootskip}{\footskip}

\begin{document}
\lipsum[1-7]
\footskip=\normalbaselineskip
\lipsum[8-12]
\footskip=\normalfootskip
\lipsum[12-16]
\end{document}
  • What \lipsum[1-8] precisely mean ? – Hussein Eid Nov 14 '16 at 15:17
  • It lists the first 8 paragraphs of some obscure latin text. This is a standard way of filling a document for an MWE. – John Kormylo Nov 14 '16 at 15:31
  • Ok Is there a way to move the number of the page a bit down for just one page or certain number of pages not the whole document ?. – Hussein Eid Nov 14 '16 at 15:52
  • Evidently so. You might also look at the afterpage package (using \global\footskip=...). – John Kormylo Nov 14 '16 at 22:08
  • @HusseinEid RTFM! -- Which is in the case of texlive or MikTeX easy: just type on the command line "texdoc packagename" and usually you'll get the PDF with the manual. E.g.: "texdoc lipsum" will display the manual of the lipsum package. – Keks Dose Nov 15 '16 at 9:23

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.