27

How do I create mathematical equation double square braces like these ⟦exp⟧ in latex? I failed to find it on google (I created these using word 2010 equation editor). I would like these to be of adjustable height like regular braces if possible.

Thanks in advance!

1 Answers1

34
\usepackage{stmaryrd}
...
$\llbracket a+b\rrbracket$

You find hundreds of symbols in the "Comprehensive LaTeX List of Symbols" which is on CTAN and, possibly, also on your system (texdoc symbols).

egreg
  • 1,121,712
  • 3
    In this modern "internet age", it's useful to point people in the direction of detexify as well as the list of symbols. – Andrew Stacey May 15 '11 at 20:46
  • @Andrew: you're probably right, I keep forgetting "detexify". However this resource doesn't suggest \llbracket for ⟦, but only \textlbrackdbl :( – egreg May 15 '11 at 20:50
  • 2
    It shows \llbracket, but not always depending how I draw it. – Martin Scharrer May 15 '11 at 20:55
  • 2
    egreg: I agree that it's not always perfect - see my comment on the main question! But one thing that helps is us "training" it (which I did, once it had found the right symbol). – Andrew Stacey May 15 '11 at 21:03