1

I want to be able to change the vertical space between where the body text ends and where the footer starts, while fixing the margins to be 20mm.

\documentclass[12pt, a4paper]{memoir}

\usepackage{lipsum}
\usepackage{geometry}

\setlrmarginsandblock{20mm}{20mm}{*}
\setulmarginsandblock{20mm}{20mm}{*}

\setheadfoot{15mm}{\baselineskip}
\setheaderspaces{*}{\baselineskip}{*}

\def\baselinestretch{1.1}

\checkandfixthelayout

\begin{document}


\chapter{Introduction}

\lipsum[1-5]
    
\end{document}

This does not give enough space between the last line of text on page 1 and the footer showing the page number

example

Thanks in advance

1
  • I noticed you are loading geometry but not using it. Jul 31, 2022 at 12:52

1 Answer 1

0

In the original configuration memoir reports to the log file

Text height and width: 737pt by 483pt
Footskip: 14.5pt

You can decrease the height of the text by say 29 points and add the same amount to the footskip to keep the bottom margin.

\documentclass[12pt, a4paper]{memoir}

\usepackage{lipsum}
%\usepackage{geometry}

\usepackage{showframe} % ONLY to show the margins <<<<<<<<<<<<

\setlrmarginsandblock{20mm}{20mm}{*}
\setulmarginsandblock{20mm}{20mm}{*}

\setheadfoot{15mm}{\baselineskip}
\setheaderspaces{*}{\baselineskip}{*}
\def\baselinestretch{1.1}

\settypeblocksize{708pt}{483pt}{*} % added <<<<<<<<<<<<
\setlength{\footskip}{43.5pt}% added <<<<<<<<<<<<

\checkandfixthelayout

\begin{document}    
    
    \chapter{Introduction}
    
    \lipsum[1-5]
    
\end{document}

zz

2
  • I think you meant to say "decrease the text height" not the width. Jul 31, 2022 at 16:36
  • Thankyou! This will work, however I am wondering if there is a way to apply this change only to the first page of a new chapter. On subsequent pages of the chapter, there is no footer, so I don't need the extra space there. Aug 1, 2022 at 10:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .