Ceiling Left in LaTeX (\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.
\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
- Ceiling Right
\rceil - Angle Brackets
\langle x \rangle - Ceiling
\lceil x \rceil - Angle Bracket Right
\rangle - Floor Left
\lfloor - Angle Bracket Left
\langle
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 poweredAI로 LaTeX 작성
최고의 AI LaTeX 편집기, Overleaf 대안
Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움
- AI로 아름다운 TikZ 다이어그램 생성
- 이미지를 업로드하고 LaTeX로 원활하게 변환
- 논문 작성 및 서식에 대한 즉각적인 지원 받기