This is LaTeX code:
[latex]
A=\left[\matrix{1&2\cr 1&1}\right]
[/latex]