Optional abbreviation of (-1)^p to (-)^p (off by default, since it can be confusing):
Automatic cycling of delimiters at different levels of nesting (on by default):
When the function g is displayed above, the minus sign remains in the denominator, since I think it is up to the simplification to move it to the numerator.
There are more functions that could be given proper LaTeX representations, e.g. besselj is printed like this at the moment:
To be able to display fractions properly, I also implemented numerator and denominator for SymExpr arguments.
Some features illustrated below:
Optional abbreviation of
(-1)^p
to(-)^p
(off by default, since it can be confusing):Automatic cycling of delimiters at different levels of nesting (on by default):
When the function
g
is displayed above, the minus sign remains in the denominator, since I think it is up to the simplification to move it to the numerator.There are more functions that could be given proper LaTeX representations, e.g.
besselj
is printed like this at the moment:To be able to display fractions properly, I also implemented
numerator
anddenominator
forSymExpr
arguments.