texblog

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$

$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.

Exit mobile version