# Source: https://gitbook.com/docs/documentation/ja-gitbook-documentation/creating-content/blocks/math-and-tex.md

# Source: https://gitbook.com/docs/documentation/zh/creating-content/blocks/math-and-tex.md

# Source: https://gitbook.com/docs/documentation/fr/creating-content/blocks/math-and-tex.md

# Source: https://gitbook.com/docs/creating-content/blocks/math-and-tex.md

# Math & TeX

You can use the mathTeX format to include mathematical formulae in your documentation. We offer this through the [KaTeX](https://katex.org/docs/supported.html) library.

You can also add mathTeX [as inline content](https://gitbook.com/docs/formatting/inline#math-and-tex).&#x20;

### Example of Math & TeX block

$$
s = \sqrt{\frac{1}{N-1} \sum\_{i=1}^N (x\_i - \overline{x})^2}
$$

### Representation in Markdown

$$f(x) = x \* e^{2 pi i \xi x}$$

```markdown
# Math and TeX block

$$f(x) = x * e^{2 pi i \xi x}$$
```