tabular environment is the general solution to typeset tables.
In math mode, you’ll usually be told to use the
tabular would work too. So, what is the difference?
array environment is indeed for math mode, and cell contents
will be typeset in math mode (in
textstyle by default). You don’t
need to use
$...$ inside it, so it will save you some typing.
Notice that inside an
b specifiers switch
cell contents to text mode.
While array requires being in math mode, the
tabular environment can be used
both in text and math mode, and its contents will be typeset in text mode.
tabular environments share a lot of things, but also involve
some specific parameters. As an example, the space between two columns is set
A very useful LaTeX package is named
Despite its name, it provides advanced functionnalities for both
tabular environments (and their relatives).