Typesetting in a grid
In addition to full horizontal justification, LaTeX adjusts the page content vertically to maintain a consistent page height. Consequently, the internal spacing within a page can vary. As a result, lines on adjacent pages may look shifted.
For two-sided prints with very thin paper, matching baselines would look much better. Especially in two-column documents, it may be desirable to have baselines of adjacent lines at precisely the same height.
In this recipe, our goal is to arrange lines on a grid. Regular text lines shall be placed at a baseline grid. Displayed formulas, figures, tables, and captions are allowed to have a different baseline, but the subsequent text should return to the grid.
How to do it...
We’ll use the grid package specifically developed for grid typesetting. Follow these steps:
- Begin by creating a small two-column example with placeholder text to which we can apply the grid commands. Here is a straightforward code...