Re: Maxima web interface



----Jaime E. Villate wrote: -----

>In addition to:
>(%i1) tex(matrix([a/c],[b]))$
>$$\pmatrix{{{a}\over{c}}\cr b\cr }$$
>
>I would love to have:
>(%i2) latex(matrix([a/c],[b]))$
>$$\left[\begin{array}{c}\frac{a}{c}\\ b\end{array}\right]$$

Suggestion: load "mactex-utilities" and look at its source.
It might help you get started with the changes you would like
to make.

(%i1) m : matrix([a,a/b])$
(%i2) tex(m);
$$\pmatrix{a&{{a}\over{b}}\cr }$$

(%i3) load("mactex-utilities")$
(%i4) tex(m);
$$\begin{pmatrix}a & \frac{a}{b} \\ \end{pmatrix}$$
Barton