pytexit
pytexit copied to clipboard
Negative Sign Before Parentheses
Hi!
First, this package is super great! Thank you!
I found something weird, if I do py2tex("a - (b - (c - d))"), I get '$$a-b-c-d$$'. Then both equations are not the same anymore. Maybe doing the whole distributive approach could be hard here, but maybe keeping the parantheses would be easier :)
Thank you!
Best,
Dave
Hey, I my pull request should fix this issue in a way. Not keeping parentheses but rather adding ones where there are subtractions.