aligned environment doesn't handle spacing properly
The spacing for \begin{aligned}a&=b\end{aligned}
before the equal sign is not correct. It should match \begin{align}a&=b\end{align}
.
The spacing for \begin{aligned}a&=b\end{aligned}
before the equal sign is not correct. It should match \begin{align}a&=b\end{align}
.