2019-08-23 16:48发布
MWE:\documentclass{ctexart}\usepackage{amsmath,newtxmath}\begin{document}$\sum$\end{document}这个宏包的求和... 显示全部
MWE:
\documentclass{ctexart}
\usepackage{amsmath,newtxmath}
\begin{document}
$\sum$
\end{document}
这个宏包的求和符号太丑了,想换成原本不加载newtxmath宏包时的$\sum$符号
问题解决了
添加以下代码即可(还重定义了积分、连乘、线积分符号)
\DeclareSymbolFont{CMlargesymbols}{OMX}{cmex}{m}{n}%
\let\int\relax\let\sum\relax\let\oint\relax\let\prod\relax
\DeclareMathSymbol{\sum}{\mathop}{CMlargesymbols}{"50}
\DeclareMathSymbol{\int}{\mathop}{CMlargesymbols}{"52}
\DeclareMathSymbol{\oint}{\mathop}{CMlargesymbols}{"48}
\DeclareMathSymbol{\prod}{\mathop}{CMlargesymbols}{"51}
最多设置5个标签!
问题解决了
添加以下代码即可(还重定义了积分、连乘、线积分符号)
\DeclareSymbolFont{CMlargesymbols}{OMX}{cmex}{m}{n}%
\let\int\relax\let\sum\relax\let\oint\relax\let\prod\relax
\DeclareMathSymbol{\sum}{\mathop}{CMlargesymbols}{"50}
\DeclareMathSymbol{\int}{\mathop}{CMlargesymbols}{"52}
\DeclareMathSymbol{\oint}{\mathop}{CMlargesymbols}{"48}
\DeclareMathSymbol{\prod}{\mathop}{CMlargesymbols}{"51}
一周热门 更多>