I'm trying to do something similar to $\underleftarrow{A}$; however with the up arrow, not left or right arrows, i.e., I want to draw a pointer at A. Any suggestion, please?
Asked
Active
Viewed 6,302 times
1 Answers
18
Will
\newcommand*{\underuparrow}[1]{\underset{\uparrow}{#1}}
$\underuparrow{A}$
help?
You can get rid of using $ also by using \ensuremath:
\newcommand*{\underuparrow}[1]{\ensuremath{\underset{\uparrow}{#1}}}
The MWE:
\documentclass{article}
\usepackage{mathtools}
\begin{document}
\newcommand*{\underuparrow}[1]{\ensuremath{\underset{\uparrow}{#1}}}
\underuparrow{A}
\end{document}

Edit You can add some coloring to spice things up:
\documentclass{article}
\usepackage{mathtools,xcolor}
\begin{document}
\newcommand*{\underuparrow}[1]{\ensuremath{\underset{\color{red}{\uparrow}}{#1}}}
\underuparrow{A}
\end{document}

underset– ewind May 08 '12 at 09:57