[Tex/LaTex] Leftalign, align and have only one number

equationsnumbering

I have an equation that I want to leftalign. Also I needed to split this equation due to its length and since we are talking only about one equation, I want to give this equation only one number, not one in each row.

I created this minimal example

 \begin{flalign*}
    \lambda &= \lambda_1 + \lambda_2 &\\
      &= \Lambda &\\
      &= \Lambda_1 + \Lambda_2 &
  \end{flalign*}

This does the first two things leftalign and align, but here each row gets a number, how can I change this?

Best Answer

You can use \nonumber (or \notag) or aligned as below.

\documentclass{article}
\usepackage{amsmath}
\usepackage{showframe}  %% for demo

\begin{document}
   \begin{flalign}
    \lambda &= \lambda_1 + \lambda_2 &\notag\\
      &= \Lambda &\\
      &= \Lambda_1 + \Lambda_2 & \notag
  \end{flalign}
   \begin{flalign}
    &\!\begin{aligned}
    \lambda &= \lambda_1 + \lambda_2 &\\
      &= \Lambda &\\
      &= \Lambda_1 + \Lambda_2 &
    \end{aligned}&
  \end{flalign}
\end{document}

enter image description here

Related Question