> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://authorea.crisp.help/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to write mathematical equations and formulae


### How to input mathematical notation

1. **Use the visual and LaTeX math editor**
You can click on the math symbol in the toolbar `x^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](https://authorea.com/users/3/articles/423471-new-a-redesigned-equation-editor).

| **Note**: to number your equation, select NEW LINE in the equation editor. The number will appear when you quit editing, e.g. when you click on a different part of the document or when you enter preview mode.

![](https://storage.crisp.chat/users/helpdesk/website/956ad655c6bd5000/screen-shot-2020-01-29-at-2-19_1pegk9n.png)

2. **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:

![](https://storage.crisp.chat/users/helpdesk/website/d38f777e-0276-4c52-8a15-b5855ac4903c/d84a8f01-d5dc-48a4-9f47-dd0247ec43eb.png)
If you label it with an eq: label, you will then be able to reference it using the reference tool.


### Further reading

1. [How To Write Mathematical Equations, Expressions, and Symbols with LaTeX](https://www.authorea.com/users/77723/articles/110898-how-to-write-mathematical-equations-expressions-and-symbols-with-latex)

2. [How To Write Advanced LaTeX](https://www.authorea.com/users/5713/articles/28015-how-to-write-latex-for-power-users)

3. [Mathematics with LaTeX: some basic examples](https://www.authorea.com/users/3/articles/165181-latex-mathematics-examples)

​