I would like to make an array with some automatic calculations. I use the package ftlpoint
.
I made a test, but it does not work:
\newcommand{\line}[2]{%
\fpMul{\produit}{#1}{#2}% Calculation
\produit&%print result
\produit&print result in another cell
}
On the first cell, no problem, but in the second cell, LaTeX says the command \produit
doesn't exist (undefined control sequence).
How can do this?
Ps. Of course, my example is very simplified. I would like to make other calculations as well.
\MyLine
instead of\line
as I believe that is already defined elsewhere.