LaTeX Greater or Less () - Complete Guide

The greater or less symbol (≷) indicates ambiguous order.

Symbol Preview

Greater or Less

LaTeX Code

Requires: \usepackage{cmd.package}

Recommended
\gtreqless

Greater or less than

What is the LaTeX Greater or Less?

Used when the order relationship is ambiguous or context-dependent.

How to Use Greater or Less in LaTeX

Method 1: Using \gtreqless

⚠️Required Package:

\usepackage{cmd.package}

Greater or less than

Example: Using \gtreqless

latex
\documentclass{article}
\usepackage{amssymb}
\begin{document}

% Using the Greater or Less
Text with \gtreqless

\end{document}

Common Use Cases

The Greater or Less symbol is commonly used in the following contexts:

Ambiguous Order

Relationship depends on context.

Code

$a \gtreqless b$

Output

a ≷ b

Complete Examples

Ambiguous Comparison

Greater or less notation

latex
\documentclass{article}
\usepackage{amssymb}
\begin{document}

The relationship is $x \gtreqless y$.

\end{document}

Frequently Asked Questions

Which method should I use?

We recommend using the method marked as "Recommended" above. However, the best method depends on your specific needs:

  • \gtreqless: Greater or less than

Where do I use this symbol?

This symbol can be used:

  • In mathematical equations (math mode)
  • In regular text (if using text mode)
  • In various document environments

Can I use this in display mode?

Yes, symbols that work in math mode (between $ $) also work in display mode (between $$ $$). This allows you to display the symbol on its own line with larger formatting.

🔗 Related Symbols You May Need

View all symbols →

🎯 Need to Convert PDF to LaTeX?

Our free PDF to LaTeX converter preserves all mathematical symbols and formatting.

Fast & accurate

Preserves symbols

Free online

No registration

Try Converter Now →