> For the complete documentation index, see [llms.txt](https://emperorowl.gitbook.io/das/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://emperorowl.gitbook.io/das/tex-tutorial.md).

# TeX Tutorial

Learn TeX to use DAS more efficiently and effectively!

## Getting Started

✅ Make sure you have Automatic TeX Recognition (ATR) enabled.

✅ The brackets used below are not optional and must be entered.

✅ Trig functions need to be entered like `\sin`, `\cos` and `\tan`

✅ DAS supports most symbols including arrows and Greek letters

## How do I create a fraction?

```
\frac{numerator}{denomnator}
```

![](https://736047561-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfaq-fJ9td28Za2csNM%2F-MjmHdEj1A9T0FYjDHXr%2F-MjmIaJFyAYogwPBTeHI%2Fimage.png?alt=media\&token=7a181de3-e120-4ca6-be40-325f7007cd8e)

## How do I create a radical?

```
\sqrt[base=2]{number}
```

![](https://736047561-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfaq-fJ9td28Za2csNM%2F-MjmHdEj1A9T0FYjDHXr%2F-MjmLh8IoHmcw689aqsH%2Fimage.png?alt=media\&token=07cdb455-7c3d-48aa-9365-c2aa12088704)

## How do I add space?

> DAS will automatically remove any spaces between characters; to force a space make sure to include a `\` . See examples below.

## How do I create a limit?

```
\lim_{x \to x-value} \ (equation)
```

![](https://736047561-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfaq-fJ9td28Za2csNM%2F-MjmHdEj1A9T0FYjDHXr%2F-MjmN8mayo5WRi6qZPT9%2Fimage.png?alt=media\&token=6afeb33c-c9e0-455c-868f-68a4daee5a3d)

## How do I create a derivative?

```
\frac{d}{dx}(equation)
```

![](https://736047561-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfaq-fJ9td28Za2csNM%2F-MjmHdEj1A9T0FYjDHXr%2F-MjmNaDc88rdq4zcdN1t%2Fimage.png?alt=media\&token=0bb32bbc-eed9-4b1a-9df7-ff5ad8af2fac)

## How do I create an integral?

```
\int_{lower terminal}^{upper terminal}(equation) \ dx
```

![](https://736047561-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfaq-fJ9td28Za2csNM%2F-MjmHdEj1A9T0FYjDHXr%2F-MjmO2s5hx38mvFSy2Ap%2Fimage.png?alt=media\&token=11bb19cd-7382-401b-82b9-f0022f465238)

## Further Support

🦮 Consider joining our official server on [Discord](https://discord.gg/Q3BMHGa8Wj).

🦮 Read a more comprehensive TeX tutorial on [Matplotlib](https://matplotlib.org/stable/tutorials/text/mathtext.html).
