[Tex/LaTex] Difference between tabular and array environment


What is the difference between a tabular and an array environment? When should be used the former and when the latter?

Best Answer

The array environment is for math mode and cell contents will be typeset in math mode (textstyleby default) and tabular is for text mode.

While array requires being in math mode, the tabular environment can be used in math mode, and its contents will be typeset in text mode. Inside an array, the p, m or b specifiers also switch cell contents to text mode.