Iâ€™ll add any other tricks/hacks other users will need to typeset latex.

A new hack was needed when using the align environment: `\begin{align*} ... \end{align*}`

.

Using the â€śnormalâ€ť latex syntax (with escaped underscores):

```
$$
\begin{align*}
y &\approx f\_\theta \circ g\_\phi (y) \\
x &\approx g\_\phi \circ f\_\theta (x) \\
\end{align*}
$$
```

Does not produce the expected aligned equations. Instead, one should use:

```
$$
\begin{align\*}
y &\approx f\_\theta \circ g\_\phi (y) \\\
x &\approx g\_\phi \circ f\_\theta (x) \\\
\end{align\*}
$$
```

This means two things: one should

- escape the
`*`

in the begin & end, giving the syntax `\begin{align\*}`

- escape the line jumps
`\\`

, giving the syntax `\\\`

at the end of each line

I think a good rule of thumb is: if your latex symbol has meaning in markdown (e.g. `_`

, `*`

, `\`

, etc), you should escape it in your latex code. This is because the markdown interpretation of the syntax takes precedence over the latex one.