TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

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.

share|improve this question

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

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

marked as duplicate by percusse, yo', Paul Gaborit, lockstep, Kurt 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.

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? – Marc van Dongen 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

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.


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

share|improve this answer
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
@Daniele Check my edit, is that it? – alestanis Feb 11 '13 at 10:57
The needed package is amssymb – egreg Feb 11 '13 at 12:58