Skip to Content.
Sympa Menu

texmacs-users - [TeXmacs] Breaking output lines in CAS session?

Subject: mailing-list for TeXmacs Users

List archive

[TeXmacs] Breaking output lines in CAS session?


Chronological Thread 
  • From: "Alasdair McAndrew" <address@hidden>
  • To: address@hidden
  • Subject: [TeXmacs] Breaking output lines in CAS session?
  • Date: Sat, 03 Oct 2015 09:26:48 +0200

Hello,

My use of TeXmacs is as an interface to CAS's, in particular Axiom/FriCAS.
However, I'm having some trouble with line breaking. A single output line,
such as the output of

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

will be nicely broken to fit the window size, but if the output contains a
large fraction, it won't be broken. For example:

ex:=integrate(x^6*sqrt(x^2+1),x)

produces a huge long expression, which is a fraction. To make sense of the
output I need to enter

numerator(ex)
denominator(ex)

both of which are broken across several lines nicely.

A hideous example is given by

ex:=integrate(sqrt(tan(x)^2+2*tan(x)+2)

which contains a fraction inside an arctan. I can use

kernels(ex)

as well as calls to 'operator' and 'argument' to start teasing out
subexpressions, but this is pretty messy.

Is there some way of using the breqn package of LaTeX to optimize line
breaking in TeXmacs output? Or is there some other way?

Thanks,
Alasdair


  • [TeXmacs] Breaking output lines in CAS session?, Alasdair McAndrew, 10/03/2015

Archive powered by MHonArc 2.6.19.

Top of Page