math-jax
Reactive icon

Math Jax

Stable version 1.0.1 (Compatible with OutSystems 11)
Uploaded
 on 16 July 2025
 by 
5.0
 (3 ratings)
math-jax

Math Jax

Details
This component enables seamless rendering of mathematical expressions in OutSystems Reactive Web Applications using MathJax — a powerful JavaScript library for displaying LaTeX-style math. It allows you to dynamically display well-formatted math equations like fractions, integrals, summations, and more by passing math text and a target element ID, making it perfect for educational apps, scientific content, quizzes, or any math-related UI.
Read more

This component integrates MathJax into your OutSystems Reactive Web Applications, enabling rich, textbook-quality rendering of mathematical notation written in LaTeX, MathML, or ASCIIMath.

Whether you're building educational apps, scientific dashboards, engineering tools, or any app involving mathematical content — this component helps you display complex math in a clean, responsive, and accessible format.


Features

  • Supports rendering LaTeX-style math expressions using MathJax 3.

  • Renders both inline and block math content dynamically.

  • Simple and reusable JavaScript function: pass your math text and target container ID.

  • Works seamlessly with inputs, expressions, or any dynamic content.

  • Lightweight: Uses CDN version of MathJax (no backend processing).

  • Compatible with all modern browsers and responsive design.


Example Usage

latex
\int_{a}^{b} x^2 dx = \frac{b^3 - a^3}{3}

Just call the JavaScript function:

javascript
renderMathInContainer(text, containerId);

How to Use

  1. Add the included MathJax Web Block to your screen (or manually include the CDN script).

  2. Bind any LaTeX-formatted math string to a variable or expression.

  3. Call renderMathInContainer() in a JavaScript node, passing:

    • The math expression (text)

    • The container’s ID where it should render (containerId)

  4. That’s it! MathJax will process and render your equations beautifully.

Release notes (1.0.1)

New Features:

  • Live Math Rendering via Web Block Inputs
    The component now automatically renders math expressions when a value is passed to the Web Block’s MathText input.

    • No need for manual JavaScript invocation.

    • Ideal for reactive updates and dynamic content.

Improvements:

  • Streamlined JavaScript logic to detect and render updated LaTeX expressions directly on Web Block render.

License (1.0.1)
Reviews (3)
by 
2025-07-17
in version 1.0.1
Great application solve my 80% problen.
by 
2025-07-15
in version 1.0.0
Great Finding 
by 
2025-07-15
in version 1.0.0
Very useful component, great job!
Team
Other assets in this category