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).
Pinakamahusay na AI LaTeX Editor, Alternatibo sa Overleaf
Tinutulungan ng Octree ang mga researcher mula sa 15+ na unibersidad na sumulat ng research papers nang mas mabilis gamit ang AI
- Gumawa ng magagandang TikZ diagrams gamit ang AI
- Mag-upload ng larawan at i-convert ito sa LaTeX nang walang problema
- Makakuha ng instant na tulong sa pagsulat at pag-format ng research papers