Take the 2-minute tour ×

Suppose that I have this table tab, which I display using Grid. Is it possible to force the columns to be equally spaced? All columns should be the same width and no data should be discarded/hidden from view.

tab = {{"aaaa", "b"}, {"1", SpanFromLeft}, {"2", SpanFromLeft}, {"3", SpanFromLeft}};
Grid[tab, Frame -> {None, None, {{1, 1} -> True, {1, 2} -> True}}]


share|improve this question
You don't have to edit just to say you take that back... you can actually take that back by editing it out ;) –  rm -rf Jul 23 '12 at 18:27

1 Answer 1

up vote 7 down vote accepted
Grid[tab, Frame -> {None, None, {{1, 1} -> True, {1, 2} -> True}}, ItemSize -> All]

Mathematica graphics

share|improve this answer
So it seems like just adding ItemSize -> All does the trick. Thanks! –  Andrew Jul 23 '12 at 19:13

Your Answer


