My question relates to writing novels and other text-centric books using LaTex. I have investigated the possibility of using grid layout techniques in LaTex with no luck.
In a two-sided book document, is it possible to obtain the same number of lines per page? The problem right now is that the completed text ends up with say 60 lines of text on one page and the facing page has 61 lines of text. My objective is to obtain an even distribution of text on pages of text with the exception of a chapter end which may have half a page of text.
Many thanks,
Mike
Best Answer
LaTeX will always space lines at a fixed
\baselineskip
apart unless you add content within the line that is larger than the baseline spacing, which is unusual in a novel-like text.So if you are getting an uneven number of lines then you are adding unequal amounts of space. The most likely culprit is
\parskip
spacing between paragraphs, by default this is "stretch" which you don't want, it should be a fixed number of\baselineskip
typically0pt
or perhaps\baselineskip
.Most of the issues that make it difficult to maintain baselines on a grid in TeX relate to constructs that are unlikely to occur in a novel, specifically displayed math equations and floating figures.
Floating figures in latex will, by default add stretch space but that is easily fixed if needed, ensuring that text following a displayed equation re-aligns with the grid can be "interesting".
So as always it would have been much easier to give specific help if the question had had reproducible code showing the uneven lines. If you were to add such an example I'd update the question to show how to avoid the problem in that case.