# Strict inequalities (greater/less than) in text-mode

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$

`\$c > d\$`

$d < c$

`\$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 ($\le$ and $\ge$), however, can only be produced using the inline math mode.

$a \le b$

`\$a \le b\$`

$b \ge a$

`\$b \ge a\$`

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