Strict inequalities are widely used in math equations as well as within text for comparisons. They can be produced using the ordinary (inline) math-mode (`$...$`

) without loading a specific package.

$c > d$

$d < c$

In order to omit the math-mode within a text-paragraph, LaTeX knows text-mode commands for these symbols.

**Greater than (>):**

\textgreater

**Less than (<):**

\textless

Non-strict inequalities ( and ), however, can only be produced using the inline math mode.

$a \le b$

$b \ge a$

Finally, the equal symbol (=) is available in both text- and math-mode.

### Like this:

Like Loading...

*Related*

bambom

thanks now I can do my assignment better

Andy

Is there a way to remove the space between the less/greater equal signs?

It always makes a space between sign and number. I tried following:

but doesn’t remove the space..

tom

Hi Andy,

You could add a thin “negative space” space (

`\!`

) or two, if you’d rather not have the space: