TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to set up custom page size with zero margins. Here is the example

\usepackage{lipsum} % just for sample text



\chapter*{First Chapter}

This does not compile (with pdflatex), the error is

! Class memoir Error: \footskip (0.0pt) is too large for \lowermargin (-8.9395pt) by 8.9395pt.

I explicitly set header/footer to empty, how come it tries(?) to put something there and gets negative lowermargin? Thanks

share|improve this question
up vote 6 down vote accepted

by default memoir actually does not give you the text height you ask for, instead it choose the one that is closest and is an integral number of lines high.

In your case you need to switch the algorithm by using

share|improve this answer
Worked perfectly, thanks! – Alex Vorobiev Apr 30 '11 at 3:41
@AlexV: It does? When I copy & paste your document to an empty file and add the [fixed], pdflatex will give me: ERROR: Class memoir Error: \marginparsep is zero or negative. – Thomas Nov 22 '11 at 21:36
@Thomas: Yes it does. I use MikTex 2.9 with the latest updates. – Alex Vorobiev Jan 11 '12 at 19:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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