This component allows you to render beautiful, textbook-quality math expressions in OutSystems Reactive Web Apps using the MathJax library.
It supports expressions written in LaTeX, a standard markup language for mathematical typesetting. The rendering is client-side using MathJax via a CDN, ensuring fast and accurate display across all modern browsers.
This component supports a wide range of LaTeX math commands, including:
Fractions: \frac{a}{b}
\frac{a}{b}
Roots: \sqrt{x}, \sqrt[3]{x}
\sqrt{x}
\sqrt[3]{x}
Integrals: \int_{a}^{b} f(x) dx
\int_{a}^{b} f(x) dx
Sums and Products: \sum, \prod
\sum
\prod
Matrices: \begin{bmatrix} a & b \\ c & d \end{bmatrix}
\begin{bmatrix} a & b \\ c & d \end{bmatrix}
Greek letters: \alpha, \beta, \gamma, \pi, \theta
\alpha, \beta, \gamma, \pi, \theta
Trigonometry, logs, limits, etc.
For a full guide to LaTeX math expressions, visit:🔗 Wikibooks: LaTeX/Mathematics
This resource provides in-depth examples and syntax references for every type of mathematical expression supported by MathJax.
latexx = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
latex\lim_{x \to \infty} \left(1 + \frac{1}{x} \right)^x = e
\lim_{x \to \infty} \left(1 + \frac{1}{x} \right)^x = e
latex\sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}
\sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}