# Commands \mapsto and \longmapsto from Right to Left

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

\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. – Michael Hardy Oct 24 '12 at 17:27
• robjohn suggested this \longleftarrow{\raise{.4pt}{\hspace{-5pt}\shortmid}} in his comment. – Martin Sleziak 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. – Phira 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 Oct 26 '12 at 7:16