在mathjax中使用CancelColor

问题描述 投票:0回答:1

我想在mathjax中使用\cancel{·}here解释说,用不同颜色的交叉线。

我用

\[
enter code here
\require{xcolor}
\require{cancel}
\renewcommand\CancelColor{\color{red}}

\cancel{x^2}
\]

但是没有用。有任何想法吗?

mathjax
1个回答
0
投票

为了将来的参考,tex Stack Exchange here给出了一个很好的答案

© www.soinside.com 2019 - 2024. All rights reserved.