Cookbook conundrum: whole numbers with fractions
Hi everyone,
I'm working on a cookbook (using InDesign 2017), and I've got my fractions most of the way there. 1/2 cup, 3/4 cup, 1/8 teaspoon all become fractions beautifully.
I haven't been able to solve one problem: when I type 11/2 cups, the fraction is formatted as 11 over 2, when instead I want the 1 to be regular and the 1/2 to become a fraction. If I type a space between the two 1s, it works, but I don't want that space. Here's a screen capture of what I mean.

In InDesign, I have a paragraph format for the ingredients (named Ingredient), with OpenType Features > Fractions enabled.
I tried making a character style with -100 tracking to reduce the space, and used that character style in the Ingredient paragraph style (nested through one word), but it didn't work perfectly and also squished the space right after the fraction.

Can anyone help with this? Could this be solved using some GREP wizardry? I'm pretty sure I will never need double digits in the numerator.
Thanks!


