[Solved] Recurring decimals in Math editor

Discuss the formula editor
Post Reply
rsmooo
Posts: 5
Joined: Thu Oct 27, 2016 2:06 am

[Solved] Recurring decimals in Math editor

Post by rsmooo »

I want to write 1/3 in decimal form: 0.3 with a dot above the 3

I have tried
0. dot 3
but that leaves a space between the decimal point and the 3

0.dot 3
doesn't work either

Is there a solution?
Last edited by rsmooo on Thu Nov 10, 2016 10:55 pm, edited 1 time in total.
Apache OpenOffice 4.1.2 - Windows 7 Home Premium SP1
rsmooo
Posts: 5
Joined: Thu Oct 27, 2016 2:06 am

Re: recurring decimals in math editor

Post by rsmooo »

Same problem using
0. oveline 3
Apache OpenOffice 4.1.2 - Windows 7 Home Premium SP1
User avatar
floris v
Volunteer
Posts: 4422
Joined: Wed Nov 28, 2007 1:21 pm
Location: Netherlands

Re: Recurring decimals in math editor

Post by floris v »

Try

Code: Select all

dot { 0.3~  } 
OpenOffice 4.1.11 on Ubuntu; LibreOffice 6.4 on Linux Mint, LibreOffice 7.6.2.1 on Ubuntu
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
User avatar
keme
Volunteer
Posts: 3699
Joined: Wed Nov 28, 2007 10:27 am
Location: Egersund, Norway

Re: Recurring decimals in math editor

Post by keme »

You can use the "nospace" modifier on a grouped object (use braces - {} - to delimit group) to avoid spacing between sub-elements:
Single digit with dot

Code: Select all

nospace {0. dot 3}
nospace {0.3 dot 3}
nospace {0.3 {3 csup .}}
...and also with overline...

Code: Select all

1 over 7 = nospace {0. overline {142857} }
Apache OO 4.1.12 and LibreOffice 7.5, mostly on Ms Windows 10
rsmooo
Posts: 5
Joined: Thu Oct 27, 2016 2:06 am

Re: [Solved] Recurring decimals in math editor

Post by rsmooo »

Thank you floris v and keme for you quick replies.
Solved.
Apache OpenOffice 4.1.2 - Windows 7 Home Premium SP1
Post Reply