Double Bracket Right in LaTeX (\rrbracket)

⟧\rrbracket
LaTeX command
\rrbracket
Package
Add to your preamble:\usepackage{stmaryrd}
Mode
Math mode only
Copy the Unicode character
⟧U+27E7

Where it is used

Right double square bracket, closing semantic-bracket or integer-interval notation.

Close \llbracket with \rrbracket to write \llbracket P \rrbracket_\sigma, the meaning of program P in state \sigma, or the integer range \llbracket a, b \rrbracket. Do not fake it with ]] or with ]\!], which give a different shape and spacing than the hollow bracket glyph. Authors with many semantic brackets often define a macro like \sem{e} so the bracket style can be changed in one place, for instance swapping to [\![ e ]\!] if the double-bracket font is unavailable.

Minimal compilable example

Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.

⟦x+y⟧=⟦x⟧+⟦y⟧\llbracket x + y \rrbracket = \llbracket x \rrbracket + \llbracket y \rrbracket
\documentclass{article}
\usepackage{stmaryrd}
\begin{document}
Double Bracket Right: $\rrbracket$

\[ \llbracket x + y \rrbracket = \llbracket x \rrbracket + \llbracket y \rrbracket \]
\end{document}

Related symbols

All Tanda Kurung & Pembatas →

Frequently asked questions

How do I write Double Bracket Right in LaTeX?
Type \rrbracket in math mode, for example $\llbracket x + y \rrbracket = \llbracket x \rrbracket + \llbracket y \rrbracket$. Load stmaryrd first with \usepackage{stmaryrd}.
Which package do I need for \rrbracket?
\rrbracket needs stmaryrd: add \usepackage{stmaryrd} to your preamble before the document starts.
Can I use \rrbracket in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\rrbracket$ 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 poweredTulis LaTeX menggunakan AI

Editor LaTeX AI Terbaik, Alternatif Overleaf

Octree membantu penyelidik dari 15+ universiti menulis kertas penyelidikan dengan lebih cepat menggunakan AI

  • Jana diagram TikZ yang cantik menggunakan AI
  • Muat naik imej dan tukar ke LaTeX dengan lancar
  • Dapatkan bantuan segera untuk menulis dan memformat kertas penyelidikan