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?

  • +1 for the link to The Vignelli Canon -- interesting document. Commented Aug 9, 2010 at 19:56
  • Are non-Latex answers (i.e., Context answers) acceptable? Commented Aug 9, 2010 at 20:09
  • It looks as though there is no neat solution (to point 2 at least) in LaTeX, so ConTeXt (etc.) answers would also be interesting. Commented Aug 9, 2010 at 22:19
  • 2
    The link is outdated, could you upload a screenshot to keep the question relevant? Would be great! Commented Mar 7, 2017 at 19:28

4 Answers 4


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.

  • Aha! flowfram looks like it handles point 1 rather well. Commented Aug 10, 2010 at 7:48

If you would consider using ConTeXt: First, I don't know if I fully understand your question, but re.1 if you mean a DTP like flow of text across chained boxes it's not possible in ConTeXt. However you can take a look at the possibilities offered by columnsets and see if they fit your needs. Obviously you can also try using layers to obtain really complicated layouts.



and see options for


in ConTeXt manual, for more of grid trickery see Details


Commercial Plug

Just for completeness, there is a commercial TeX-based data-based publishing system named DocScape which is very much geared towards this kind of layout. See a product catalogue (62 MB!) as an example.

In practise, it mostly handles only question 1 (apart from setting \lineskiplimit and allowing to grid-aligned table rows), but being made for catalogs and such, it currently doesn't handle maths anyway ;-)

DISCLAIMER: I'm the author.

  • Can you please update the link to the product catalog, it doesn't work anymore. English will be welcome too, your website is only available in German...
    – codepoet
    Commented Apr 23, 2020 at 6:13
  • The particular page wasn't captured and the other related stuff also seems to be gone. Wasn't able to find any PDF that large on archive.org. Commented May 10, 2023 at 22:43

See the grid package http://ctan.org/pkg/grid.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .