答案1
这并不难。根据fontmath.ltx
我们
\DeclareMathSymbol{\sum}{\mathop}{largesymbols}{"50}
\DeclareMathSymbol{\intop}{\mathop}{largesymbols}{"52}
\DeclareMathSymbol{\in}{\mathrel}{symbols}{"32}
\DeclareMathSymbol{\partial}{\mathord}{letters}{"40}
首先,我们需要准备好必要的数学符号字体,然后我们找到
\DeclareSymbolFont{letters} {OML}{cmm} {m}{it}
\DeclareSymbolFont{symbols} {OMS}{cmsy}{m}{n}
\DeclareSymbolFont{largesymbols}{OMX}{cmex}{m}{n}
我们不能将它们称为相同的,因为符号名称已被您为 Minion 使用的字体包所取代。因此您可以添加
\makeatletter
\AtBeginDocument{%
\DeclareSymbolFont{CMletters} {OML}{cmm} {m}{it}%
\DeclareSymbolFont{CMsymbols} {OMS}{cmsy}{m}{n}%
\DeclareSymbolFont{CMlargesymbols}{OMX}{cmex}{m}{n}%
%
\let\sum\relax\let\intop\relax\let\in\relax\let\partial\relax
\DeclareMathSymbol{\sum}{\mathop}{CMlargesymbols}{"50}%
\DeclareMathSymbol{\intop}{\mathop}{CMlargesymbols}{"52}%
\DeclareMathSymbol{\in}{\mathrel}{CMsymbols}{"32}%
\DeclareMathSymbol{\partial}{\mathord}{CMletters}{"40}%
\DeclareMathSymbol{\CMslash}{\mathord}{CMletters}{"3D}%
\DeclareRobustCommand\notin{\mathrel{\m@th\mathpalette\c@ncel\in}}%
\renewcommand\c@ncel[2]{%
\m@th\ooalign{$\hfil#1\mkern1mu\CMslash\hfil$\crcr$#1#2$}%
}%
}
\makeatother
请注意,更改\in
会导致\notin
错误,因此我还添加了必要的更正。
以下是我使用的测试,kpfonts
而不是我没有的 Minion。差异仍然很明显。
\documentclass{article}
\usepackage{kpfonts}
\makeatletter
\AtBeginDocument{%
\DeclareSymbolFont{CMletters} {OML}{cmm} {m}{it}%
\DeclareSymbolFont{CMsymbols} {OMS}{cmsy}{m}{n}%
\DeclareSymbolFont{CMlargesymbols}{OMX}{cmex}{m}{n}%
%
\let\sum\relax\let\intop\relax\let\in\relax\let\partial\relax
\DeclareMathSymbol{\sum}{\mathop}{CMlargesymbols}{"50}%
\DeclareMathSymbol{\intop}{\mathop}{CMlargesymbols}{"52}%
\DeclareMathSymbol{\in}{\mathrel}{CMsymbols}{"32}%
\DeclareMathSymbol{\partial}{\mathord}{CMletters}{"40}%
\DeclareMathSymbol{\CMslash}{\mathord}{CMletters}{"3D}%
\DeclareRobustCommand\notin{\mathrel{\m@th\mathpalette\c@ncel\in}}%
\renewcommand\c@ncel[2]{%
\m@th\ooalign{$\hfil#1\mkern1mu\CMslash\hfil$\crcr$#1#2$}%
}%
}
\makeatother
\begin{document}
\[
\sum_{i=1}^n\int_0^1 \frac{\partial f}{\partial y}(x)\,dx\in X \notin \mathcal{Y}
\]
\end{document}