Using Brackets in Formulas
The most difficult part in using LibreOffice Math is when writing complicated formulas. This is because LibreOffice Math knows nothing about the order of operations. We need to use brackets in order to state the order of operations explicitly. Consider the example which has been shown in the below given illustration.
The brackets belong solely to the layout of the markup code and are not printed. If you wish to print the brackets in the formula, you need to use the commands, ‘lbrace’ and ‘rbrace’. The usage has been shown in the below given illustration.
Before using scalable brackets, let us see what happens when properly scaled brackets are not used. For this we need to write a matrix. A matrix has been written in the below given illustration. Rows are separated by two ‘#’s and entries within each row are separated by one ‘#’.
As can be seen, the brackets are not properly scaled. Now when we use the left and right commands, properly scaled brackets will get printed.
However, an unpaired bracket is sometimes necessary. In such cases, we have two options. With non-scalable brackets, we need to use a preceding backslash ‘\’ to indicate that the following character should not be regarded as a bracket but as a literal character. So the half-open interval ‘[a;b[’ is represented by ‘\[ a;b \[’.
Scalable brackets can also be unpaired. The same half-open interval is represented by ‘left[ a;b right[’.
For scalable brackets, you can also use the command ‘none’ to replace a non-existent paired bracket.