This is LaTeX code:

[latex]
A=\begin{pmatrix} 1 && 2 && 3 \\ 0 && 1 && 2 \\ 0 && 0 && 2 \end{pmatrix}
[/latex]