Ceiling Left in LaTeX (\lceil)

⌈\lceil
LaTeX command
\lceil
Package
No package needed: built into LaTeX
Mode
Math mode only
Copy the Unicode character
⌈U+2308

Where it is used

Left ceiling bracket, the opening half of the ceiling function that rounds up to an integer.

\lceil opens the ceiling notation \lceil x \rceil, the least integer at least x. It is a delimiter, so it works with \left\lceil ... \right\rceil for tall content like \frac{n}{2}, and with \big-style sizing. The ceiling bracket has its horizontal stroke on top, while the floor bracket \lfloor has it on the bottom, an easy pair to mix up when proofreading. Some authors also use \lceil and \rceil as corner quotes for Godel numbering, where \ulcorner is an alternative.

Minimal compilable example

Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.

⌈log⁡2n⌉=k  ⟺  2k−1<n≤2k\lceil \log_2 n \rceil = k \iff 2^{k-1} < n \le 2^{k}
\documentclass{article}
\begin{document}
Ceiling Left: $\lceil$

\[ \lceil \log_2 n \rceil = k \iff 2^{k-1} < n \le 2^{k} \]
\end{document}

Related symbols

All الأقواس والمحددات →

Frequently asked questions

How do I write Ceiling Left in LaTeX?
Type \lceil in math mode, for example $\lceil \log_2 n \rceil = k \iff 2^{k-1} < n \le 2^{k}$. It works in plain LaTeX without loading any package.
Which package do I need for \lceil?
None. \lceil is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \lceil in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\lceil$ 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 poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf

يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي

  • أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
  • ارفع صورة وحولها إلى LaTeX بسلاسة
  • احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث