Consider the following LaTeX code:
\begin{subequations}
\begin{align}
a = b\\
b = c\\
c = d
\end{align}
\end{subequations}
It results in:
How can I achive the same result in typst?
In particular I need:
- every equation has its own number
- the equation numbers are enumerated by digit + letters
I am not sure if
{subequations}
command have direct equivalent in Typst but something similar can be made with counter 0.Here is custom function in Typst:
Note:
#h(1fr)
1 is used instead of\begin{align}
, for more advanced aligning check the layout section of reference 2 if needed.