Floor Left in LaTeX (\lfloor)
- LaTeX command
\lfloor- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
- Copy the Unicode character
- ⌊
U+230A
Where it is used
Left floor bracket, the opening half of the floor function that rounds down to an integer.
\lfloor begins notations like \lfloor x \rfloor and \lfloor n/2 \rfloor. The floor bracket has its bar at the bottom, in contrast to \lceil, whose bar is at the top. As a delimiter it can be sized with \left\lfloor or \bigl\lfloor. In number theory the same bracket appears in formulas such as Legendre's formula for the power of a prime dividing n!. If your font or renderer shows a plain square bracket, check that you typed \lfloor and not [, which is a different glyph.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Floor Left: $\lfloor$
\[ v_p(n!) = \sum_{k \ge 1} \left\lfloor \frac{n}{p^k} \right\rfloor \]
\end{document}Related symbols
- Floor Right
\rfloor - Ceiling
\lceil x \rceil - Floor
\lfloor x \rfloor - Ceiling Right
\rceil - Double Vertical Bar
\| - Ceiling Left
\lceil
Frequently asked questions
- How do I write Floor Left in LaTeX?
- Type \lfloor in math mode, for example $v_p(n!) = \sum_{k \ge 1} \left\lfloor \frac{n}{p^k} \right\rfloor$. It works in plain LaTeX without loading any package.
- Which package do I need for \lfloor?
- None. \lfloor is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use \lfloor in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\lfloor$ 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 poweredTulis LaTeX menggunakan AI
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