Some MathML / MathJax sites have support for strikethrough enabled:
MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
var TEX = MathJax.InputJax.TeX;
var MML = MathJax.ElementJax.mml;
TEX.Definitions.macros.cancel = ["myCancel",MML.NOTATION.UPDIAGONALSTRIKE];
TEX.Definitions.macros.bcancel = ["myCancel",MML.NOTATION.DOWNDIAGONALSTRIKE];
TEX.Parse.Augment({
myCancel: function (name,notation) {
var mml = this.ParseArg(name);
this.Push(MML.menclose(mml).With({notation:notation}));
}
});
});
This code enables the use of \cancel and \bcancel respectively. These macros don't seem to work on our site:
\$ \cancel{(2 + 2)} \$
Since some of our answers deal with derivations, having the ability to do a strikethrough may help with translating written derivations into electronic format.
There is a \not function, but it strikes through only a single character (not an expression).
Thoughts / comments?