I am trying to place a figure environment inside a tikzpicture as:
\begin{tikzpicture}
\node [mybox] (box){%
\begin{minipage}{0.45\textwidth}
% \LHead{
\begin{wrapfigure}{r}{.2\textwidth}
\begin{center}
\includegraphics[scale=1.]{Figures/cell2.png}
\caption{\tikz \shade[ball color=gray] circle(0.45); Sphere}
\end{center}
\end{wrapfigure}
% }
\end{minipage}
};
\node[fancytitle, right=30pt,rounded corners=10pt] at (box.north west) {\Huge{Structure}};
\end{tikzpicture}
If I just put includegraphics, without the figure env, its working. But I need figure env in this case as I would like to place the caption beside the figure.
I am compiling with pdflatex and texlive 2013

boxandfancytitlestyles, so we can get a better idea of your settings? – Gonzalo Medina Jul 11 '13 at 14:56