How to Write the Not Greater Than Symbol (≯) in LaTeX
In LaTeX, you can write the not greater than symbol (≯) using the \ngtr
command. This command is part of the amssymb
package, so you need to include this package in LaTeX document.
The following examples show how to write the not greater than symbol in LaTeX.
How to Write the Not Greater Than Symbol in Text
We can use the \ngtr
command to write the not greater than symbol in LaTeX document for text.
Suppose we want to write the not greater than symbol in the text.
We can use the following LaTeX code to do so:
\documentclass{article}
\usepackage{amssymb}
\begin{document}
This is an example of using the not greater than symbol \( \ngtr \) in a sentence.
\end{document}
Output: 👇️
This is an example of using the not greater than symbol ≯ in a sentence.
In this example, we use the \ngtr
command to display the not greater than symbol in the text.
How to Write the Not Greater Than Symbol in Mathematical Expressions
For mathematical expressions, We can use the \ngtr
command to ensure proper formatting.
Suppose we would like to write mathematical expressions that contain the not greater than symbol.
We can use the following LaTeX code to do so:
\documentclass{article}
\usepackage{amssymb}
\begin{document}
An inline mathematical expression: \( a \ngtr b \).
A displayed mathematical expression:
\[
a \ngtr b
\]
\end{document}
Output: 👇️
In this example, we use the \ngtr
command to denote the not greater than symbol in both inline and displayed mathematical expressions.
Conclusion
We can use the \ngtr
command from the amssymb
package for both text and mathematical expressions.
This ensures that the not greater than symbol is properly formatted and displayed in LaTeX document.