Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question
    
If one doesn't exist, you could make one with the graphicx package and \reflectbox{\mapsto} –  Seamus Aug 25 '11 at 12:05
1  
Welcome to TeX-SX! For questions like this, there are some very good resources that are in the question linked in Jake's comment above. To help others find these resources quickly, we'll probably close this question as a duplicate of that one. This is just to ensure that other people find their way to that "canonical question" as easily as possible. –  Andrew Stacey Aug 25 '11 at 12:34
add comment

marked as duplicate by Joseph Wright Sep 8 '11 at 15:35

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

3 Answers

\mapsfrom from the stmaryrd package.

You can look up such symbols using Detexify

share|improve this answer
add comment
  • MnSymbol provides \leftmapsto
  • stmaryrd provides \mapsfrom
  • with graphicx you can create one: \newcommand\mapsfrom{\mathrel{\reflectbox{\ensuremath{\mapsto}}}}
share|improve this answer
1  
Your command \mapsfrom gives the wrong spacing as it is defined. –  Gonzalo Medina Aug 25 '11 at 12:17
    
That's easily fixed: Just define the command as \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
1  
Fix'd (I hope). Thanks for pointing that out. –  Seamus Aug 25 '11 at 13:26
add comment

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}

enter image description here

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.