ASCIIMathML.js sample page

Use auto-math-recognize mode (amath here x^2 and text is mixed endamath) or surround ASCIIMath formulas with left-quotes: `sum_(i=1)^n i=(n(n+1))/2` or LaTeX formulas with \$-signs $\int_0^{\pi/2} \sin x\,dx=1$. $\sum_{i=1}^2 i^3 $

$$\sqrt{3a_{12}^{5}+3}$$

$$\left( \begin{array}{ccc} S_{11} & \cdots & S_{1n} \\ \vdots & \ddots & \vdots \\ S_{m1} & \cdots & S_{mn} \end{array} \right] $$

`{(S_(11),...,S_(1n)),(vdots,ddots,vdots),(S_(m1),...,S_(mn))]`

And here is a simple graph: $x^2\sin(x)$ agraph width=1000; height=1000; xmin=-20; xmax=20; ymin=-25; ymax=25; xscl=1; plot(x*x*sin(x)) endagraph followed by a more elaborate graph (try double-clicking it, also while holding down shift or alt) agraph width=300; height=200; xmin=-5; xmax=5; xscl=1; plot((x-2)*(x-1)*x*(x+1)*(x+2)/2,-2.5,2.5); endagraph

Note: this page uses a relative link to ASCIIMathML.js, so the script should be in the same folder as this sample file.

 

 

 

 

 

 

 

 

1 Una referencia interna las matrices en tex usan \left{ etc ... $ a = 2 \alpha ^4$