Possible Duplicate:
Adding a large brace next to a body of text
I'm trying to create a brace or bracket around two or more nodes within a TikZ picture. Since there are more elements in the picture which are not to be encompassed by the bracket or brace, I can't use the "insert the picture into LaTeX math mode" approach.
Here's the example code, for easy copy-pasting:
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}[box/.style={rectangle, fill=black, minimum size=1cm}]
\node [box] (a) {};
\node [box, below=of a] (b) {};
\node [box, below=of b] (c) {};
\node [box, below=of c] (d) {};
\end{tikzpicture}
\end{document}