[Tex/LaTex] code for arrow with a short vertical line in the middle of the shaft

arrows

I'm trying to produce an arrow similar to $\nrightarrow $ only with the smaller line being vertical rather than horizontal. I went over the big list of latex symbols several times and could not find it. Any help would be appreciated (I'm using xypic, so extended codes are fine if xypic supports them).

Best Answer

Something like the following?

enter image description here

To fine-tune the position of the vertical bar along the shaft of the arrow, either decrease or increase the arguments of both \mkern directives by the same amounts; just make sure that the arguments sum to -9mu.

\documentclass{article}
\def\tobar{\mathrel{\mkern3mu  \vcenter{\hbox{$\scriptscriptstyle+$}}%
                    \mkern-12mu{\to}}}
\begin{document}
$a\tobar z$

$a\to z$
\end{document}
Related Question