I've got a system of equations that I can't seem to be able to properly aligned. I've attached an image of how I want to align the equations - all the red points aligned together, and all the blue together.
The code I have currently is below
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
ik\widehat{\text{v}{{x}}} + \frac{d\widehat{\text{v}{z}}}{dz}={}&0,
\label{massLin} \
\left[\widehat{T} - St, \widehat{\phi} \right]\sigma + \widehat{\text{v}{{z}}} ={}& \left(-k^2 + \frac{d^2}{dz^2}\right)\widehat{T},
\label{HeatLin} \
\bigg[\widehat{S} - \frac{\rho{\text{s}}}{\rho_{\text{l}}}\bigg(\mathcal{L} + \frac{1}{2}+ z\bigg)\widehat{\phi}{}& \bigg]\sigma + \widehat{\text{v}{{z}}} \nonumber \ = \tau {}& \left(-k^2 + \frac{d^2}{dz^2}\right)\widehat{S},
\label{saltLine} \
\sigma\widehat{\text{v}{{x}}} = -ik\widehat{P} + Pr {}& \left(-k^2 + \frac{d^2}{dz^2}\right)\widehat{\text{v}{{x}}},
\label{vxLin} \
\sigma\widehat{\text{v}{{z}}} = -\frac{d\widehat{P}}{dz} + Pr{}&\left(-k^2 + \frac{d^2}{dz^2}\right)\widehat{\text{v}{{z}}} \nonumber \
+Pr,Ra{\text{T}}\bigg(1+\frac{\beta}{\Gamma \alpha}{}& \bigg)\widehat{T} + Pr,{Ra}_{\phi},\widehat{\phi},
\label{vzLin} \
\widehat{S} - \widehat{T} = 0,
\label{LiquidusLin}
\end{align}
\end{document}
I just cannot seem to get this.
Any help is very appreciated. 
\mathrlapand\mathllapfrom the\mathtoolspackage. See the package documentation for instructions and examples. Thealignatenvironment is provided byamsmathand well documented in the user guide {texdoc amsldoc). – barbara beeton May 30 '21 at 21:39