One of the features I really valued in pstricks (I have long changed to tikz and this is the only feature I am missing) is that I could just designate any fragment as a node and then connect that to other nodes I had lying around.
Here is a specific example I came up while converting legacy code for my lecture.
\begin{tikzpicture}[yscale=1.5]
\node (love) at (2,0) {$\text{love}$};
\node (aform) at (0,1) {$\forall{X}\text{man}(X)\rightarrow\Box$};
\node (eform) at (4,1){$\exists{X}\text{woman}(X)\wedge\Box$};
\node (top) at (2,2) {$\Box$};
\draw[dashed,->] (top) --node[left] {1} (aform);
\draw[dashed,->] (top) --node[right] {2} (eform);
\draw[dashed,->] (aform.east) --node[left] {3} (love);
\draw[dashed,->] (eform.east) --node[rightl] {4} (love);
\end{tikzpicture}
But I am cheating in the last two lines of the picture. What I really want to do is to link the boxes in the nodes aform and eform to the node love. In pstricks I would just have used the \rnode macro and done something like
\node (aform) at (0,1) {$\forall{X}\text{man}(X)\rightarrow\rnode{abox}{\Box}$};
\node (eform) at (4,1){$\exists{X}\text{woman}(X)\wedge\rnode{ebox}{\Box}$};
and used the node labels simply with (now pure tikz again)
\draw[dashed,->] (abox) --node[left] {3} (love);
\draw[dashed,->] (ebox) --node[rightl] {4} (love);
I have tried various things, e.g. using \tizk[remember picture]\node (abox) {\Box}; but nothing I came up with worked. I would be grateful to learn how to do this.


\documentclassand the appropriate packages so that those trying to help don't have to recreate it. While solving problems is fun, setting them up is not. Then those trying to help can simply cut and paste your MWE and get started on solving problem. – Peter Grill Nov 23 '12 at 9:16