Insert new line between a bracketed formula

Hi, i want to break a long formula among multiple lines but its enclosed within a bracket and i am unable to break it.
Formula:

{c} rsub {x} = sin(a0)(cos(a1)(a0 + a0sin(a1) - 1.0d1cos(a1)) - 1.0cos(a0)(d1cos(a0) + a1sin(a1))) - 1.0d1*cos(a1)

I would like to add a newline in between the formula so that it spans in multiple lines. How should i do it ? Please help

Math has several types of brackets: (), [], {}; and it also has their scalable variants: left ( … right ), left [ … right ], left { … right }. The scalable variants allow mixing left and right parts, like in left ( a + b + c right ].

There’s another special bracket pair: left none … right none, which logically closes the bracketing, but doesn’t draw anything. So, mixing that none with the other scalable brackets, you may achieve what you wanted:

{c} rsub {x} = sin(a0) left(cos(a1)(a0 + a0sin(a1) - 1.0d1cos(a1)) right none
newline
left none - 1.0cos(a0)(d1cos(a0) + a1sin(a1)) right) - 1.0d1*cos(a1)
1 Like

This was really awesome. You not only solved the problem but taught me something new too. I wish i had more than 5 points to upvote your answer but it was correct. Thanks.

1 Like

Thanks! That is fabulous!

Use keyword newline but it will start next line at left formula margin. You probably need more sophisticated alignment constraint.

Read the Math Guide for extensive information or, at least, refer to the built-in help through menu Help>LibreOffice Help

To show the community your question has been answered, click the ✓ next to the correct answer, and “upvote” by clicking on the ^ arrow of any helpful answers. These are the mechanisms for communicating the quality of the Q&A on this site. Thanks!