How to include tizpicture
, for example defined in ducks
package, to a forest
node?
Edit:
Simplified MWE with comparison result using duck
in tikzpicture
and in forest
.
\documentclass[border=3.141592]{standalone}
\usepackage{forest}
\usetikzlibrary{ducks}
\begin{document}
\tikz[baseline]{\duck[signpost=1]}\quad
\begin{forest}
[\tikz{\duck[signpost=1]}]
\end{forest}
\end{document}
As you can see, the duck image in forest node is not complete, missed is result of option signpost=1
.
I guess, that image is included before its process of duck drawing is complete. So far I didn't find a way how to delay inclusion of image, or better, how to correct include such images in forest
node.
pic
, did you try this option?forest
?\draw pic[duck/signpost=1]{duck};
, leading to (in the forest node):[\tikz{\draw pic[duck/signpost=1]{duck}}, label=below:Text]
. It works well out of theforest
environment. But I just tried it into the forest node, and it fails too.tikz
inside forest nodes, in the first place.