# [Tex/LaTex] sets and enclosing braces

bracketsformatting

How can I denote a set of numbers with curly braces around them (curly braces are usually the standard for sets in mathematical textbooks). I tried the following:

$d={3, 2, 2, 1, 1, 1}$


Tex rendered the text without the curly braces

$d=\{3, 2, 2, 1, 1, 1\}$ should do the trick