xdavidliu
xdavidliu

Reputation: 3042

how to type a "not equals" ≠ in Julia repl using latex?

In Julia I understand I can do 2 != 3 to get false, and can also type latex, e.g. \alpha <tab> gives α.

However, I want to type the symbol , and in latex that would be \neq. However, in Julia when I try \neq <tab>, I do not get that symbol. Instead, I get two autocomplete possibilities: neither of which I want: \neqsim \nequiv.

How do I type this symbol?

Upvotes: 5

Views: 1641

Answers (2)

Bogumił Kamiński
Bogumił Kamiński

Reputation: 69879

You can copy-paste any symbol you are investigating in Julia REPL in help mode to get information how to type it:

help?> ≠
"≠" can be typed by \ne<tab>

Upvotes: 5

xdavidliu
xdavidliu

Reputation: 3042

use ne, not neq. In particular, to type , do \ne <tab>

Upvotes: 1

Related Questions