Ask LibreOffice - RSS feedhttps://ask.libreoffice.org/en/questions/Questions and answers for LibreOfficeenMon, 27 Nov 2017 10:42:15 +0100Fractions in writerhttps://ask.libreoffice.org/en/question/139128/fractions-in-writer/ 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? Mon, 27 Nov 2017 01:46:35 +0100https://ask.libreoffice.org/en/question/139128/fractions-in-writer/Answer by RGB-es for <p>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? </p>
https://ask.libreoffice.org/en/question/139128/fractions-in-writer/?answer=139147#post-id-139147The 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](/upfiles/15117754472531305.png)
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**](https://opensource.com/article/17/11/opentype) or stay tuned to my personal blog ;)Mon, 27 Nov 2017 10:42:15 +0100https://ask.libreoffice.org/en/question/139128/fractions-in-writer/?answer=139147#post-id-139147Answer by librebel for <p>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? </p>
https://ask.libreoffice.org/en/question/139128/fractions-in-writer/?answer=139133#post-id-139133Hello @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, libMon, 27 Nov 2017 03:54:20 +0100https://ask.libreoffice.org/en/question/139128/fractions-in-writer/?answer=139133#post-id-139133