How to add .not version of symbol to Typst?

Some symbols don’t have .not version with crossing, like $arrow.r.not$, $equiv.not$, …
Does exists a package (like cancel in latex)?
Can it technically be added deep to the typst, so that I can type “arrow.r.hook.not” and it would work?

If something is missing, you can request for it in https://github.com/typst/codex/issues, if it wasn’t already asked.

I think that’s a great idea, and almost certainly there are missing symbols which would use the .not as well.

I tried both, and got no errors.

There’s a cancel function which should be able to achieve that.

This one I can confirm doesn’t go through, but if it’s not an exact symbol that you’re expecting, $cancel(arrow.r.hook)$ can appear similar.

But if you know the Unicode symbol which you want to get with .not and isn’t available in Typst, you could try

#let hooked = symbol(math.arrow.r.hook, ("not", "¤"))
$hooked hooked.not$

from Symbol Type – Typst Documentation.

symbol