I have a simple question... I want a modified version of \overrightarrow such that:
So, the (n) is vertically aligned with the arrow. And this of course for every letter and symbol. The first line I make with
\documentclass{standalone}
\usepackage{amsmath}
\begin{document}
\pagestyle{empty}
$\displaystyle \overrightarrow{a}^{(n)} \text{ and } \overrightarrow{A}^{(n)}$
\end{document}
The second line is made with paint (manually aligning the (n)'s)



