---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
alternate:
  - https://yandex.ru/support/wiki/en/static-markup/formulas.md
  - https://yandex.ru/support/wiki/ru/static-markup/formulas.md
  - href: en/static-markup/formulas.md
    type: text/markdown
    title: Markdown version
  - href: ../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.ru/support/wiki/en/llms.txt

# Formulas in the old editor

{% note info "" %}

For information on how to work with formulas in the new editor, see [Formatting text](https://yandex.ru/support/wiki/en/wysiwyg/text-format.md#equation).

{% endnote %}

<!-- source: en/_includes/formatter-alert.md -->
{% note warning "" %}

Specially formatted blocks work in both dynamic tables and pages built with the legacy editor. For information on working with diagrams in the new editor, see [Formatting text](https://yandex.ru/support/wiki/en/wysiwyg/diagrams.md).

<!-- source: en/_includes/old-editor-note.md -->
You can no longer create pages using the old editor. However, you can easily convert any existing pages from the legacy editor to the new editor format. For more information, see [Switching a page to the new editor format](https://yandex.ru/support/wiki/en/page-management/convert-page.md).
<!-- endsource: en/_includes/old-editor-note.md -->

{% endnote %}
<!-- endsource: en/_includes/formatter-alert.md -->

You can insert formulas in Wiki using the [TeX](https://en.wikipedia.org/wiki/TeX) markup.

- Standard formula design, suitable for inserting a separate line:
   ```
   The first line.
   %%(math outline) formula %%
   The second line.
   ```

- Compact formula design, suitable for inserting in the same line with text:
   ```
   Start of the line %%(math inline) formula %% End of the line
   ```

## Examples of formulas {#examples}

| Markup | Result |
----- | -----
| `1. %%(math inline) X^{a+b}_{i-j} %%` | ![](../_assets/TeX/1.png) |
| `2. %%(math inline) f+f'+f''+\cdots+f^{(10)}%%` | ![](../_assets/TeX/2.png) |
| `3. %%(math inline) A\ast B\times C\cdot D%%` | ![](../_assets/TeX/3.png) |
| `4. %%(math inline) \varphi\approx\varepsilon%%` | ![](../_assets/TeX/4.png) |
| `5. %%(math inline) \sqrt{x}+\sqrt[10]{y}\leq \frac{1+\|\vec{z}\|}8%%` | ![](../_assets/TeX/5.png) |
| `6. %%(math inline) \frac1{ \displaystyle\bar{\xi} + \displaystyle\frac{3}7 }%%` | ![](../_assets/TeX/6.png) |
| `7. %%(math inline) \sqrt[6]{\log_3{h(x)}} + \dot{\rho}%%` | ![](../_assets/TeX/7.png) |
| `8. %%(math inline) \lim_{n \to \infty} \sum_{k=1}^n \frac{1}{k}%%` | ![](../_assets/TeX/8.png) |
| `9. %%(math inline) \int_a^b f(x)\,dx \ne \iint \cos{z}\,dxdy%%` | ![](../_assets/TeX/9.png) |
| `10. %%(math inline) (1+\frac{1}{n}) ^n%%` | ![](../_assets/TeX/10.png) |
| `11. %%(math inline) \left( 1+\frac{1}{n}\right) ^n%%` | ![](../_assets/TeX/11.png) |
| `12. %%(math inline) \forall \, k\geq0 \quad \exists n \Leftrightarrow y\notin X%%` | ![](../_assets/TeX/12.png) |
| `13. %%(math inline) \angle ABC = 90^{\circ} \Longleftarrow AB \perp BC%%` | ![](../_assets/TeX/13.png) |
| `14. %%(math inline) \overbrace{\underbrace{a+b+\ldots+z}_{n}+1+2+\ldots+9}^k%%` | ![](../_assets/TeX/14.png) |
| `15. %%(math inline) \arctan{x}+\max_{1\le n\le m}{x_n}%%` | ![](../_assets/TeX/15.png) |
