Ask Your Question
0

Fractions in writer

asked 2017-11-27 01:46:35 +0100

ovidius gravatar image

Is there a way to AutoCorrect Fractions in the same way the 1/2, 1/4 and 3/4 are auto corrected in writer? In Example when I write 1/4 it turns to 1/4 character with smaller font. Can it be done for any other fraction?

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
0

answered 2017-11-27 10:42:15 +0100

RGB-es gravatar image

The only way to obtain arbitrary fractions is to use a font with the OpenType table "frac". For example, with Libertinus Serif you need to use as font name

Libertinus Serif:frac

to obtain

image description

You need to create a character style to use for your fractions. Note that not all fonts support OpenType features, so check the capabilities of your font first.

For more information about OpenType and LibreOffice see my article on OpenSource.com site or stay tuned to my personal blog ;)

edit flag offensive delete link more
0

answered 2017-11-27 03:54:20 +0100

librebel gravatar image

Hello @ovidius,

In addition to the fractions ½, ¼, and ¾ that you already mentioned in your Question, my LibreOffice version 5.4.1.2 also offers AutoCorrect replacements for the following fractions:

F   KEY
⅓   :1/3:
⅔   :2/3:
⅛   :1/8:
⅜   :3/8:
⅝   :5/8:
⅞   :7/8:

You could add more fractions to the AutoCorrect replacements list, such as the following: ½ ↉ ⅓ ⅔ ¼ ¾ ⅕ ⅖ ⅗ ⅘ ⅙ ⅚ ⅐ ⅛ ⅜ ⅝ ⅞ ⅑ ⅒ ⅟

HTH, lib

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-11-27 01:46:35 +0100

Seen: 4,091 times

Last updated: Nov 27 '17