by runarberg · 4y ago · 0 comments
## Example Matrix
$$$
[a, b; c, d]
$$$
Although I realize that we are probably stuck with LaTeX for the foreseeable future as the only way to type math in text files.Disclaimer, I am an author of an alternative math markup language specifically designed to be a good fit in Markdown.
What's your language? Any plans to build some sort of translator or other mechanism to allow high-quality rendering based on it?
obrace(a\`↑↑`b = ubrace(a^a^⋰^a)._(b "times")).^"" "up-arrow" notation ""
I don’t think you’ll be able to read this without knowing some of the syntax... which is a failure on my part as author. `obrace` and ubrace` are clear `.^` puts the following expression (a text that works the same way as backticks in markdown) over the preceding expression. `._` does the same but puts it under. and the backslash will make the thing surrounded by backticks (\`↑↑`) an operator. But this is a fairly complected expression. And my goal was never to make every expression look simple. A far more common expression would be easier: a^n = obrace(a xx a xx cdots xx a).^(n "times")
which could also be written as: a^n = (a × a × ⋯ × a).^⏞.^(n "times")
Regarding cases, in mathup could write: n! = { 1, if n <= 1
(n-1)!, otherwise
However the alignment won’t be perfect... I was always going to go back and fix that, but I never got around to do that.Other improvements include, using white space smartly to group things together e.g. (This example also showcases using slash to denote fraction)
a/b + c/d != a / b+c / d