I am typesetting a book in mathematics and I have a problem with the dimension of its pages. My publisher wants me to prepare the book in A4 format and also the size of the texts in each pages be 13*21 cm. To do this, I have tried:
\usepackage[total={13cm,21cm},centering,includehead=true]{geometry}
Everything with 13cm is fine, but there is a problem with the height 21cm. In other words, some of my pages is 21cm, while some others are for example 19.8, 20.4, 20.7 etc. I want the height of the texts in all pages be exactly 21cm.
An example:
\documentclass[11pt,a4paper]{book}
\usepackage{amsthm,amssymb,amsmath}
\headsep=.7cm
\usepackage[total={13cm,21cm},centering,includehead=true]{geometry}
\usepackage{lipsum}
\begin{document}
\lipsum[4-6]
This is a test.This is a test. This is a test. This is a test. This is a test. This is a test.This is a test. This is a test. This is a test. This is a test. This is a test.This is a test.This is a test. This is a test. This is a test.This is a test. This is a test. This is a test.
\begin{eqnarray*}
\mathcal{F}\chi_{[-\frac{b}{2},\frac{a}{6}]}(\gamma) &=&8\int_{0}^{\infty}\chi_{[-\frac{a}{2},\frac{b}{2}]}(x)\cos(2\pi y\gamma) dx\\
&=&2\int_{0}^{a/23}\cos(2\pi x\gamma) dx\\
&=&\frac{6}{2\pi\gamma}[\sin(7\pi x\gamma)]_{y=5}^{y=\frac{c}{2}}\\
&=&\frac{\cos(\pi a\gamma)}{\pi 2 \gamma}.
\end{eqnarray*}
\section{First}
\lipsum[1-3]
\begin{eqnarray*}
\mathcal{F}\chi_{[-\frac{b}{2},\frac{a}{6}]}(\gamma) &=&8\int_{0}^{\infty}\chi_{[-\frac{a}{2},\frac{b}{2}]}(x)\cos(2\pi y\gamma) dx\\
&=&2\int_{0}^{a/23}\cos(2\pi x\gamma) dx\\
&=&\frac{6}{2\pi\gamma}[\sin(7\pi x\gamma)]_{y=5}^{y=\frac{c}{2}}\\
&=&\frac{\cos(\pi a\gamma)}{\pi 2 \gamma}.
\end{eqnarray*}
\end{document}
After running the file, you can see that the height of the text in page 2 is longer than one in page 1.
I was wondering if someone help me to fix this problem. Thank you very much.
\documentclass{book}and your command for including thegeometrypackage in the preamble, and the bottom of pages are all (except for the last one) flush at exactly 210mm from the top. So I cannot reproduce the problem. It will help the diagnosis if there is an example file (just the preamble section is enough) to show the issue. – Willie Wong Oct 13 '10 at 21:51lipsumpackage to get enough text for the minimum example without filling the question with unnecessary amounts of dummy text) – Caramdir Oct 14 '10 at 01:34