How to Write a Greater Than Symbol in LaTeX?

# How to Write a Greater Than Symbol in LaTeX?

This post may contain affiliate links that allow us to earn a commission at no expense to you. Learn more

Most of the time the symbol “greater than” is used in inequalities in mathematics, and today you will learn how to insert it in your document.

This article aims to show you the simplest and easiest way to write a greater than symbol in LaTeX.

## Greater than Symbol

In mathematics the greater than is part of the inequality symbols, this sign is already on your keyboard. To represent the greater than symbol you use one of the special characters, the “>”.

## Greater than (or equal) Symbol in LaTeX Commands

In Latex you use the key “>” inside math mode to represent greater than. You don’t need extra packages (yet). Now for the greater than or equal symbol, you use the command \geq or \ge, no value as an argument.

For both symbols we have

\begin{document}
Using $\backslash$geq $x \geq y$\\
\vspace{5pt}
Using $\backslash$ge $q \ge x$
\end{document}


## All the Symbols for Greater Than

There are more symbols for the greater than, they are variations. You need to load the amssymb package, it is not limited to just one command, therefore, you will see a list of them, and none of them needs a value as an argument.

For example,

\usepackage{amssymb}
\begin{document}
\begin{center}
Using $\backslash$geq $x \geq y$\\
\vspace{5pt}
Using $\backslash$ge $q \ge x$
\end{center}
\end{document}


Now other variations for the symbol involving two or three greater than symbols stacked,to represent them you use, for example

\usepackage{amssymb}
\begin{document}
\begin{center}
$$X \gg Y$$
$$Y \ggg Z$$
$$Z \gggtr A$$
\end{center}
\end{document}


There are some less known variations which are symbols that used the greater than sign together with other signs, for example

\usepackage{amssymb}
\begin{document}
\begin{center}
$$\begin{matrix} \eqslantgtr & \gtrsim & \gtrapprox \\[5pt] \gtreqqless & \gtreqless & \gtrless \\[5pt] \ngtr & \ngeq & \ngeqslant \end{matrix}$$
\end{center}
\end{document}


None of the commands required a value as an argument , which is good news. You can now start writing this useful sign in your document, and remember you can always search your way out for any possible trouble you may encounter.

I hope this post was helpful and as always keep writing in LaTeX.

All the images were created in LaTeX by the author. 