Multline latex output



Well my real problem is:
how to print, in a readable way,  really long expressions produced by maxima?

I was wishing that maxima could automatically  insert breaklines(\\) in its  
tex output, in order to use the multline environment.
But as it was said in the thread by Leo Butler and Richard Fateman 
Its probably a task for LaTex, not for maxima.

I've more or less solved the problem with breqn package
and with the help of the hack suggested by Steve in the
"[Maxima] Possibly useful hack for tex output..." thread.

P.S:
I did not yet find "the-solution" for view/print long expressions.
After several years using maxima, with or without gui's,
xmaxima, wxmaxima, TexMacs, imaxima...
at the end of the day, my favourite way of using maxima is with Emacs maxima-
mode, sending some of the output to a latex files (and on-the-fly compiling it 
and view it with xdvi).    
 
-- 
Nuno David Lopes

On Thursday 04 February 2010 15:55:56 you wrote:
> On 2/4/10, ndlopes at gmail.com <ndlopes at gmail.com> wrote:
> > Is there a   way of forcing multi-ilne  latex output (with line
> > breaking). Right now I use:
> >
> > set_tex_environment_default ("\\begin{multline}\\displaystyle
> > ", "
> > \\end{multline}");
> > tex(expr);
> >
> > No line breaking is included, thus, we get a latex compilation with
> > errors in each \begin{multline}.
> 
> I don't understand what you want Maxima to do differently.
> 
> best
> 
> Robert Dodier
>