Possible Duplicate:
Broken matrix - gaps in brackets
I created a matrix in latex, but there are gaps in its brackets. Does anyone how to fix it?
Here is the code:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
var(\theta)& = \begin{bmatrix}
var(\hat\theta_1) & cov(\hat\theta_1,\hat\theta_2) & \cdots & cov(\hat\theta_1,\hat\theta_k) \\
cov(\hat\theta_2,\hat\theta_1) & var(\hat\theta_2) & \cdots & cov(\hat\theta_2,\hat\theta_k) \\
\vdots & \vdots & \vdots & \vdots \\
cov(\hat\theta_k,\hat\theta_1) & cov(\hat\theta_k,\hat\theta_2) & \cdots & var(\hat\theta_k) \\
\end{bmatrix}
\end{align}
\end{document}
\vdotsby\ddots. – Sigur Jan 03 '13 at 19:46