Subscribe and receive the latest tech updates, startup insights, and industry trends delivered straight to your inbox.
We respect your privacy. Unsubscribe at any time.
The article discusses MathUp, an open-source web application that allows users to create, edit, and share interactive mathematical content. It highlights MathUp's features, including the ability to write and evaluate code, create visualizations, and collaborate with others.
The reason for writing another AsciiMath dialog back 10 years ago was that AsciiMath proper was tightly integrated into a single implementation (which was than integrated into MathJax) and not very convenient if you just wanted to output the MathML. Since than I have greatly expanded the dialong (more on that later), and browser support for MathML is now sufficient enough that I feel like the greater community could benefit from my project. In particular authors that want to include math in their document, but might not feel like writing (or even learning) LaTeX.
My main goal for the language design was to give author as much expressive power as possible within the confines of MathML while keeping expression very simple to read and type, in the spirit of AsciiMath proper.
The Mathup dialect deviates from AsciiMath in a few significant ways:
1. The most immediately obvious is the matrix notation: `[(a,s,c,i^2), (m,a,t,h)]` vs. [m,a,t; h,u,b].
2. Mathup uses whitespace to group unparenthesized sub-expressions together, while AsciiMath uses the the standard order of operations. `a+b / c+d` is `(a+b) / (c+d)` in Mathup but `a + (b/c) + d` in AsciiMath proper.
3. Mathup support tensor and index notation `(_p^r_e^f_i^x)A(^t,_e,_n,_s,^o,^r)`
4. Mathup gives authors control over which MathML token element to use using backticks or quotemarks and a special prefix "<mtext>", `<mi>`, \\`<mo>`, #`<mn>`, (2 or more spaces will give you an <mspace> in MathUp; <ms> is not supported by neither mathup nor AsciiMath).
5. AsciiMath has `underset x "arg max"` while mathup has the `.^` and `._` operators for over and underscript: `` \\`arg max`_.x ``.
6. AsciiMath has `color(red)(x)` while MathUp has `red x`
7. And more.