I have 2 rectangles and an operator between them, the one on the right is longer than the one on the left:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}
\node[rectangle, draw, text width={1cm}, minimum height={1cm}, text centered] (l) {l};
\node (op) [right=0.5cm of l] {$+$};
\node[rectangle, draw, text width={1cm}, minimum height={3cm}, text centered, right=0.5cm of op] (r) {r};
\end{tikzpicture}
\end{document}
The code above makes the two rectangles center adjusted horizontally, does anyone know how to make them top adjusted horizontally?



\documentclassto\end{document}with all libraries and packages you use. Then it's easier to test and answer. – Ignasi Oct 17 '11 at 10:34