mactex-utilities: Problem with tex() and matrices.
Subject: mactex-utilities: Problem with tex() and matrices.
From: Robert Dodier
Date: Mon, 15 Jan 2007 09:44:27 -0700
Peter,
> (%i3) tex(ea11(x))$
> $$\left(\alphaathreethree\,\vathreeone+\alphaaoneone\right)\,\DT-{{
> \left(\vatwothree\,\vathreeone+\vatwoone\right)\,\Satwotwo\left(x ,
> y\right)}\over{\Eatwotwo}}-{{\left(\vaonethree\,\vathreeone-1\right)
> \,\Saoneone\left(x\right)}\over{\Eaoneone}}$$
Hmm, this is strange ... I wonder why the indices are spelled out
(one, two, three) instead of being written as numerals.
What does build_info() report?
About mactex-utilities, I don't know what the problem is.
Maybe it's enough just to put the following bit in a separate file
and load it (assuming what you want is \frac instead of \over).
(defun tex-mquotient (x l r)
(if (or (null (cddr x)) (cdddr x)) (wna-err (caar x)))
(setq l (tex (cadr x) (append l '("\\frac{")) nil 'mparen 'mparen)
r (tex (caddr x) (list "}{") (append '("}") r) 'mparen 'mparen))
(append l r))
Hope this helps,
Robert