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 Ketaksamaan & Urutan →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.
Editor LaTeX AI Terbaik, Alternatif Overleaf
Octree membantu peneliti dari 15+ universitas menulis makalah penelitian lebih cepat menggunakan AI
- Hasilkan diagram TikZ yang indah menggunakan AI
- Unggah gambar dan konversi ke LaTeX dengan mulus
- Dapatkan bantuan instan untuk menulis dan memformat makalah penelitian