I'm trying to make the following diagram:
\begin{tikzpicture}[
start chain=1 going right,node distance=-0.15mm]
\node [on chain=1] at (-1.5,-.4) {f(};
\node [draw,on chain=1] {*};
\node [draw,on chain=1] {*};
\node [draw,on chain=1] {*};
\node [draw,on chain=1] {0};
\node [draw,on chain=1] {0};
\node [draw,on chain=1] {*};
\node [draw,on chain=1] {0};
\node [draw,on chain=1] {1};
\node [draw,on chain=1] {*};
\node [draw,on chain=1] {*};
\node [draw,on chain=1] {0};
\node [name=r,on chain=1] {$) = 0$};
\end{tikzpicture}
The problem I am running into is that the boxes around the *'s are slightly bigger than around the numbers 1,0. How can I insure that all the boxes are the same size?
Also I'd like the variable x to appear above the center of the chain, what is the easiest way to do this? The only way I know right now is node at (x,y) command. I think there should be a way to name a node in the middle of the chain, and define a node to go directly above it, but I don't know the syntax for this.
