Avoid superfluous parentheses in LaTeX from Maxima's `tex` function

40 Views Asked by At

I want to use Maxima to simplify expressions and print the result in LaTeX. However, if I enter

tex(-2*y);

I get

$$-\left(2\,y\right)$$

which roughly prints as -(2y) after latex. Is there a way to tell Maxima to drop the unnecessary parentheses around 2y in the LaTeX output?

0

There are 0 best solutions below