Double Bracket Left in LaTeX (\llbracket)

⟦\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.

⟦1,n⟧={1,2,…,n}\llbracket 1, n \rrbracket = \{1, 2, \ldots, n\}
\documentclass{article}
\usepackage{stmaryrd}
\begin{document}
Double Bracket Left: $\llbracket$

\[ \llbracket 1, n \rrbracket = \{1, 2, \ldots, n\} \]
\end{document}

Related symbols

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

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).
Math poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

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

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

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