Hey, there. Same question here, but more precisely:
![]()
This is rended with LaTeX. The first one is equivalent to Typst arrow(V), the second one is using a specific LaTeX function stretching the arrow over the whole length of the symbol(s) below. I cannot find a proper alternative in Typst. Any (hint of an) answer, anyone?
For now, I only tweaked with horizontal space, defining a function:
#let vect(name) = $arrow(#h(1.4pt) name #h(1.4pt))$
$ vect(u) = arrow(u) $
$ vect(V) != arrow(V) $
$ vect(A B) approx arrow(A B)$
My guess is something easier should exist than what I’m doing here.
