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 ?!

1 Answers1

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}
John Kormylo
  • 79,712
  • 3
  • 50
  • 120
  • 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 09:23