This is LaTeX code:

[latex]
 D= \left(
 \begin{array}{cccc}
 0 & 1 & 0 \\
 -1 & 1 & 0 \\
 0 & 1 & 1 \\
 \end{array}
\right) 
[/latex]