Operation Manual
Continuing the calculation on a new line without writing a complete new equation is not directly
possible, because Math expects a term on the left hand side of an equals sign. You can substitute:
• Empty quotes "". This will automatically cause the line to be left-justified.
• Empty braces { }. The following line will then be centered.
• Spaces characters ` or ~. The line will be centered with the spaces.
The alignment of equals signs under each other is described on page 272.
As well, spacing between elements in formulas are not set by space characters in the code. You
need to use special markup to add spaces: ` (grave) for a small space, ~ (tilde) for a large space.
Another solution would be to add space characters between quotes, to be considered as text.
Space markup at the end of a formula are ignored by default.
How do I add limits to my sum/integral?
The sum and int commands (see complete list in the appendix of the Math Guide) can (optionally)
take the parameters from and to. These are used for lower and upper limits respectively. These
parameters can be used singly or together.
Markup Result
sum from k = 1 to n a_k
∑
k= 1
n
a
k
int from 0 to x f(t) dt
or
int_0^x f(t) dt
∫
0
x
f (t )dt
or
∫
0
x
f (t)dt
int from Re f
∫
ℜ
f
sum to infinity 2^{-n}
∑
∞
2
−n
How do I write a derivative?
Writing derivatives essentially comes down to one trick: Tell LibreOffice it’s a fraction.
In other words, you have to use the over command. Combine this with either the letter d (for a total
derivative) or the partial command (for a partial derivative) to achieve the effect of a derivative.
Markup Result
{df} over {dx}
df
dx
{partial f} over {partial y}
∂ f
∂ y
{partial^2 f} over {partial t^2}
∂
2
f
∂t
2
Note
Notice that we have to use braces (squiggly brackets) to make the derivative.
270 | Getting Started with LibreOffice 4.0