CUSTOM FRACTIONS

c13563
NewLounger
Posts: 1
Joined: 12 Feb 2020, 18:38

CUSTOM FRACTIONS

Post by c13563 »

Hi Hans --

I would like to learn how to create custom fractions in a word document. I am using Windows 10 w/office 2019 and my preferred font is always Arial. i. e. 4/7 to display like ⅐; just in the Arial font.

I am not always intuitive and really appreciate Step 1, Step 2 formats when trying to learn.

Anything you can do would be sincerely appreciated.

Bruce

User avatar
HansV
Administrator
Posts: 78236
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: CUSTOM FRACTIONS

Post by HansV »

Welcome to Eileen's Lounge!

For fractions such as 2/3 and 5/8, you can use the Arial Unicode MS font, which looks just like Arial:
- Activate the Insert tab of the ribbon.
- In the Symbols group, click Symbol > More Symbols...
- Select Arial Unicode MS from the Font dropdown.
- Select Number Forms from the Subset dropdown.
- Select the fraction that you want.
- Click Insert.
S3092.png
- As you see, the choices are limited. See my next reply for another method.
You do not have the required permissions to view the files attached to this post.
Best wishes,
Hans

User avatar
HansV
Administrator
Posts: 78236
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: CUSTOM FRACTIONS

Post by HansV »

For arbitrary fractions, you can use the Equation feature.
- Activate the Insert tab of the ribbon.
- In the Symbols group, click on the Equation button.
- This automatically activates the Design tab of the ribbon, under Equation Tools.
- In the Structures group, click on Fraction, then click the second button (Skewed Fraction).
S3093.png
- This inserts an empty fraction in your document.
S3095.png
- Click in the first dotted box and enter the numerator.
- Click in the second dotted box and enter the denominator.
- Select the entire fraction.
- In the Conversions group, click on 'abc Text'.
S3094.png
- Activate the Home tab of the ribbon.
- Set the font to Arial, and change the font size if you wish.
You do not have the required permissions to view the files attached to this post.
Best wishes,
Hans

User avatar
HansV
Administrator
Posts: 78236
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: CUSTOM FRACTIONS

Post by HansV »

By the way, instead of deleting your original post, you could have edited its subject.
Best wishes,
Hans

User avatar
Charles Kenyon
4StarLounger
Posts: 596
Joined: 10 Jan 2016, 15:56
Location: Madison, Wisconsin

Re: CUSTOM FRACTIONS

Post by Charles Kenyon »

Long term, look at Suzanne Barnhill's article on creating fractions:
http://wordfaqs.ssbarnhill.com/CreateFraction.htm

User avatar
macropod
4StarLounger
Posts: 508
Joined: 17 Dec 2010, 03:14

Re: CUSTOM FRACTIONS

Post by macropod »

Another way would be to use a macro like the following:

Code: Select all

Sub EnterFraction()
'Add this macro to Word's 'Normal' template
'Assign a keystroke like Alt-/ to this macro (Tools...Customize...Keyboard)

'Prompt user for the text to format as a fraction
fraction = InputBox("Enter fraction text (ex: ½, 5/32)")
'Find the position of the slash in the text
slashPosition = InStr(fraction, "/")
'Quit if no slash in the text
If slashPosition = 0 Then Exit Sub
preSlash = Left(fraction, slashPosition - 1)
postSlash = Right(fraction, Len(fraction) - slashPosition)
With Selection
  'Type text before the slash as superscript
  .Font.Superscript = True
  .TypeText preSlash
  'Type the slash as normal text
  .Font.Superscript = False
  .TypeText "/"
  'Format text after the slash
  .Font.Subscript = True
  .TypeText postSlash
  'Continue with font back to normal
  .Font.Subscript = False
End With
End Sub
Paul Edstein
[Fmr MS MVP - Word]