I trying to explain the orders of multiplication of algebraic expression. With MWE and \usepackage{tikz-dependency}, I failed to produce what I want though:

 (a+b)^{2}&=\begin{dependency} [theme = simple]
 \end{aligned} $

I don't know what you want of course, but this works at least:


    \begin{dependency}[theme = simple,baseline=-3pt]
    \begin{deptext}[inner xsep=0pt,column sep=0pt,nodes={inner sep=0pt}]
      $($\&$a$\&${}+{}$\&$b$\&$)($\&$a$\&${}+{}$\&$b$\&$)$ \\

enter image description here

  • 1
    This is exactly what I want. Dollars here are that very important!!! – Panha Mar 20 '16 at 13:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.