Math and Formulas

Last modified: 10/11/2026

Math and Formulas

Pages do not typeset math. LaTeX written between math delimiters, such as $x^2$ or $$E = mc^2$$, is shown as ordinary text, not as a formatted formula. This page shows what happens to each kind of math you might type, and how to write a formula that reads well today.

What happens to LaTeX math

Other things to know:

Dollar amounts

Dollar signs in ordinary text are always shown as typed. It cost $5 and $10. shows exactly that. You don't need to escape them, though \$5 also shows $5.

Writing a formula that reads well

```latex
\int_0^1 x^2 \, dx = \frac{1}{3}
```

More help