Skip to content

Math (KaTeX)

All Writer renders LaTeX math via KaTeX: inline and display equations for papers and technical docs.

Syntax

Inline: $E = mc^2$ → $E = mc^2$

Display:

markdown
$$
\int_{-\infty}^{\infty} e^{-x^2}\,dx = \sqrt{\pi}
$$

$$ \int_{-\infty}^{\infty} e^{-x^2},dx = \sqrt{\pi} $$

Tips

  • Escape $ inside text when needed.
  • For matrices, fractions, and operators, use standard LaTeX commands KaTeX supports.
  • Very large expressions may need to be split for readability on small screens.