[Tex/LaTex] how to get two align point with split equations

alignsplit

I have this equation:

\begin{equation}
\begin{split}
    \alpha &= \frac{1}{100} S \sqrt{2g} = 2.2444e^{-05} \ [m^\frac52/s]\\
    \beta &= \pi r^2 = 0.0079 \ [m^2]\\
    \gamma &= \frac{2 \pi r}{tan(\theta)} = 0.1814 \ [m] \\
    \delta &= \frac{\pi}{(tan(\theta))^2} = 1.0472
\end{split}
\end{equation}

and would like to add a second align point on the second '=' symbol. Is there a way to do that?

Thank

Best Answer

You can use alignat for this:

\documentclass{article}
\usepackage{amsmath}

\begin{document}

    \begin{alignat*}{2}
        \alpha&=\frac{1}{100} S \sqrt{2g} &&=2.2444e^{-05} \ [m^\frac52/s]\\
        \beta&=\pi r^2&&=0.0079 \ [m^2]\\
        \gamma&=\frac{2 \pi r}{tan(\theta)}&&=0.1814 \ [m]\\
        \delta&=\frac{\pi}{(tan(\theta))^2}&&=1.0472
    \end{alignat*}

\end{document}

enter image description here

Related Question