[Tex/LaTex] Annotate figure with a text box and and arrow

annotationsbeamerfloatstikz-pgf

There exists a really good prototype for the question I'm asking. Having a look at it will be easier to understand the problem.

How would we add "Note" in a box, and have an arrow pointing to the top of the tower?

Something similar to this

enter image description here

This seems to help, but it creates a LONG box, which doesn't make it clear on beamer.

MWE

\documentclass[convert]{standalone}
\usepackage{tikz}

\begin{document}

\begin{tikzpicture}
\node [anchor=west] (note) at (6.0,4) {
    \fbox{\begin{minipage}{11em}
        FOOBARBAZ FOOBARBAZ FOOBARBAZ
\end{minipage}}};

\begin{scope}[xshift=1.5cm]
\node[anchor=south west,inner sep=0] (image) at (0,0) {\includegraphics[scale=0.15]{graphs/test.pdf}};
    \begin{scope}[x={(image.south east)},y={(image.north west)}]
        \draw [-latex, ultra thick, red] (note) to[out=0, in=90] (0.68,0.70);
        %\draw[blue,thick,rounded corners] (0.2,1.0) rectangle (0.1,0.15);
    \end{scope}
\end{scope}
\end{tikzpicture}%
\end{document}

Best Answer

You can add a node with some text in it to an arrow. Hopefully this will get you started. If not, please provide a minimum working example.

MWE

\documentclass[convert]{standalone}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}
    \draw[->, thick] node[draw, text width=3cm, above] 
         {Enter your text here. Adjust the \texttt{text width} to change the size of the box.} 
         (0,0)--++(0, -2);
\end{tikzpicture} 
\end{document}

Result

enter image description here