Who wouldn’t want to type tables in LaTeX without worrying about how text is treated in each column. Something as simple as:
bla blaaaa & bleee bleeeeh & babble babble \\
Well, it can be almost as simple!
I have taken the idea from a site about cheatsheets, an obvious application of this technique (I am actually writing a formulary, a formula cheatsheet to be handed out at exams).
In the beginning of the tex file, one needs some support for fancy tables:
The crucial definition is the following:
This defines a “ratio” and the column style “A”.
Still in the preamble, you can adjust some features:
Tables are now typed this way:
bla \\ blaaaa & bleee \\ bleeeeh & babble \\ babble
Notice new tabular lines are introduced by “\tabularnewline”: “\\” is for line breaks inside the columns (whose contents are actually minipages, see the definition of column style “A” above).