2

I'm wondering of anyone knows how to easily type a fraction like this:

1
-
2

(but on one baseline). I appreciate the "proper" way is : ½ = Alt + 0189; but the client has specifically asked for the numerators stacked one upon the over.

The only logical thing I can think of is superscripting and tracking...

  • 2
    Those are called "stacked" or "nut" fractions. If changing the font (in general or for the fractions only) is possible, see unfocusedbrain.com/site/2015/06/13/… for a short list. See also github.com/TiroTypeworks/Nutso – usr2564301 May 12 '16 at 12:18
  • I thank you Good Sir/Madam. First question - so if there "correct answer" button I need to confirm your greatness, please advise. – Mike May 12 '16 at 12:22
  • @RadLexus you should post that as an answer. – Cai May 12 '16 at 12:31
  • @Cai: actually, I feel changing to another font is not a great general solution. – usr2564301 May 12 '16 at 12:34
  • It's still an answer though :) (and I don't think it's possible otherwise?) – Cai May 12 '16 at 12:37
2

Stacked fractions aren't supported by InDesign's fraction making features. To get stacked (or nut) fractions you need a font that has the stacked fractions.

A list of some Google Fonts (all free) that you can use (thanks to @RadLexus):

Source

What you can do is find a similar font and use a GREP style to change the font of the fractions. To create a GREP style to find fractions, you need to set the To Text field appropriately. Since \d stands for any digit, \d/\d will make it search for digit/digit.

It's not an ideal solution and it will depend on what actual fractions you need, the font you are using etc. But as far as I'm aware theres no alternative to do this automatically in InDesign.

Or—Make them yourself!

Another option, if your font has a full range of superscript and subscript numerals (or maybe even without, but this would be less ideal, as sup/sub numerals are designed to be shown at smaller sizes) is to use those with a dash (which one I'm not sure, experiment!) to build the fractions yourself. You can set up some GREP styles again to automatically set these to all your fractions.

I won't show you the exact styles because it will vary depending on the font etc, but I just set up some stacked fractions with 3 GREP styles: one for the denominator, one for the bar, and one for the numerator:

enter image description here

1

I think Rad Lexus is correct but didn't give the full answer.

Don't use ascii (Alt + numbers) to create the fractions in InDesign. Use InDesign.

Good high quality fonts will have OpenType Fractions, which is different than just having a single fraction Glyph:

enter image description here

For example with Candara:

enter image description here

But then you'll have to find a high quality font that has a horizontal bar if that's what you're after. I'd start by contacting some good Font Foundry directly and see if they make one or could recommend one. House Industries is one that puts out really nice fonts IMO, not sure if any of theirs has a horizontal fraction style but you could ask them: http://www.houseind.com/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.