I'm having difficulties in setting four square matrices, one on top of each other. They need to have the same size, i.e the same width for aesthetical reasons. Currently,they are very ugly, as shown with this code:
\documentclass[11pt,letterpaper,twoside]{book}
\usepackage{lmodern}
\usepackage[total={6in,10in},left=1.5in,top=0.5in,includehead,includefoot]{geometry}
\usepackage{microtype}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{mathtools}
\usepackage{tensor}
\begin{document}
\begin{align}
\gamma^0 &=
\begin{bmatrix}
0 & \tensor{\sigma}{_2} \\[1em]
\tensor{\sigma}{_2} & 0
\end{bmatrix},
\\
\gamma^1 &=
\begin{bmatrix}
-\, i \tensor{\sigma}{_3} & 0 \\[1em]
0 & -\, i \tensor{\sigma}{_3}
\end{bmatrix},
\\
\gamma^2 &=
\begin{bmatrix}
0 & \tensor{\sigma}{_2} \\[1em]
-\, \tensor{\sigma}{_2} & 0
\end{bmatrix},
\\
\gamma^3 &=
\begin{bmatrix}
i \tensor{\sigma}{_1} & 0 \\[1em]
0 & i \tensor{\sigma}{_1}
\end{bmatrix}.
\end{align}
\end{document}
Preview:
The minus signs are the source of the main trouble. I tried using \mathclap around each element (except the 0), and adding some phantom terms to equalize the spacing, but it doesn't work very well and it feels very hacky. So how can I make these matrices of the same size with well balanced elements inside? I hate matrices in LaTeX!!




iupright.) – Mar 12 '20 at 02:37