OOo DEV300m95 includes a patch that fix a long standing (9 years!) problem in Writer: automated vertical alignment for Math objects.
I think it is very important to add this patch to LibO also.
See the original issue for more information:
This is a very serious problem for those who deal with mathematical equations very often, and after all, the solutions is already being implemented in OpenOffice.org. Is there any forecast when will this bug be fixed in LibreOffice?
Changed the relevant version to "LibO 3.3.1 release", and Platform to "All", "All".
Changed priority to "high", because this is a problem for several years awaiting a solution.
It is very important that Writer can properly align the objects of Math. As already indicated, the patch already exists.
Without this fix, typing documents with a large number of formulas becomes extremely laborious, because we are forced to manually align each formula.
I am sorry to disappoint you, but the bugzilla importance fields for enhancement requests don't really have much impact on what gets implemented.
I understand. Meanwhile, I hope that this feature be implemented in future versions. It is very important for scientists and teachers of mathematics.
I can see this on 3.4 betas: under Tools → Options → LibreOffice Writer → Formatting aids → Layout assistance: "Math baseline alignment" is enabled by default :)
So I mark it as "resolved → fixed" (I hope it is OK I'm doing this...)
However, just as happened with OpenOffice, you need to make some adjustments in the alignment.
I tested the alignment in version 3.4 RC1.
In fact, the alignment only occurs effectively when the formula is in edit mode. After exiting the editing mode, it loses part of the vertical alignment, getting the formula a few mm above or below the base line.
Even so, this has been a great progress.
I can add an example document from LO 3.6.2 if needed.
Created attachment 79839 [details]
.odt file to reproduce the problem
Indeed, there is still a problem with the vertical alignment of formulas.
In the attached example, the vertical alignment of the second formula is wrong.
By the way, why not defining a notion of base line of objects and to add the option to align the base line of the object with the base line of the text?
The current solution seems to be sub-optimal.
Works as expected in LibO 4.1.6 (generic Linux version) and LibO 188.8.131.52.0+.
You need to edit each formula to restore the alignment on the base line of the text.
Closing as WorksForMe. If something related to this does not work in a further version, please file a new bug report.
Best regards. JBF