Apache OpenOffice (AOO) Bugzilla – Issue 29053
Align Equations to =
Last modified: 2013-08-07 14:55:07 UTC
When I write more equations, I would like to see them aligned not to center, left or right, but to "=" (equal sign), for example (I hope you have a fixed size font): sin^2 x + cos^2 x = 1 newline cos^2 x = 1 - sin^2 x should produce upon request ... see image at URL IMHO there is no way to reach this effect today. Could you add some new "align" or "tab" command, please? To make it a bit more universal, I would recommend the LaTeX philosophy: LaTeX people use & (ampersand) character for this exactly. The referenced image was produced with a code: \begin{eqnarray} \sin^2x + \cos^2x &= & 1\\ \sin^2x &= & 1 - \cos^2x \end{eqnarray}
reassigned to bh
Any similiraties with issue 5998 ?
The same problem. I swear I was trying to search the database before entering the new issue, but I couldn't find it somehow. Still, my two cents for bringing up the LaTeX ampersand marking idea :-)
marking duplicate. (thanks again for finding it) right now to align a formula, you can use a matrix: matrix{ sin^2 x + cos^2 x#{} ={}# 1 ## cos^2 x #{}={} #1 - sin^2 x } or, with the alignment like in the example-gif: matrix{ alignr sin^2 x + cos^2 x#{}={}#alignl 1 ## alignr cos^2 x #{}={} #alignl 1 - sin^2 x } *** This issue has been marked as a duplicate of 5998 ***
closing duplicate.
Great advice from cloph. I used that immediately in May. Now I got back to write some science again and I couldn't recall the empty brackets in #{} ={}#, so I had to find this issue again. Could you guys put that as a "TIP: writing equations aligned to = sign" somewhere in the help of Formula Editor? I bet this is an adept for some F.A.Q. as well. Thank you in advance.
please file an issue against the documentation project. You may want to reference this issue in the new issue. see issue 21484 as well Thank you. Closing as duplicate again. *** This issue has been marked as a duplicate of 5998 ***
closing again. A seperate issue for the documentation project is necessary to have new Tips and documentation added (needs to be translated, etc).
I agree, except this alignment option should also be available to all relations in general.