由于字符上的斜体校正,字体包的差异数量mtpro2
无法正确排版(我认为)d
。
使用此帖子
我决定尝试删除斜体校正。虽然这对一些差异有用,但并不适用于所有差异。MWE:
\documentclass{article}
\usepackage{mtpro2}
\usepackage{mathtools}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand*\ric[1]{\vphantom{#1}\smash{#1_{}\kern-\scriptspace}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\[
\begin{matrix}
\text{with italic correction} &dx & d\tau \\
\text{without italic correction} &\ric{d}x & \ric{d}\tau
\end{matrix}
\]
\[
\begin{matrix}
\text{with italic correction} &df & dj \\
\text{without italic correction} &\ric{d}f & \ric{d}j
\end{matrix}
\]
\end{document}
显然d\tau
,和dx
从删除斜体校正中获益匪浅,而df
和dj
则受到影响,并且相距太远。
https://tex.stackexchange.com/a/557217/95517
似乎表明这是因为 的mtpro2
字体度量定义d
与 Computer Modern 不同,后者d
主要将其视为微分算子。我怎样才能使 的间距d
成为微分算子的间距?