Summary: | FORMATTING: alignr, alignl operators distort fraction representation | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Yakov <Yakov.Litvin.publicly> |
Component: | Formula Editor | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEW --- | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | stephane.champeau |
Version: | 3.6.1.2 release | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | BSA | ||
i915 platform: | i915 features: | ||
Attachments: | Using the 'align' command inside an equation with fractions |
Description
Yakov
2012-04-13 05:35:41 UTC
Adding braces around alignc helps: {{alignc {dot d}_n} over{n-2}} Created attachment 65446 [details]
Using the 'align' command inside an equation with fractions
Dear Christina: You are right, it works. However, imagine a L.O. Math user who needs to write the reasoning behind the process of finding the solution of an equation that contains fractions. The workaround you suggest will work, but (in my opinion) it's something excessively complicated for such a simple . For example, in order to obtain the equation displayed in the screenshot I attach (EquationwithFractions.png), you must type the following lines: matrix { alignr{2 + x} # "" = "" # alignl{{alignc{1} over {x + 1}} - {alignc{2} over{3-x}} + {alignc{1} over {x-2}}} ## alignr{2+x} # "" = "" # alignl{"more_fractions"} } Despite the fact this is only a basic equation, the code is 'a little bit' hard to type, read, understand, and edit. I think fractions (their numerators and denominators)should be always aligned to the center except, maybe, a very specific command is introduced. (In reply to comment #3) > Dear Christina: > > You are right, it works. However, imagine a L.O. Math user who needs to write > the reasoning behind the process of finding the solution of an equation that > contains fractions. The workaround you suggest will work, but (in my opinion) > it's something excessively complicated for such a simple . For example, in > order to obtain the equation displayed in the screenshot I attach > (EquationwithFractions.png), you must type the following lines: > > matrix > { > alignr{2 + x} # "" = "" # alignl{{alignc{1} over {x + 1}} - {alignc{2} > over{3-x}} + {alignc{1} over {x-2}}} > ## > alignr{2+x} # "" = "" # alignl{"more_fractions"} > } > > Despite the fact this is only a basic equation, the code is 'a little bit' hard > to type, read, understand, and edit. I think fractions (their numerators and > denominators)should be always aligned to the center except, maybe, a very > specific command is introduced. In reply to my own last comment: the attached screenshot I refer above (EquationwithFractions.png) is attachment 65446 [details], in comment written at 2012-08-11 23:01:53 UTC. (In reply to comment #1) > Adding braces around alignc helps: > > {{alignc {dot d}_n} over{n-2}} Dear Christina: I tried to reply to you, but I selected the wrong option and 'added a new comment' instead of 'replying'. So, to avoid leading everybody read my reply twice, I simply ask to you to log in into bugzilla and read it. As a LibreOffice user, I'm interested in your opinion. Kind regards. Roberto. (In reply to comment #1) > Adding braces around alignc helps: > > {{alignc {dot d}_n} over{n-2}} Thanks for the reply, the workaround works. On the other hand, the described behavior is still inconvenient, since normally no one needs to align a numerator in another manner than central, and the workaround requires more symbols => more typing, less readable code, and is not that evident. Hi It's a very annoying bug I hope this will be fixed in the future Thanks |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.