Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

06: Math in comments

H0601

LaTeX outside the supported subset. Math in a comment uses a command or environment that isn’t in the subset. It is shown as written. A misspelling of a supported command gets a suggestion.

## Normalizes with $\sofmax(x)$.
fn f(x: [n]) -> [n] = x

See Math in comments.

H0602

Malformed math in a comment. Math in a comment can’t be parsed: an unclosed {, a missing argument, & outside an environment, an unmatched \left or \end, two superscripts in a row. It is shown as written.

# Scaled by $\frac{1}{\sqrt{D}$.
fn f(x: [n]) -> [n] = x

See Math in comments.