I have been searching for an answer for some time but have not come across a solution. I am taking some notes from a programming course and need to take a line of code and identify each individual part with alternating arrows. For example, the line:
this.Something = new AnotherThing(anArgument);
Now, I need an arrow below this line pointing up to 'this' coming from some text identifying the part. Now, another arrow would need to start at some explanation text above this line and point down to the 'Something'. The =, new, and parenthesis do not need anything, just the other items. I have been trying to use \underset and \overset, but the spacing on the line goes wonky. Any guidance will be greatly appreciated.

{\bigcirc}to{}in the answer at http://tex.stackexchange.com/questions/140529/graphics-equations-put-text-on-equations/140547#140547 to get rid of the red circle. – Steven B. Segletes Jan 17 '15 at 03:25\newcommand\notate[3]{\unskip\def\useanchorwidth{T}\setbox0=\hbox{#1}\def\stackalignment{c}\stackunder[-6pt]{\def\stackalignment{c}\stackunder[-1.5pt]{\stackunder[-2pt]{\strut #1}{}}{\rule{\rlwd}{#2\baselineskip}}}{\strut$\downarrow$\brlap{\kern-2ex\footnotesize#3}}\ignorespaces}in the answer at http://tex.stackexchange.com/questions/167659/latex-package-to-help-diagram-translation-of-one-language-to-another/167695#167695 to perhaps get preferable formatting. – Steven B. Segletes Jan 17 '15 at 03:32