I wish to align my equation number[ing]s to some arbitrary position offset from the right margin of the page by a specified amount, also using a custom format, eg “|1”. I first assumed I would be able to feed a #box of a certain width and with the desired numbering format as the content of it to my math.equation #set function like so:
However, I found that the numbering named argument only accepts strings, not content.
I do not yet have enough experience with Typst scripting to see how to achieve this or, what’s more important, if this is at all possible given the current version of Typst. Therefore, kindly asking for suggestions and help with getting the functionality sought.
Regards
P.S. I imagine, if it exists, the way to achieving the above might also make possible the setting of all the other flavours of numberings, numeric or otherwise.