I'm getting a weird spacing for the S and the 3P, ideally they would be aligned just before the equal sign of their associated row. I tried using &\span S&&... but it gave me an error. Any help would be greatly appreciated.
MWE:
\documentclass[a4paper,12pt]{article}
\usepackage{amsmath,amssymb}
\begin{document}
\begin{alignat}{2}
& S&&=Pe^{j_\infty t}\nonumber\\
& 3P&&=Pe^{\frac{t\ln2}{5}}\nonumber\\
&\iff3&&=e^{\frac{t\ln2}{5}}\nonumber\\
&\iff\ln3&&=\frac{t\ln2}{5}\nonumber\\
&\iff t&&=\frac{5\ln3}{\ln2}\nonumber\\
& &&\cong7.92481250\text{ years}\nonumber
\end{alignat}{2}
\end{document}

\documentclass[a4paper,12pt]{article} \usepackage{amsmath,amssymb} \begin{document} \begin{alignat}{2} S&=Pe^{j_\infty t}\nonumber\\ 3P&=Pe^{\frac{t\ln2}{5}}\nonumber\\ \iff3&=e^{\frac{t\ln2}{5}}\nonumber\\ \iff\ln3&=\frac{t\ln2}{5}\nonumber\\ \iff t&=\frac{5\ln3}{\ln2}\nonumber\\ &\cong7.92481250\text{ years}\nonumber \end{alignat} \end{document}? I get rid of the leading&in each row and convert the&&in each row to a single&– Steven B. Segletes Jul 25 '17 at 20:24