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). 

In particular, I'd like the following to have similar appearance:

\usetypescriptfile[texgyre]

\starttypescript[mainface]
  \definetypeface [mainface][rm][serif][termes][default]
  \definetypeface [mainface][mm][math] [stixtwo]  [default] [rscale=auto]
\stoptypescript

\setupbodyfont[mainface]

\starttext

\startTEXpage[offset=1dk]
  \startformula
     \vec{π} 
     \quad\text{vs}\quad
     \overrightarrow{π}
  \stopformula
\stopTEXpage

\startTEXpage[offset=1dk]
  \startformula
     a^{\vec{π}}
     \quad\text{vs}\quad
     a^{\overrightarrow{π}}
  \stopformula
\stopTEXpage
\stoptext

In the second example in $a^{\vec{π}}$ the vector has incorrect horizontal 
spacing, but that is a separate issue I guess.

Thanks,
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
___________________________________________________________________________________

Reply via email to