LaTeX shortcuts
Mathleagues uses KaTeX for mathematical rendering. The same syntax works in prompts, answer fields, and written work.
syntax basics
Use $x^2$ for inline math and $$x^2$$ for display math. The proof editor also recognizes raw commands entered through its keyboard shortcuts and toolbar.
mixed text and math
Let $f: \mathbb{R} \to \mathbb{R}$ be continuous.
By the intermediate value theorem, there exists
$c \in (a,b)$ such that $f(c)=0$.rendering an example
This is the same mixed-content renderer used by problem statements: The answer is .
math mode only
KaTeX renders mathematical syntax, not a full LaTeX document. Preambles, packages, and TikZ diagrams are not part of the input format.