How to have multiple numberings/labels for multiple lines in equation?

Hi, I want to put a long equation with multiple terms to multiple lines with multiple labels, and refer them later to explain. The terms are aligned according to the signs before them. In Latex I can put terms inside align environment and use & to align terms. But how can I achive this in typst?

Here is the example:

In Typst you can also use the & in an equation to achieve the alignment. See the docs for an example.

For the multiple labels you should check out the package equate. It adds a show rule to add labels to each line in an equation (and a few more things). The example also shows how to reference a specific label inside your equation.

Thanks for your suggestion. But equate package requires (1.1) numbering, and I prefer the numbering can be (1), as shown in the example.

Did you set sub-numbering to false?

#show: equate.with(sub-numbering: false)
#set math.equation(numbering: "(1)")

Okay so I was misled by the example in the document.

However these days I found more frustrating things with equate package, and I decide temporarily not to use it.