Double Bracket Left in LaTeX (\llbracket)
- LaTeX command
\llbracket- Package
- Add to your preamble:
\usepackage{stmaryrd} - Mode
- Math mode only
- Copy the Unicode character
- ⟦
U+27E6
Where it is used
Left double (white) square bracket, used for semantic brackets, integer intervals and Iverson notation.
In programming-language semantics \llbracket e \rrbracket denotes the meaning of an expression, as in denotational semantics. French-tradition texts and combinatorics write \llbracket 1, n \rrbracket for the integer interval \{1, \dots, n\}, and some authors use it for the Iverson bracket. The command is not in core LaTeX or the AMS symbol fonts, so it needs a symbol package that provides it; KaTeX supports it directly. It grows only with packages that provide extensible versions, so for tall content check your setup. Pair it with \rrbracket.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\usepackage{stmaryrd}
\begin{document}
Double Bracket Left: $\llbracket$
\[ \llbracket 1, n \rrbracket = \{1, 2, \ldots, n\} \]
\end{document}Related symbols
- Double Bracket Right
\rrbracket - Norm
\| x \| - Double Brackets
\llbracket x \rrbracket - Double Vertical Bar
\| - Parentheses
\left( x \right) - Floor
\lfloor x \rfloor
Frequently asked questions
- How do I write Double Bracket Left in LaTeX?
- Type \llbracket in math mode, for example $\llbracket 1, n \rrbracket = \{1, 2, \ldots, n\}$. Load stmaryrd first with \usepackage{stmaryrd}.
- Which package do I need for \llbracket?
- \llbracket needs stmaryrd: add \usepackage{stmaryrd} to your preamble before the document starts.
- Can I use \llbracket in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\llbracket$ 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).
최고의 AI LaTeX 편집기, Overleaf 대안
Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움
- AI로 아름다운 TikZ 다이어그램 생성
- 이미지를 업로드하고 LaTeX로 원활하게 변환
- 논문 작성 및 서식에 대한 즉각적인 지원 받기