# how to get two align point with split equations

I have this 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}$$


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

Thank

• Welcome to TeX.SE! Can you please complete your given code snippet to be compilable? Then we do not have to guess what you are doing and we can see, if you use math related packages like amsmath etc. – Mensch Mar 29 at 2:55
• Split only supports a single & per line. Use aligned instead, or alignat/alignedat as mentioned below. I tend to always use aligned in situations like this, and will only switch to split when I need the specific features it provides. – daleif Mar 29 at 10:23
• Sorry, it was my first post, I will write all the code on the next one. – Leonardo Garberoglio Mar 30 at 3:15

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}


• tan should use a backslash to be typeset upright. – Bernard Mar 29 at 9:52

There are multiple questions on the same topic. I am taking the answer of Werner from the question Multiple alignment

Multiple alignment points with no gap between expressions is obtained using the alignat environment from amsmath.

With that, the code changes to:

\documentclass{article}
\usepackage{amsmath}
\begin{document}
$$\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}$$

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

\end{document}


• Why to use {3} in \begin{alignat}{3}? I reckon {2} alignments should be also fine. – Majid Abdolshah Mar 29 at 3:50
• @MajidAbdolshah - Yes you are right. I have updated the answer. – subham soni Mar 29 at 4:17