\def\dthre#1#2#3{
\begin{matrix}
{#1} &  0   &...&  0   \cr
 0   & {#2} &...&  0   \cr
...  & ...  &...& ...  \cr
 0   &  0   &...& {#3} \cr
\end{matrix}}
