You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We could also add in a Maxima function cancel which typesets its argument, and another cancelwith which cancels its first argument, and indicates a replacement with the second. E.g. cancelwith(x+1,1) in maxima might typeset as
MathJax now has support for the TeX \cancel command, using
https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js
andTest cases are
\( {\color{red}\cancel{\color{black}x+1}}+a \)
\( \frac{x^2{\color{red}\cancel{\color{black}(x+1)}}}{\color{red}\cancel{\color{black}(x+1)}}\)
We could also add in a Maxima function
cancel
which typesets its argument, and anothercancelwith
which cancels its first argument, and indicates a replacement with the second. E.g.cancelwith(x+1,1)
in maxima might typeset as\( \stackrel{\color{red}1}{{\color{red}\cancel{\color{black}x+1}}} \)
Is this a useful addition? Comments welcome!
Chris
The text was updated successfully, but these errors were encountered: