# Commands \mapsto and \longmapsto from Right to Left

Concerning this answer: How do I make \mapsto and \longmapsto point from right to left?

• The suggestions given in Left version of \mapsto at TeX.SE don't work in mathjax :-( Oct 24 '12 at 17:03
• Here's a solution which works for me: \DeclareRobustCommand{\longleftmapsto}{\text{\reflectbox{\$\longmapsto\$}}} Dec 4 '20 at 8:12

\newcommand{\testleft}{\leftarrow\!\shortmid}
\newcommand{\testleftlong}{\longleftarrow\!\shortmid}
which gives this: $\testleft$ and $\testleftlong$

The suggestions from Left version of \mapsto at TeX.SE don't work in mathjax: $\leftmapsto$, $\mapsfrom$.

• For now, I'm going with this one. Oct 24 '12 at 17:27
• robjohn suggested this \longleftarrow{\raise{.4pt}{\hspace{-5pt}\shortmid}} in his comment. Oct 27 '12 at 9:27

Unfortunately, \mapsfrom does not seem to be supported in MathJax, but that is what you are looking for, I believe. However, there is a \leftarrowtail: $\leftarrowtail$

There is a closed thread on the $\TeX$ board. The thread that this was closed as a duplicate of points to a useful tool: Detexify, which does not find the \mapsfrom symbol (for me at least).

• Detexify gives me mapsfrom. Oct 25 '12 at 22:57
• @Phira: After many tries, I did get \mapsfrom. However, \mapsfrom is not supported in MathJax. Something like $\longleftarrow{\raise{.4pt}{\hspace{-5pt}\shortmid}}$ could be used instead.
– robjohn Mod
Oct 26 '12 at 7:16