For some reason, the following code compiles as shown on the picture.
\begin{equation}
t_{0\rightarrow1}
\equiv\frac{1}{2}(X-iY)
= \begin{pmatrix}
0 & 0 \\
1 & 0
\end{pmatrix}
\end{equation}
Where is this extra space at the bottom coming from, and how do I remove it? It looks like the parenthesis are correctly vertically aligned, but the rows are not... Also, clearly, the parenthesis are too big.
UPDATE: RESOLUTION
So it turned out that earlier in the code I used the solution from this answer to align my equations nicely. Namely, I added a line
\savebox\strutbox{$\vphantom{\sum\limits_{k}}$}
to my code. However, I forgot to put the equation into {}, and so this caused the weird alignment later.


\documentclassto\end{document}is needed. Are you usingsetspace? – egreg Jul 08 '19 at 20:34