MathJax Reference
Free reference guide: MathJax Reference
About MathJax Reference
This MathJax Reference is a searchable cheat sheet for rendering mathematical notation on the web, organized into six categories: Basics, Formulas, Matrices, Symbols, Environments, and Config. Each entry shows the TeX syntax, its visual result description, and a copy-ready code example.
The reference covers fundamental TeX/LaTeX math notation including inline ($...$) and display ($$...$$) modes, superscripts/subscripts, fractions (\frac, \dfrac), square and nth roots (\sqrt), auto-sized brackets (\left/\right), text within formulas (\text{}), summation (\sum), product (\prod), integrals (\int), limits (\lim), binomial coefficients (\binom), and partial derivatives (\partial, \nabla).
Advanced topics include matrix environments (matrix, pmatrix, bmatrix, vmatrix with dot notation), Greek letters (lowercase and uppercase), comparison/set/logic/arrow symbols, equation environments (align, cases, equation, array), and MathJax v3 configuration including CDN loading, tex2jax settings, processEscapes, AMS tagging, and custom macros with \newcommand.
Key Features
- Complete TeX math notation reference with 33+ entries organized into 6 categories
- Basic notation: inline/display math, superscript/subscript, fractions, roots, auto-sized brackets
- Formula symbols: summation, product, integral, limit, binomial coefficients, partial derivatives
- Matrix environments: matrix, pmatrix (parentheses), bmatrix (brackets), vmatrix (determinant)
- Greek letters (lowercase and uppercase) plus comparison, set, logic, and arrow symbols
- Equation environments: align (numbered), cases (piecewise), equation, and array
- MathJax v3 configuration: CDN script loading, tex2jax, processEscapes, and \newcommand macros
- Instant search and category filtering with no installation required
Frequently Asked Questions
What MathJax syntax does this cheat sheet cover?
It covers six categories: Basics (inline/display math, superscript, subscript, fractions, roots, brackets, text), Formulas (summation, product, integral, limit, binomial, partial derivative, nabla), Matrices (matrix, pmatrix, bmatrix, vmatrix, dot notation), Symbols (Greek letters, comparison, set, logic, arrow, special symbols), Environments (align, cases, equation, array), and Config (MathJax.Hub.Config, tex2jax, CDN loading, \newcommand).
What is the difference between $...$ and $$...$$ in MathJax?
Single dollar signs ($...$) render inline math that flows within text, such as $E = mc^2$. Double dollar signs ($$...$$) render display math on a separate centered line, typically used for important or complex equations. You can also use \(...\) for inline and \[...\] for display math.
How do I write fractions and roots in MathJax?
Use \frac{numerator}{denominator} for fractions, or \dfrac for display-style fractions within inline math. For square roots use \sqrt{expression}, and for nth roots use \sqrt[n]{expression}. Example: \frac{x+1}{x-1} renders a fraction, \sqrt[3]{27} renders a cube root.
How do I create matrices in MathJax?
Use \begin{pmatrix}...\end{pmatrix} for parenthesized matrices, \begin{bmatrix} for bracketed matrices, \begin{vmatrix} for determinant notation, and \begin{matrix} for plain matrices. Separate columns with & and rows with \\. Use \cdots, \vdots, and \ddots for ellipsis notation.
What Greek letters are available in MathJax?
Lowercase: \alpha, \beta, \gamma, \delta, \epsilon, \theta, \lambda, \mu, \pi, \sigma, \omega, and more. Uppercase: \Gamma, \Delta, \Theta, \Lambda, \Pi, \Sigma, \Omega. Some uppercase Greek letters (like Alpha, Beta) look identical to Latin letters and are typed normally.
How do I write piecewise functions in MathJax?
Use the cases environment: f(x) = \begin{cases} x^2 & \text{if } x \geq 0 \\ -x & \text{if } x < 0 \end{cases}. Each case is a row with the expression, an ampersand (&), and the condition. Separate rows with \\.
How do I set up MathJax on my website?
Add the CDN script: <script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>. Configure with a MathJax global object before the script: set inlineMath delimiters, enable processEscapes for backslash handling, set tags to "ams" for equation numbering, and define custom macros with \newcommand.
Is this MathJax reference free?
Yes, completely free with no account needed. All content loads in your browser with instant search and filtering. The interface supports dark mode and works on desktop, tablet, and mobile devices.