OpenLearning: How do I color part of a LaTeX formula?

Say I want to write x>3 with ">" written in red.

I tried the obvious, that is  \( x \textcolor{red}{>} 3\) but it does not work!

1reply Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
Like Follow
  • Status Answered
  • 8 mths agoLast active
  • 1Replies
  • 15Views
  • 2 Following