https://docs.mathjax.org/en/latest/basic/mathjax.html

MathJax is an open-source JavaScript display engine for LaTeX, MathML, and AsciiMath notation that works in all modern browsers.

MathJax uses web-based fonts to produce high-quality typesetting that scales and prints at full resolution, unlike mathematics included as bitmapped images. With MathJax, mathematics is text-based rather than image-based, and so it is available for search engines, meaning that your equations can be searchable, just like the text of your pages.

## Latex Syntax

I'll show the "ascii math" and then the $-wrapped version (which is the Obsidian syntax to show it via mathjax

For inline, the `$`

has to be touching the characters. I.e.,

I'm basically going to be ripping bits from this stack overflow post of various latex notations

- superscripts and subscripts
- n^2 :
- n_x :
- n_{x^2} :

- n^2 :
- greek letters
- \alpha * \beta = \gamma :

- \alpha * \beta = \gamma :
- fractions, division
- \frac{a * b}{c * d} :
- \frac ab :
- \frac a {b * c} :

- \frac{a * b}{c * d} :
- square root
- \sqrt 4 :
- \sqrt{4^2} :
- \sqrt[5]3^5 :
- \sqrt[5]{3^5} :

- \sqrt 4 :
- modular arithmetic
- a \mod b :
- a \equiv b \mod c :

- a \mod b :
- ellipsis
- a * \cdots * z :
- a * \ldots * z :
- there are also \ddots (
) and \vdots ( ), which can be used, e.g., in matrix expressions or tables.

- a * \cdots * z :
- binomial coefficient
- 3 + n \choose k:
- 3 + {n \choose k}:
- 3 + {n \choose k}:

- 3 + n \choose k: