In fricas )se ou alg on fricas )se ou tex off Type: Expression(Integer)fricas width((sin x)::OutputForm)$OutputForm However, the width for squares and fractions seems to be wrong: fricas x^2 Type: Polynomial(Integer)fricas width((x^2)::OutputForm)$OutputForm I would expect 2 here. fricas 1/2 Type: Fraction(Integer)fricas width((1/2)::OutputForm)$OutputForm I would expect 1 here. The function is unfortunately not implemented in SPAD but rather calls It would be good to have a similar function for TeX output, by the way. Width of output depends on formater. In case of formats such as TeX or MathML the actual typesetting
happens outside FriCAS and we have no way to know true width. So |

...--test1, Tue, 06 May 2014 19:32:21 +0000 reply