![在 Minion Pro 的数学模式中使用计算机现代符号](https://linux22.com/image/320672/%E5%9C%A8%20Minion%20Pro%20%E7%9A%84%E6%95%B0%E5%AD%A6%E6%A8%A1%E5%BC%8F%E4%B8%AD%E4%BD%BF%E7%94%A8%E8%AE%A1%E7%AE%97%E6%9C%BA%E7%8E%B0%E4%BB%A3%E7%AC%A6%E5%8F%B7.png)
答案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}