Take the 2-minute tour ×
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.

How do I write not equal to sign (equivalent of != in C) in Latex pseudocode.

share|improve this question

migrated from stackoverflow.com Jul 18 '12 at 17:32

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

5  
Do you mean $\neq$? –  Daniel Fischer Jul 18 '12 at 9:23
1  
Or, what doesn't work for you using != –  Brent.Longborough Jul 18 '12 at 9:38
    
Welcome to TeX.sx! Your question was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. –  Werner Jul 18 '12 at 17:57

1 Answer 1

Not equal can be written as:

\neq
share|improve this answer
    
Welcome to TeX.sx! Your answer was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or edit your answer. –  Werner Jul 18 '12 at 17:58

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.