[Solved] Fraction bar alignment

Discuss the formula editor

[Solved] Fraction bar alignment

Postby lechat » Tue Jun 05, 2018 7:11 pm

Hi there,

I am having trouble with my fractions in some of my formulas. In some cases some fraction bars are shifted slightly below or above the other fraction bars. In some of the formulas i could get rid of this weird behaviour by just deleting the formula, inserting a new one and copy the same code for the formula i want. This is already weird enough and unfortunately in some cases it doesn't work. In the attachment i have an example of such a formula. the last two fractions and denominators are somehow shifted upwards with respect to the others. Furthermore, the fraction bars in my formulas are sometimes aligned to minus signs, equal signs etc. and sometimes they are not and again, sometimes it helps to just re-insert the formula sometimes it does not. I use OO 4.1.2. Has anyone ever encountered a similar problem and found a solution to just generally sort of force the fraction bars to align at a certain level? Or is there perhaps a saver way of generating fractions than {}over{} ?

Thx
Attachments
Untitled 1.odt
(12.33 KiB) Downloaded 200 times
Last edited by Hagar Delest on Wed Jun 06, 2018 10:02 pm, edited 1 time in total.
Reason: tagged [Solved].
OpenOffice4.1.1 64bit
lechat
 
Posts: 6
Joined: Fri Jul 08, 2016 4:58 pm
Location: Zürich, Switzerland

Re: fraction bar alignment

Postby Zizi64 » Tue Jun 05, 2018 7:48 pm

Try to group the parts of the formula:

Code: Select all   Expand viewCollapse view
c^{-1} {partial E}over{partial t} sim {{1}over{c} {E}over{T}} sim {{1}over{c}{} {v}over{c} {B}over{T}}
Last edited by Zizi64 on Wed Jun 06, 2018 7:08 am, edited 1 time in total.
Tibor Kovacs, Hungary; LO6.1.6 on Win7-10 x64Prof.
PortableApps, winPenPack: LO3.3.0-6.2.5; AOO4.1.5
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
Zizi64
Volunteer
 
Posts: 8062
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: fraction bar alignment

Postby MrProgrammer » Tue Jun 05, 2018 11:37 pm

lechat wrote:In some cases some fraction bars are shifted slightly below or above the other fraction bars
It's impossible to determine what your difficulty is because your attachment contains a picture of your formula instead of the actual formula document. Either attach the .ODF document or attach an .ODT document with the formula embedded in it (Insert → Object → Formula or Insert → Object → OLE Object → Formula). Insert → Picture is not helpful.

Another way to group.
c^{-1}{{partial E} over {partial t}} sim {1 over c} {E over T} sim {1 over c} {v over c} {B over T}
Attachments
201806051623.odf
(5.88 KiB) Downloaded 180 times
Mr. Programmer
AOO 4.1.5 Build 9789 on MacOS 10.11.6.   The locale for any menus or Calc formulas in my posts is English (USA).
User avatar
MrProgrammer
Moderator
 
Posts: 3740
Joined: Fri Jun 04, 2010 7:57 pm
Location: Wisconsin, USA

Re: fraction bar alignment

Postby lechat » Wed Jun 06, 2018 11:28 am

the file i attached IS an .odt file. But anyway, the trick with grouping the fractions actually worked. Thank you guys... :super:
OpenOffice4.1.1 64bit
lechat
 
Posts: 6
Joined: Fri Jul 08, 2016 4:58 pm
Location: Zürich, Switzerland

Re: fraction bar alignment

Postby Zizi64 » Wed Jun 06, 2018 4:36 pm

the file i attached IS an .odt file. But anyway, the trick with grouping the fractions actually worked.


The .odf is "open document formula" type file. The .odf is one of the ODF (Open Document Format) file types. The formula editor works in same way in every applications (Calc, Writer, Draw, Impress...) of the AOO/LO.
Tibor Kovacs, Hungary; LO6.1.6 on Win7-10 x64Prof.
PortableApps, winPenPack: LO3.3.0-6.2.5; AOO4.1.5
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
Zizi64
Volunteer
 
Posts: 8062
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary


Return to Math

Who is online

Users browsing this forum: No registered users and 3 guests