Feeding
\documentclass{standalone}
\usepackage{newtxtext}
\usepackage[slantedGreek,subscriptcorrection]{newtxmath}
\begin{document}
\(\vec{I'}\) \(\overrightarrow{I'}\)
\end{document}
to pdflatex yields
The first arrow is too short (because the reader could hypothetically see it mathematically as a primed arrowed , whereas you wish to have an arrowed primed ), and the second one too long, protruding too much to the left. Neither of the two arrows made it into the text layer of the generated PDF file as an arrow.
Is there a good intermediate-size arrow for ʹ to be used with NewTX and pdflatex? Ideally, but not necessarily, it should also be visible as an arrow in the text layer of the PDF file. The old commands \vec and \overrirghtarrow should retain their current meaning, so I need a new command (say, \intermediatevec or similar).
(For the UTF-8 engines lualatex and xelatex, there is going to be a separate question; don't suggest it here.)



\overrightarrowbecause the effect of repositioning is small when compared to\vec. Third, the\vvarrow is shorter, but it still protrudes to the right over the rightmost point of the prime. – Jan 07 '22 at 14:35