Italic Correction with Italic Numbers in Math Mode using Microtype?

Some days ago I posted a question on how to get all numbers in italics (How to Get All Numbers in Italics), getting a very fast and excellent answer by David Carlisle. However, such an answer does no apply any italic correction; thus getting odd spacing when numbers are inside brackets, parentheses and so on. This is a MWE that generates such an output:

\documentclass{article}
\usepackage[sloped]{fourier} % To customise font.
\usepackage[T1]{fontenc} % To customise font.
\usepackage{amsmath, mathtools, amsthm, mathrsfs, amssymb} % MATH Packages
\DeclareSymbolFont{mathit}{T1}{fut\mathfamilyextension}{m}{it}
\DeclareMathSymbol{0}{\mathalpha}{mathit}{0}
\DeclareMathSymbol{1}{\mathalpha}{mathit}{1}

\begin{document}
$(0,1)$
\end{document}


And this is the rather weird spaced output:

How can I get decent spacing in such cases?

EDIT

I am thinking of redefining all math parentheses with microtype package. So far, I've tried something like:

\SetExtraKerning[unit=space,context=displaymath]{encoding={OT1,T1,LY1}}{)={5000,}}


But does not seem to do the trick. Any clues on how to further develop this approach with microtype?

• Hi, I have this error LaTeX Error: Symbol font mathit is not defined. You could see at the link tex.stackexchange.com/questions/55512/…. – Sebastiano Mar 30 '17 at 10:31
• If you want it to look good, you can use an italic ). Otherwise the “data” is not there, you can also create \def\p(#1){(#1\mspace{1mu})} and use \p(0,1) rather than (0,1) and tweak the spacing at will. – Manuel Mar 30 '17 at 10:46
• Note that microtype does not touch maths by default. – cfr Apr 2 '17 at 2:22
• Frankly, if David Carlisle says there is no way to do this without breaking stuff, it is unlikely that there is a way to do this without breaking stuff. That is, without making it extremely fragile etc. – cfr Apr 2 '17 at 2:29
• microtype's extra kerning feature doesn't work in math mode, unfortunately (which is a limitation of pdftex). So changing the font set, as suggested by @cfr, won't make any difference here. – Robert Apr 2 '17 at 16:38