Using * character as shorthand for $dot$

I can do

#let dt = $dot$

but

#let * = $dot$

causes issues (backslash escape doesn’t seem to be effective either). Am I missing something, or does Typst simply not support this?

Duplicate of What are the rules for identifiers in Typst? (and related posts).

1 Like

You cannot define a new “binding” (variable) for * but you can use a show rule to replace asterisks with dots:

#show sym.ast: sym.dot
2 Likes