Differential quantities with the mtpro2 font package don't typeset correctly (I think) because of the italic correction on the d character.
Using this post
Math letter's italic correction
I decided to try and remove the italic correction. While this works for some differentials, it doesn't work for all of them. 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}
Clearly d\tau and dx benefit enormously from having the italic correction removed whereas df and dj suffer and get moved too far apart. The discussion in
https://tex.stackexchange.com/a/557217/95517
seems to suggest that this is because mtpro2 defines the font metrics for d differently from Computer Modern, which treats d primarily as a differential operator. How can I get the spacing for d to be that of a differential operator?
