[已解决] Mathjax3.0 如何渲染删除线
Copyright Notice: This article is an original work licensed under the CC 4.0 BY-NC-ND license.
If you wish to repost this article, please include the original source link and this copyright notice.
Source link: https://v2know.com/article/842
代码:
$$\enclose{horizontalstrike} { Input anything you want to delete. }$$
但是效果会看起来全部粘在一起,就像这样:
$$\enclose{horizontalstrike} { Input anything you want to delete. }$$
你需要做的是,在每个空格位置增加\;
$$\enclose{horizontalstrike} { Input\;anything\;you\;want\;to\;delete. }$$
效果:
$$\enclose{horizontalstrike} { Input\;anything\;you\;want\;to\;delete. }$$
使用例:
$${\color{red} \enclose{horizontalstrike}{(x^\mu)'=0}}
效果:
$${\color{red} \enclose{horizontalstrike}{(x^\mu)'=0}} \; \; (x^n)'=nx^{n-1}$$
This article was last edited at