MathJax \eval extension

Evaluate and simplify mathematical expressions inside LaTeX.

Based on the LissaJS library.

By Christian Lawson-Perfect.

Usage

\gcd(36,48) = \eval{gcd(36,48)} → \( \gcd(36,48) = \eval{gcd(36,48)} \)

x^1 + \frac{3}{1} - 0 = \simplify{x^1+3/1-0} → \( x^1 + \frac{3}{1} - 0 = \simplify{x^1+3/1-0} \)