# KaTeX Mathematics in Telescopo

Telescopo uses bundled KaTeX to render a broad mathematical subset of LaTeX. It is not a complete LaTeX compiler.

## Supported Delimiters

### Inline

Use `\(...\)` for inline mathematics: \(f(x) = x^2 + 2x + 1\).

### Display with double dollars

$$
\int_{0}^{1} x^2\,dx = \frac{1}{3}
$$

### Display with brackets

\[
\sum_{k=1}^{n} k = \frac{n(n+1)}{2}
\]

## Matrix

\[
\mathbf{A} =
\begin{bmatrix}
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & 9
\end{bmatrix}
\]

## Aligned System

\[
\begin{aligned}
x + y &= 10 \\
2x - y &= 5
\end{aligned}
\]

## Finance Without Accidental Math

A laptop costs $1,499 and the service costs $49.99. Ordinary currency remains ordinary text because single-dollar delimiters are not part of Telescopo's configured delimiter set.

## Code Is Ignored

```text
\(this stays code\)
$$ this stays code too $$
```

KaTeX support varies by command. Consult the [official KaTeX support table](https://katex.org/docs/support_table.html) for the upstream syntax boundary.
