Apache OpenOffice (AOO) Bugzilla – Issue 5998
Custom Alignment of Math
Last modified: 2021-01-15 07:55:34 UTC
The alignment feature at present only allows left, center and right alignment. One should be able to align on a line by line basis using a character/symbol as the basis for alignment. Eg: f(x) = a + b = c + d - e => y = 3 => x = z * j Here I have aligned on the '=' character/symbol, then on the '=>' character/symbol. Cheers James
TL->FL: This is not a bug but a feature wish. Therefore to you.
FL: Please write an Idea about this. Thanyk you!
ES->BH: Featture+Enhancements on OOo go to you
Set to "NEW"
*** Issue 17116 has been marked as a duplicate of this issue. ***
*** Issue 13573 has been marked as a duplicate of this issue. ***
*** Issue 29053 has been marked as a duplicate of this issue. ***
reassigning, setting keywords
*** Issue 58179 has been marked as a duplicate of this issue. ***
comment from alsuren (issue 58179) #######Proposed behaviour########: If I type align(=) { V = 2 * B newline = 2 * 6 newline = 12 } (note the = inside the ()) Then it should render as V = 2 * B = 2 * 6 = 12 with all the = signs lining up and if I type align("") { z = 3 a + ""4 b + 8 c + d + 32 e + 16 f newline ""+ 18 g + 26 h } then it would render as z = 3 a + 4 b + 8 c + d + 32 e + 16 f + 18 g + 26 h with the first "" on the bottom line lined up with the first "" on the line above it, thereby making the 4 and the + line up This is an idea similar to LaTeX, which has the invisible character "&" as the alignment tab ( see http://www.maths.tcd.ie/~dwilkins/LaTeXPrimer/Multiline.html ), but I don't know what & is used for in OOo
*** Issue 63165 has been marked as a duplicate of this issue. ***
So, how do you get it to produce f(x) = a + b = c + d - e => y = 3 => x = z * j Maybe multiple align chars? Um, make that align strings. So, if I do align(=), only the first '=' would be aligned and the rest ignored, right? To clarify, align(=) { f(x) = a + b a * a / a + b^2/b = a + b } will make f(x) = a + b a * a / a + b^2 / b = a + b
*** Issue 104005 has been marked as a duplicate of this issue. ***
As a workaround, alignl + phantom can be used to achieve the result: alignl f(x) = a + b newline alignl phantom{f(x)} = c + d - e drarrow y = 3 newline alignl phantom{f(x) = c + d - e} drarrow x = z * j