python-3.xmathjaxasciimath

Displaying binomials and matrices using asciimath with mathjax


I'm trying to display different math problems using asciimath and mathjax. However some things does not seem to be supported in asciimath. For instance I'm trying to display a binomial/matrix and I can't really figure out how to do it. Would I have to use latex or mathml to do this, or is there a way to use asciimath for this?

update: I found a kinda cheeky way to show binomials in asciimath: (""_1^2) This works, but it is kinda hacky.


Solution

  • You can use

    ([1],[3])
    

    to get a matrix with two rows of one element each surrounded by parentheses. That may be what you want, though it may be too tall for use with in-line expressions.