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 poweredAIでLaTeXを書く

最高のAI LaTeXエディタ、Overleaf代替

Octreeは15以上の大学の研究者がAIを使って論文をより速く書くのを支援

  • AIで美しいTikZダイアグラムを生成
  • 画像をアップロードしてシームレスにLaTeXに変換
  • 論文の執筆とフォーマットに即座にサポートを取得