#link for numbered equations

8 messages · Page 1 of 1 (latest)

covert urchin
#

Hello ! I work with typst for a couple days now. I was wondering if there is a function to link the equation numbered ?

I mean for example if i have numbered my equation (1) and i write in the text: "see equation (1)".
I would like to be able to click on the number to have quick access to the mentioned equation, on the generated pdf, any idea ?

thanks !

glossy oak
#

?r
in principle, like this:

#set math.equation(numbering: "(1)")
$ a $ <a>

See @a
glossy oak
#

however as you can see, there are no parentheses around the reference. I don't have time rn to experiment, but maybe that's already enough?

covert urchin
#

thanks for your answer, i will try to figure how to chage the result in the text to have the same form as the numbering

ornate path
#

?r
If you want the parentheses, you need to do

#set math.equation(numbering: num => numbering("(1)", num))

$ a $ <a>
@a
covert urchin