\input amstex A=\begin{pmatrix} 
 a_{11} & \cdots & a_{1d} \\
 \vdots   & \ddots & \vdots  \\
 a_{d1} &  \cdots & a_{dd}\end{pmatrix}