Double Bracket Right in LaTeX (\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.
\documentclass{article}
\usepackage{stmaryrd}
\begin{document}
Double Bracket Right: $\rrbracket$
\[ \llbracket x + y \rrbracket = \llbracket x \rrbracket + \llbracket y \rrbracket \]
\end{document}Related symbols
- Double Brackets
\llbracket x \rrbracket - Double Bracket Left
\llbracket - Parentheses
\left( x \right) - Norm
\| x \| - Square Brackets
\left[ x \right] - Double Vertical Bar
\|
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).
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