Ask Your Question
0

Insert new line between a bracketed formula

asked 2018-08-12 09:40:32 +0200

kapil2105 gravatar image

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

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
3

answered 2018-08-12 10:34:50 +0200

Mike Kaganski gravatar image

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)
edit flag offensive delete link more

Comments

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.

kapil2105 gravatar imagekapil2105 ( 2018-08-12 11:31:25 +0200 )edit
0

answered 2018-08-12 10:10:56 +0200

ajlittoz gravatar image

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!

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-08-12 09:40:32 +0200

Seen: 52 times

Last updated: Aug 12