collect TeX output
Christophe TROESTLER
debian00 at tiscalinet.be
Wed Dec 12 00:29:42 CET 2001
Hi,
It seems that GiNaC, when (for example) collecting expressions and
then printing them to LaTeX adds some braces in additions to
parentheses. For example
symbol x("x"), y("y"), t("t");
ex e = x*t + y*t;
collect(e,t).print(GiNaC::print_latex());
ouputs
t {(y+x)}
Is there any way (an option?) to remove the extra braces? Indeed,
they force TeX NOT to BREAK the expression (i.e., it must fit on a
single line) which is problematic when the expression is long.
Thanks,
ChriS
More information about the GiNaC-list
mailing list