Fuente TeX:
D =\begin{pmatrix} A& 0 & 0 \\  0& B & 0 \\  0 & 0 & C\end{pmatrix}