I would like the arrows created by \textleftarrow and \textrightarrow to be 50% and 75% shorter, while leaving the arrow head the same size. I'm using it in a non-math environment; just normal text.
I have consulted the following posts to no avail, because they all seem to be math-based:
- Very short arrow symbol
- Arrows of arbitrary length
-
%XeLaTeX \documentclass[11pt]{book} \usepackage{polyglossia} \begin{document} Why \textrightarrow{} can't I figure this out \textleftarrow ? \end{document}

\ensuremath{...}? – Mar 04 '19 at 19:15\ensuremath{\rightarrow}looks the same as\textrightarrow. I don't see in those examples how to shorten it in combination with\ensuremath. – AML Mar 04 '19 at 19:41\newcommand{\veryshortarrow}[1][3pt]{\ensuremath{\mathrel{% \hbox{\rule[\dimexpr\fontdimen22\textfont2-.2pt\relax]{#1}{.4pt}}% \mkern-4mu\hbox{\usefont{U}{lasy}{m}{n}\symbol{41}}}}}
\begin{document}
a\veryshortarrow b \end{document}`
– Mar 04 '19 at 19:47