I'm trying to create an arrow (or \mapsto
) that has text above it and also an asterisk superscript — where the asterisk is only a superscript for the arrow, if that makes sense.
I've been trying \xmapsto{add}^*
; the asterisk seems to be above for the whole thing together, which I think makes sense... but I'm wondering if there's a way I could get the asterisk to just be a superscript to the arrow as if the text wasn't there?