I am trying to define a kerning between V and /. (see question)

My approach is the following, but I don't see any differences between using the feature file and not using it.


languagesystem DFLT dflt;
languagesystem latn dflt;
feature kern {
pos \V  \SLASH -800;
} kern;


\setmainfont[FeatureFile=mykern.fea]{TeX Gyre Pagella}
%\setmainfont[]{TeX Gyre Pagella}


Text  & MV/m \\
equation & $MV/m$\\
two mathrm & $\mathrm{MV}/\mathrm{m}$\\
one mathrm & $\mathrm{MV/m}$\\
siunitx & \si[per-mode = symbol]{\mega\volt\per\metre}\\
%one mathrm & $\mathrm{MV/m}$\\
  • You have to use real glyph names from the font, I’m pretty sure TeX Gyre Pagella has no glyph named SLASH. – Khaled Hosny Jun 19 '13 at 12:39
  • I thought I have to use the unicode names. I found that solidus and slash are synonyms – TeXtnik Jun 19 '13 at 12:53

I made it changing the pos line to pos V \slash -100;.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.