I have node (say \node (mynode) at (0,10) {\blindtext};). How can I redraw it with something like \draw[redraw=mynode]?
Asked
Active
Viewed 347 times
1 Answers
2
With TikZ v3 you can shift the node specifications to a style. I don't know your intention but here is an example
\begin{tikzpicture}[mynode/.style={at={(1,0)},node contents={asdfasdf}}]
\node[mynode];
\end{tikzpicture}
percusse
- 157,807
-
I don't have TikZ v3, but only v2 and installing another version seems surprising difficult/risky on Linux. – Make42 Dec 09 '15 at 10:16
-
Also, this is not what I was looking for. I want to specify a node not in a style but just as normally done in the tikzpicture. Then later I just want to redraw it. This is useful if the node has been drawn over and as you know by now, I have trouble using the layers correctly. But even even if the layers worked this would be useful in cases where there is just a couple of nodes I want to redraw which might be enough to justify a layer if you will. – Make42 Dec 11 '15 at 09:42
tikzposterand I can't use the most current version of tikz - I tried in http://tex.stackexchange.com/q/281238/49283. I want to http://tex.stackexchange.com/q/282163/49283. Using tcolorbox does not solve my problem in the end, because it does not solve http://tex.stackexchange.com/a/282244/49283. – Make42 Dec 09 '15 at 10:57\newcommand{\mynode}[1][]{\node (mynode#1) at (0,10) {\blindtext};}and use it twice? – Bordaigorl Dec 09 '15 at 11:02