3 ms·
A simpler example: $ lax -c 'x ** 2' \sqrt[2]{x} While the output should be: x^2. If you wanted to use sqrt, it would have to be: \sqrt[\fr
by S4M 9y ago
A simpler example:
$ lax -c 'x ** 2'
\sqrt[2]{x}
While the output should be:
x^2.
If you wanted to use sqrt, it would have to be:
\sqrt[\frac{1}{2}]{x}
- iogf 9y agoThe output for x 2 was chosen to print out \sqrt because it is possible to have x ^2 in python whose output would be x ^ 2 as expected. The idea is using to print long sqrt so advantaging this behavior. Although i haven't implemented x^2 planning to do it next week with the new improvements.
- maxerickson 9y agoIf you change the meanings of symbols then the description becomes "write lax, output latex".