How to write mathematical equations and formulae
How to input mathematical notation
- Use the visual and LaTeX math editor
You can click on the math symbol in the toolbarx^2y
and compose both inline and new line equations (numbered) both using a visual editor with many math symbols or via a LaTeX math editor with preview. Read more about it here.
- Insert equations in a LaTeX block
If you want to write more complex math, insert a LaTeX snippet in your document To insert a LaTeX block, click on Insert -> LaTeX. In the LaTeX block, you can insert an inline formula by typing the equation inside$..$
. For example, type: An inline equation is$e=mc^2$
.
To obtain a numbered formula, you need to use the {equation} environment. For example, type:
\begin{equation}
\label{eq:sedov}
R(t)= A \left(\frac{E_0}{\rho_0}\right)^{1/5}t^{2/5}
\end{equation}
Click outside of the LaTeX block (or on another block in the document) to render the LaTeX equation:
If you label it with an eq: label, you will then be able to reference it using the reference tool.
Further reading
Updated on: 05/05/2020