On Sun, 26 Oct 2025, Aditya Mahajan wrote:
> Hi,
>
> How can I tweak the distance between an accent and a letter in math mode? I
> want to use $\overleftarrow{x}$ and $\overrightarrow{x}$ and ideally I'd like
> both of them to be visually placed at the same location as $\vec$, but they
> are too high for my preference. How can I change that. (I want to do this
> with stixtwo, if that matters).
Actually, I realized that unicode has a left pointing vector accent as well.
So, I can get what I want by simply defining
\definemathtopaccent[\v!top][cev]["20D6]
\definemathtopaccent[\v!top][vec]["20D7]
> In the second example in $a^{\vec{π}}$ the vector has incorrect horizontal
> spacing, but that is a separate issue I guess.
This remains with stixtwo. It is not present with \cev, so not sure what is
going on.
Aditya___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________