I have the problem that both the original Helvetica and the Neue Helevetica font families by Linotype, in their OpenType versions, seem to not have proportional figures, only tabular figures, where each figure is monospaced. I tried switching to proportional figures with fontspec
but it doesn't change the appearance a bit.
I need the proportional figures for paragraph text where tabular figures look weird. I find this situation pretty baffling, given that it seems to be a professional and well-known font. The tabular figures are most visible with the "1", which has too much space around it.
I found a possible solution inside LuaLaTeX with this answer: https://tex.stackexchange.com/a/323718/75284 but per David Carlisle's comment this approach would break numeric uses in other LaTeX commands. He mentions virtual fonts, how would one define a new virtual font and apply the needed kerning pairs?
Best would be a solution where one could define both generic kerning (left AND right) and define kerning pairs for fine tuning.
Please substitute Helvetica with a different font in your system if you don't have it.
% -*- program: lualatex -*-
\documentclass{article}
\usepackage{fontspec}
\defaultfontfeatures{Ligatures=TeX}
\setmainfont{HelveticaNeueLTStd-Roman}
\begin{document}
\obeylines
11111
88888
10 11 12 13 14 15 16 17 18 19 1.
01 11 21 31 41 51 61 71 81 91 .1
Desired output: 1\kern-.15em{1}
\end{document}
edit: follow-up question ragarding setting up both sides of a character to be kerned in LuaLaTeX: LuaLaTeX: fonts.handlers.otf.addfeature kerning pairs with unexpected behaviour
\includegraphics[width=10pt]...
you should be able to use luatex's virtual font feature to define a font that has less space around the 1