How to put a symbol above (on the head of) another? For example, I want to produce something like this in one line.
a #
i.e., a above #.
a
#
The effect should be almost the same with $#^a$ except that a is on the top instead of top right of #.
$#^a$