To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=104005 Issue #|104005 Summary|Matrix fractional alignment error Component|Formula editor Version|OOo 3.1 Platform|All URL| OS/Version|All Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P1 Subcomponent|ui Assigned to|mru Reported by|earthtone
------- Additional comments from eartht...@openoffice.org Tue Aug 4 16:33:27 +0000 2009 ------- I'm having an issue trying to format formulas. Using a matrix is a good approach when you want to line up equations (e.g. aligned on the = sign), but a problem arises when you have fractions, such as this example: matrix { alignr a over {c+b} # {}={} # alignl c over{a+b} } The fractions will follow the alignment of the matrix cell, which is problematic because they should be displayed centered. The following fixes the problem for simple expressions: matrix { alignr {alignc a over {c+b}} # {}={} # alignl {alignc c over{a+b}} } This uses brackets to group the fraction expressions and preserve their centered alignment. However, if one of the expressions has more content in it, it stretches the column and centers the fraction, ignoring the "alignl" parameter: matrix { alignr {alignc a over {c+b}} # {}={} # alignl {alignc c over{a+b}} ## alignr {alignc a over {c+b}} # {}={} # alignl {alignc c over{a+b}} "The same example with extra text" } Using parentheses instead of brackets seems to provide a workaround, but it adds unnecessary characters to the expressions: matrix { alignr {alignc a over {c+b}} # {}={} # alignl (alignc c over{a+b}) ## alignr {alignc a over {c+b}} # {}={} # alignl {alignc c over{a+b}} "Notice the proper alignment above" } Is this a bug? Am I missing something obvious? We should be able to use brackets consistently in this regard as a way to group expressions without displaying extra code and have the formula respect the layout. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@sw.openoffice.org For additional commands, e-mail: issues-h...@sw.openoffice.org --------------------------------------------------------------------- To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org