Greatest Lower Bound in LaTeX (\text{glb})
- LaTeX command
\text{glb}- Package
- Add to your preamble:
\usepackage{amsmath} - Mode
- Text and math mode
Where it is used
Abbreviation 'glb' for greatest lower bound, the order-theoretic name for the infimum of a set.
In lattice theory the meet a \wedge b is defined as the glb of a and b, and complete lattices are those where every subset has a glb and lub. Because LaTeX has no built-in \glb, people write \text{glb}, which renders upright in normal text but inherits italics inside theorem environments and lacks the thin space an operator should have. Prefer \operatorname{glb} or \DeclareMathOperator{\glb}{glb} for consistent results. If your readers come from analysis rather than order theory, \inf may be the more familiar notation for the same concept.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Greatest Lower Bound: $\text{glb}$
\[ a \wedge b = \text{glb}\, \{a, b\} \]
\end{document}Related symbols
All Inequalities at Order →Frequently asked questions
- How do I write Greatest Lower Bound in LaTeX?
- Type \text{glb} in math mode, for example $a \wedge b = \text{glb}\, \{a, b\}$. Load amsmath first with \usepackage{amsmath}.
- Which package do I need for \text{glb}?
- \text{glb} needs amsmath: add \usepackage{amsmath} to your preamble before the document starts.
- Can I use \text{glb} in text mode, or only in math mode?
- Both. \text{glb} compiles in running text as well as inside $...$; in a formula keep it in math mode so it gets math fonts and spacing.
Pinakamahusay na AI LaTeX Editor, Alternatibo sa Overleaf
Tinutulungan ng Octree ang mga researcher mula sa 15+ na unibersidad na sumulat ng research papers nang mas mabilis gamit ang AI
- Gumawa ng magagandang TikZ diagrams gamit ang AI
- Mag-upload ng larawan at i-convert ito sa LaTeX nang walang problema
- Makakuha ng instant na tulong sa pagsulat at pag-format ng research papers