TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a construction that isn't a function, but does produce values assigned (in an ill defined way) varyingly over a domain. I can write this as A \leadsto B. I want to write what happens to a \in A not as a \mapsto b but with a \leadsto arrow that begins with the small vertical bar \mapstochar. I've already loaded the extpfeil package, so stmaryrd won't work. What can I do?

share|improve this question
up vote 3 down vote accepted

Use \mapstochar and \leadsto, that's simple! With just a small correction for hiding the bump.


$a\mapstochar\mathrel{\mspace{0.45mu}}\leadsto b$


Of course you'll want to define a macro for it:


enter image description here

If you load latexsym rather than amssymb, then more spacing is needed


$a\mapstochar\mathrel{\mspace{1.75mu}}\leadsto b$


enter image description here

share|improve this answer
What if I wanted to make it extensible? I didn't initially, but that's how I started trying to do it, because extpfeil has a syntax for creating arrows, so now I want to know. – jdc Aug 31 '14 at 8:55
It doesn't work for me for some reason. Something's misaligned. Worse, the difficulty mysteriously doesn't improve when I change the mspace. tinypic.com/r/2q0q87s/8 – jdc Aug 31 '14 at 9:04
It seems you're loading latexsym rather than amssymb. Use \mspace{1.75mu} – egreg Aug 31 '14 at 16:11
Beautiful! Thank you! But why didn't changing the spacing by a smaller amount do anything? – jdc Aug 31 '14 at 16:15
@jdc mu is a tiny unit: 1/18 of an em – egreg Aug 31 '14 at 16:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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