[Tex/LaTex] how to escape a comma

tikz-pgf

I have a tikz picture and at some point I draw the following node:

\node[thick,
      scale=0.5,
      minimum size=1.3cm,
      fill=red,
      circle,
      draw,
      fill opacity=0.3,
      label=right:$= (0 1 0 1 0 \ldots)$
      ] (the) at (6.2, 1.5) { };

The thing is that I want to separate the 0 1 0 1, etc with commas. I can't do that, because I think TikZ thinks it separates the next parameter in the square brackets. How can I escape the comma?

Best Answer

By eating healthy or using braces around shady characters.

\begin{tikzpicture}
\node[thick,
      scale=0.5,
      minimum size=1.3cm,
      fill=red,
      circle,
      draw,
      fill opacity=0.3,
      label=right:{$= (0,1,0,1,0,\ldots)$}
      ] (the) at (6.2, 1.5) { };
\end{tikzpicture}

enter image description here