# Cedar formula notes

Self-authored test document. No personal data.

Inline: \(a_1^2 + b_1^2 = c_1^2\).

Block:

$$
y = \frac{x+1}{x-1},\quad x \ne 1
$$


Aligned:

$$
\begin{aligned}
f(x) &= (x+1)^2 \\
&= x^2 + 2x + 1
\end{aligned}
$$


## Keep these literal

Price: $12 and$30. Escaped price: \$12.
Inline code: `\(x+1\)` and `a   b`.

```python
pattern = r"\(x+1\)"
spaces = "a   b"
```

| Item | Value |
| --- | ---: |
| A | 12 |
| B | 30 |

中文与 English 混排，句号。逗号，冒号：括号（示例）。