Not Greater Than in LaTeX (\ngtr)
- LaTeX command
\ngtr- Package
- Add to your preamble:
\usepackage{amssymb} - Mode
- Math mode only
- Copy the Unicode character
- ≯
U+226F
Where it is used
Negated greater-than sign, asserting that the left side is not strictly larger than the right.
The command name drops the vowels of 'greater' (\ngtr, not \ngt or \ngreater), which trips people up when typing from memory. In a linear order x \ngtr y simply means x \leq y, so most writers prefer the positive form; \ngtr is more natural in partial orders, lattices, or when quoting the failure of a hypothesis, such as a sequence that is not eventually greater than a bound. Pair it with \nless for the opposite direction and \ngeq for the negated non-strict version. It has relation spacing like > itself.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\usepackage{amssymb,amsmath}
\begin{document}
Not Greater Than: $\ngtr$
\[ f(n) \ngtr g(n) \quad \text{for infinitely many } n \]
\end{document}Related symbols
- Not Less or Equal
\nleq - Not Less Than
\nless - Not Greater or Equal
\ngeq - Curly Succeeds
\succcurlyeq - Minimum
\min - Curly Precedes
\preccurlyeq
Frequently asked questions
- How do I write Not Greater Than in LaTeX?
- Type \ngtr in math mode, for example $f(n) \ngtr g(n) \quad \text{for infinitely many } n$. Load amssymb first with \usepackage{amssymb}.
- Which package do I need for \ngtr?
- \ngtr needs amssymb: add \usepackage{amssymb} to your preamble before the document starts.
- Can I use \ngtr in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\ngtr$ in running text. If you only need the glyph in text, paste the Unicode character ≯ instead (with XeLaTeX or LuaLaTeX and a font that has it).
Math poweredAI로 LaTeX 작성
최고의 AI LaTeX 편집기, Overleaf 대안
Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움
- AI로 아름다운 TikZ 다이어그램 생성
- 이미지를 업로드하고 LaTeX로 원활하게 변환
- 논문 작성 및 서식에 대한 즉각적인 지원 받기