4

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).

2
  • This might be helpful: tex.stackexchange.com/questions/21644/… It essentially describes how you can draw two symbol on top of each other.
    – mimuller
    Sep 24, 2015 at 4:36
  • 1
    this symbol is in unicode at U+21F8, so it is in the stix and xits fonts with the name \nvrightarrow. Sep 24, 2015 at 13:51

1 Answer 1

1

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}
1
  • very neat, except that the vertical bar is somewhat thinner than the arrow shaft. at normal size, this might fade away in photocopying. Sep 24, 2015 at 13:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .