I would like to know if we can reference a (tikz)picture within a node from another picture. In this way, I could create a PDF with multiple pictures which give details of each node from my first picture. Thanks.
Tell me more
×
TeX - LaTeX Stack Exchange is a question and answer site for
users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
|
See section 16.13 Referencing Nodes Outside the Current Pictures in the TikZ/PGF-manual. It shows a nice example on how to do this. I cite the relevant example below. Inside the current text we place two pictures, containing nodes named n1 and n2, using
which yields (1), and
yielding the node (2). To connect these nodes, we create another picture using the overlay option and also the remember picture option.
In the manual you will see a line drawn from (1) to (2). I think that shows the possibilities and features of |
|||
|
figureenvironment and use\caption{<text>}\label{<label>}after it, but before the\end{figure}. Then you can reference it using\ref{<label>}from anywhere, including a node from another picture. This need two compiler run to get you stable output, BTW. – Martin Scharrer♦ Mar 26 '12 at 20:44[remember picture,overlay]options. Maybe your question is also related to that sort of referencing. As Martin mentioned if you can give a little more detail, we can have a better look. – percusse Mar 27 '12 at 3:02\node[state] (A_1) [right of=A_0] {$A_1$ \ref{MyLabel}};But a "1" appears and I wonder if we can apply the link on the node – Romain Mar 27 '12 at 14:02