An (m,n)-matrix is considered as an array of m*n elements, where the elements of a column are separated by "&" and the rows by "\\".

Syntax for an (m,n)-matrix: \begin{array}{colformat}a_{11}&...&a_{1n}\\a_{21}&...&a_{2n}\\... \\a_{m1}&...&a_{mn }\end{array}

where colformat defines the format of each of the n columns: l for left, r for right and c for center (hence {ccccc} defines for a (m,5)-matrix in which all columns are centered)