When I use alignl, all parts of the formula align left, especially when the denominator is shorter than the numerator. What can I do to avoid it?
alignl x_1,2={2dq_1+-sqrt{4d^2 q^2_1-4(q_1-q_2)cdot q_1 d^2} }over {2(q_1-q_2)}
[Solved] alignl
[Solved] alignl
Last edited by Hagar Delest on Tue Jun 10, 2008 1:55 pm, edited 2 times in total.
Reason: tagged the thread as Solved.
Reason: tagged the thread as Solved.
- Hagar Delest
- Moderator
- Posts: 32716
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: alignl
Remove the alignl parameter? Why do you need it?
LibreOffice 24.2 on Xubuntu 24.04 and 7.6.4.1 portable on Windows 10
Re: alignl
When I do more than one formula in a pile using newline parameter, they are badly followed because they are centered. That's why I need that they are aligned left. So, any solution?
- Hagar Delest
- Moderator
- Posts: 32716
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: alignl
Can you post an example of such pile?
LibreOffice 24.2 on Xubuntu 24.04 and 7.6.4.1 portable on Windows 10
Re: alignl
Yes, it's an odd design.
The only thing you can do is left-align the formula as a whole, then center-align the parts that need it, or break up the formula into separate parts, so the parts can be left-aligned by Writer, not by Math.
Compare these two:
The only thing you can do is left-align the formula as a whole, then center-align the parts that need it, or break up the formula into separate parts, so the parts can be left-aligned by Writer, not by Math.
Compare these two:
- alignl
x = { A over { 4 times 3 times 2 times 1 } }
newline
y = { B over { 3 times 2 times 1 } }
- alignl
x = { alignc A over { 4 times 3 times 2 times 1 } }
newline
y = { alignc B over { 3 times 2 times 1 } }
AOO4/LO5 • Linux • Fedora 23
Re: alignl
That's exactly what I meant. Thanks for the idea!
- Hagar Delest
- Moderator
- Posts: 32716
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: alignl
You want to have that layout I guess:
Thanks to add '[Solved]' in your first post title (edit button) if your issue has been fixed.
Code: Select all
alignl
x_1,2={2dq_1+-sqrt{4d^2 q^2_1-4(q_1-q_2)cdot q_1 d^2} }over {alignc 2(q_1-q_2)}
newline alignl
x = { alignc A over { 4 times 3 times 2 times 1 } }
LibreOffice 24.2 on Xubuntu 24.04 and 7.6.4.1 portable on Windows 10