Possible Duplicate:
How to look up a math symbol?
I there a version of \mapsto going from right to left (i.e a "\leftmapsto"?
Is there an easy way of creating such a symbol?
Possible Duplicate:
How to look up a math symbol?
I there a version of \mapsto going from right to left (i.e a "\leftmapsto"?
Is there an easy way of creating such a symbol?
MnSymbol provides \leftmapstostmaryrd provides \mapsfromgraphicx you can create one: \newcommand\mapsfrom{\mathrel{\reflectbox{\ensuremath{\mapsto}}}}\mapsfrom gives the wrong spacing as it is defined.
– Gonzalo Medina
Aug 25 '11 at 12:17
\newcommand{\mapsfrom}{\mathrel{\reflectbox{\ensuremath{\mapsto}}}}. The \mathrel command tells (La)TeX to treat \mapsfrom as a relational operator.
– Mico
Aug 25 '11 at 13:00
The symbols document gives you \mapsfrom from the stmaryrd package or \leftmapsto to from the MnSymbol package:
\documentclass{article}
\usepackage{stmaryrd}
\usepackage{MnSymbol}
\begin{document}
%requires stmaryrd
\[ a\mapsfrom x \]
% requires MnSymbol
\[ a\leftmapsto x \]
\end{document}

graphicxpackage and\reflectbox{\mapsto}– Seamus Aug 25 '11 at 12:05\mapsfromor\leftmapsto, and not being able to access either of the required packages from MathJax, I resorted to\newcommand{\mapsfrom}{\mathrel{\unicode{x21a4}}}– robjohn Aug 06 '20 at 18:59