The point about having LaTeX output is that you should be able to break up
long lines using the breqn.sty package.  This is what imaxima (maxima
running in Emacs) does, and it works pretty well.  For example, the command

expand((x+y+z)^10)

which is the same in FriCAS and in Maxima, is broken up neatly in imaxima
to fit the Emacs window.  But in efricas it is one very long (and on my
system with an unreadably small font) line.

(Actually, the command is not quite the same in both packages; I use
"expand((x+y+z)^10)::DMP([x,y,z],FRAC INT)" in FriCAS to get the output I
want.)

On Sun, May 29, 2016 at 2:49 PM, oldk1331 <oldk1...@gmail.com> wrote:

> - > Long lines aren't broken.
> -
> - FriCAS don't have support for automatically breaking long equations, and
> - I doubt other CASs can.  That means, if a result looks messy in
> terminal,
> - it will be messy in other output backends.
> -
> - For this particular integration, complexIntegration gives a cleaner
> result:
> -
> - (1) -> complexIntegrate(sqrt(x^2+1)/(x^4+1), x)
>
>    (1)
>           ┌──────────┐      ┌──────────┐      ┌──────┐
>           │ ┌───┐           │ ┌───┐           │ 2          ┌───┐     2
>        - \│\│- 1  - 1 log(2\│\│- 1  - 1  - 2x\│x  + 1  - 2\│- 1  + 2x )
>      +
>           ┌────────────┐         ┌──────┐     ┌────────────┐
>           │   ┌───┐              │ 2          │   ┌───┐          ┌───┐
> 2
>        - \│- \│- 1  - 1 log(- 2x\│x  + 1  + 2\│- \│- 1  - 1  + 2\│- 1  +
> 2x )
>      +
>         ┌────────────┐         ┌──────┐     ┌────────────┐
>         │   ┌───┐              │ 2          │   ┌───┐          ┌───┐     2
>        \│- \│- 1  - 1 log(- 2x\│x  + 1  - 2\│- \│- 1  - 1  + 2\│- 1  + 2x )
>      +
>         ┌──────────┐        ┌──────────┐      ┌──────┐
>         │ ┌───┐             │ ┌───┐           │ 2          ┌───┐     2
>        \│\│- 1  - 1 log(- 2\│\│- 1  - 1  - 2x\│x  + 1  - 2\│- 1  + 2x )
>   /
>      4
> -
> - which is similar to mma's output:
> -                   3/2                            3/2
>            (1 - I)    x                   (1 + I)    x
> ArcTan[--------------------]   ArcTan[--------------------]
>                          2                              2
>        Sqrt[2] Sqrt[1 + x ]           Sqrt[2] Sqrt[1 + x ]
> ---------------------------- + ----------------------------
>        Sqrt[2 - 2 I]                  Sqrt[2 + 2 I]
>
> --
> You received this message because you are subscribed to the Google Groups
> "FriCAS - computer algebra system" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to fricas-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to fricas-devel@googlegroups.com.
> Visit this group at https://groups.google.com/group/fricas-devel.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
[image: http://www.facebook.com/alasdairmcandrew] [image:
https://twitter.com/amca01] <https://twitter.com/amca01>
<https://www.linkedin.com/in/alasdair-mcandrew-108178a>
<https://plus.google.com/+AlasdairMcAndrew/posts>

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to fricas-devel+unsubscr...@googlegroups.com.
To post to this group, send email to fricas-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to