[Tex/LaTex] Grid System in LaTeX

grid-typesettingline-spacingtypography

I'd like to typeset documents using the 'Grid system' of page layout. Good examples are on pages 40-53 of this document. The textpos package is helpful for this, but two additional features would be useful:

  1. Automatic flow of text across (arbitrarily placed) columns / textpos blocks.
  2. Vertical line spacing enforced to be an integer multiple of a base line spacing, even when interrupted (for example) by an equation of arbitrary height.

Any ideas as to how either or both of these could be accomplished?

Best Answer

Your requirement 2 is very difficult in latex (and a frequent topic of discussion when people get together to talk about future versions). As well as the grid package there is the gridset package. The grid package tries to make all vertical spaces a multiple of the baselineskip (or pairs of pre-/post-spacing that sum to a multiple of baselineskip), and removes vertical glue. The gridset package tries to "reset" the text back onto the grid after an odd-sized equation or floating figure or table, but it doesn't necessarily do it in the most aesthetic way, and it may take many compilation passes before convergence.

For your requirement 1, check out the flowfram package. It seems to do what you want.