Maxima removes parentheses from cos(x)



-----maxima-bounces at math.utexas.edu wrote: -----

>when exporting to TeX, cos(x)*y is printed as \cos x\,y and my students
>could read this at cos(x*y).

Try this:

(%i3) :lisp(setf (get '%cos 'tex) nil);
NIL

(%i3) tex(cos(x) * y)$
$$\cos \left(x\right)\,y$$

You'll need to do lisp(setf (get '%sin 'tex) nil), and ...

BW