Currently, the command \newcommand{\vek}{\overset{\rightharpoonup}} creates a harpoon styled arrow over one letter, such as a. But if I add more, the arrow doesn't appear to change in size, as if there was only one character and not more. See the following example:
\documentclass{standalone}
\usepackage{amsmath}
\newcommand{\vek}{\overset{\rightharpoonup}}
\begin{document}
$\vek{a}$
$\vek{AB}$
\end{document}
Basically, I want an arrow that spans the length of all given characters, not only one. As a bounus, I would like the arrow to be slightly lower than it is at the moment.
reaction for more information.