645944
25
Zoom out
Zoom in
Previous page
1/90
Next page
Example 3
When braces are used in markup language, they are used to define the layout of the formula
and are not displayed or printed. If you want to use braces within your formula, you use the
commands lbrace and rbrace within the markup language.
x over {–x + 1} gives the result
x
x+1
Replace the braces using the commands lbrace and rbrace in the markup language.
Write x over lbrace –x + 1 rbrace and the result is
x
{ x +1}
Brackets (parentheses) and matrices
If you want to use a matrix in a formula, you have to use a matrix command. For example,
matrix { a # b ## c # d } gives the resulting matrix
a b
c d
in your formula, where rows
are separated by two hashes (##) and entries within each row are separated by one hash (#).
Normally, when you use brackets within a matrix, the brackets do not scale as the matrix increases
in size. For example, ( matrix { a # b ## c # d } ) gives the result
(
a b
c d
)
To overcome this problem of brackets with a matrix, LibreOffice Math provides scalable brackets
that grow in size to match the size a matrix. The commands left( and right) have to be used
to create scalable brackets within a matrix. For example, left( matrix { a # b ## c #
d } right) gives the result
(
a b
c d
)
where the matrix is now bracketed by scalable brackets.
Scalable brackets can also be used with any element of a formula, such as fraction, square root,
and so on.
Tip
Use the commands left[ and right] to obtain square brackets. A list of all brackets
available within Math can be found in Appendix A Commands Reference.
Tip
If you want all brackets to be scalable, go to Format > Spacing to open the Spacing
dialog. Click on Category, select Brackets from the drop-down list and then select the
option Scale all brackets.
Unpaired brackets
When using brackets in a formula, Math expects that for every opening bracket there will be a
closing one. If you forget to add a closing bracket, Math places an inverted question mark next to
where the closing bracket should have been placed. This inverted question mark disappears when
all the brackets are paired. However, an unpaired bracket is sometimes necessary and you have
the following options.
Non-scalable brackets
A backslash \ is placed before a nonscalable bracket to indicate that the following character should
not be regarded as a bracket, but as a literal character.
Chapter 1 Creating & Editing Formulas | 25
25


Need help? Post your question in this forum.

Forumrules


Report abuse

Libble takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Product:

For example, Anti-Semitic content, racist content, or material that could result in a violent physical act.

For example, a credit card number, a personal identification number, or an unlisted home address. Note that email addresses and full names are not considered private information.

Forumrules

To achieve meaningful questions, we apply the following rules:

Register

Register getting emails for LibreOffice Math 4.4 at:


You will receive an email to register for one or both of the options.


Get your user manual by e-mail

Enter your email address to receive the manual of LibreOffice Math 4.4 in the language / languages: English as an attachment in your email.

The manual is 2,32 mb in size.

 

You will receive the manual in your email within minutes. If you have not received an email, then probably have entered the wrong email address or your mailbox is too full. In addition, it may be that your ISP may have a maximum size for emails to receive.

The manual is sent by email. Check your email

If you have not received an email with the manual within fifteen minutes, it may be that you have a entered a wrong email address or that your ISP has set a maximum size to receive email that is smaller than the size of the manual.

The email address you have provided is not correct.

Please check the email address and correct it.

Your question is posted on this page

Would you like to receive an email when new answers and questions are posted? Please enter your email address.



Info