3

This question already has an answer here:

I need to know, if it's possible, how I can write a unique "less AND greater than" symbol in LaTeX: for example X >< 5.

marked as duplicate by percusse, yo', Paul Gaborit, lockstep, Mensch Feb 11 '13 at 13:30

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.

migrated from stackoverflow.com Feb 11 '13 at 12:11

This question came from our site for professional and enthusiast programmers.

  • Isn't it <> instead of ><? – poitroae Feb 11 '13 at 10:27
  • Sorry, my mistake, I'll write on tex.stack the next time... However, I was wrong to write: I wanted to say <>... – Daniele Feb 11 '13 at 10:33
  • Do you mean \times? – user10274 Feb 11 '13 at 12:50
  • Your question was migrated here from another stackexchange site. Please register on this site, too, and make sure that both accounts are associated with each other, otherwise you won't be able to comment on or accept answers or edit your question. – percusse Feb 11 '13 at 12:59
  • I'd use \neq. Mathematically it has the same meaning if I say x =\= 5. – Count Zero Feb 11 '13 at 14:43
13

That's not possible (unless you write the greater than symbol followed by the less than symbol).

You can find a comprehensive list of LaTeX symbols here.

EDIT:

For something that looks like an horizontal X, check out \times and \openJoin in the document.

For one over the other, check \lessgtr, from comments I think that's what you're looking for : enter image description here

  • mmm are you sure? Because I red something like that in some books in the past... However thanks a lot for the link... It's wonderful! – Daniele Feb 11 '13 at 10:34
  • I found one that looks like a > on top of a < but that's all... You don't like how >< looks like? Are you looking for something more like an horizontal X? – alestanis Feb 11 '13 at 10:47
  • No no... I'm looking for something like a > on top of a <... sorry, but I think that I explained that very bad... How can I do that? – Daniele Feb 11 '13 at 10:55
  • 4
    The needed package is amssymb – egreg Feb 11 '13 at 12:58
  • 3
    The link is broken – yarchik Oct 17 '17 at 14:48