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?
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.
Hi @rnicrosoft, welcome and thanks for the question! I’m not sure if the answer about using sub-numbering solved your issue and you are facing a new one, or if your original issue was not completely addressed.
If it is the former, could you give flokl’s answer a check mark ? That will make it easier for others to find the solution. Also feel free ask a new question about what it is you’re struggling with.
If your original issue is not solved, could you explain in what way? Then we can try to help you further.