abou maxima's ability to translate Maxima commands to TeX commands



  On 8/25/2010 10:01 AM, Barton Willis wrote:
> To change the spacing between terms, use the function texput:
>
>     (%i2) texput("*", " ", 'infix);
>     (%o2)
>     (%i3) tex(a*b);
>     $$a b$$
>     (%o3) false
>
> I don't know of a user-level function that would insert thin spaces at
> each end
> of a quotient.
>
> --Barton
>
> maxima-bounces at math.utexas.edu wrote on 08/25/2010 10:27:40 AM:
>
>
>> My name is Yosuke Yamazaki, and I am a university student
>> in Japan.Please forgive my bad English.
>>
>> I want to change the default of maxima's ability to
>> translate Maxima commands to TeX commands. For example, I
>> don't need \, between 2 characters which are multiplied.
>> Or, I want a longer fraction line by using \,s at both
>> ends of denominator (or numerator). These customizes are
>> possible? If they are, please tell me how to do.
>>
>> Sincerely,
>> Yosuke Yamazaki
>>
You can write the output to a file which you can edit any way you like. 
I find that the automatic conversion sometimes does not look right 
because in a technical paper you may have different ideas about how to 
arrange the terms in a formula in order to emphasize something.

For example,  E=m*c^2  gets "simplified"  to    E=c^2*m  by Maxima, 
because alphabetical order is often "simpler".  We are used to a 
different arrangement here.  How best to fix this??  You could try to 
change the program to alter the order, or you could just edit the output.


In general, if you want to change anything in Maxima, you can read the  
Lisp source code and make your own version of a file.
This is not as crazy as it may seem. It is easy to overwrite some part 
of Maxima by load("newversion.lisp")  where
the file newversion.lisp re-defines something.   You don't have to 
re-make all of Maxima.

RJF