# How to kern kpfont integrals? [duplicate]

kpfont integrals have a lot of empty space both on the left and on the right ever with smashoperator:

How do I kern the function "into" the integral and reduce the white space of the left document-wide?

\documentclass{article}

\usepackage[intlimits]{kpfonts}
\usepackage{amsmath,mathtools}

\begin{document}
$$I = \int_{t_{k}}^{t_{k+1}} f(t) dt$$

$$SMOP = \smashoperator{\int_{t_{k}}^{t_{k+1}}} f(t) dt$$
\end{document}


## marked as duplicate by egreg, Stefan Pinnow, Phelype Oleinik, Bobyandbob, TroyDec 6 at 19:35

I have found a partial solution in How can I redefine \int to put a negative space after the integral sign, but keep the limits properly set?

\usepackage{xparse}
\RenewDocumentCommand{\int}{e{_^}}{%
\DOTSI
\intop_{\IfValueT{#1}{#1}}^{\IfValueT{#2}{#2}}%
\mspace{-4mu}%
}