ASCIIMathML ¿¹Á¦ ÆäÀÌÁö

ASCIIMathML.js ¿¹Á¦ ÆäÀÌÁö


2004³â 3¿ù 13ÀÏ ÀÌÈÄ ASCIIMathML Àº HTML ÆÄÀÏ·Î ÀÛ¼ºÇصµ µ¿ÀÛÇÑ´Ù.

`uuu_{n=1}^oo A_n` `\quad` `nnn_{n=1}^oo A_n` `\qquad` `vvv_{n=1}^oo A_n` `\qquad` `^^^_{n=1}^oo A_n` `\qquad` `uuu_{A in fr(A)} A` `\quad` `uuu_{B in fr(B)} B` `\quad` `nnn_{A in fr(A)} A` `\quad` `nnn_{B in fr(B)} B` `\quad`

`sech x` `\quad` `csch x` `\quad` `coth x` `\quad`

`min{a, b}` `\quad` `max{a,b}` `\quad` `glb{a,b}` `\quad` `lub{a,b}` `\quad` `sup{a,b}` `\quad` `inf{a,b}` `\quad`

`min_{x in A} x` `\quad` `max_{0 <= x <= 3} (x-1)^2` `\quad` `glb_{x,y}(x + y)` `\quad` `lub_{x in A uu B}{x}` `\quad` `sup_{P}{sum_{i=1}^n f(hat{x}_i) Delta x_i}` `\quad` `inf_{x in B} 2x ` `\quad`

`dot x` `\quad` `ddot x` `\quad` `dddot x` `\quad`

`x in A`
`\ x in A`
`quad` `x in A`
`qquad` `x in A`
`qqquad` `x in A`
`qqqquad` `x in A`
`qqqqquad` `x in A`


`onlyif`

`A uu B = B uu A` `\quad` `A uu B uu C = (A uu B) uu C = A uu (B uu C)` `\quad`
`A nn B = B nn A` `\quad` `A nn B nn C = (A nn B) uu C = A nn (B nn C)` `\quad`
`prod_{B in fr(B)} B` `\quad` `prod_{n=1}^oo A_n` `\quad` `A times B` `\quad` `A xx B` `\quad` `A * B` `\quad` `A * B` `\quad` `A ** B` `\quad`

`vec(x)` `\quad` `vec(y)` `\quad` `vec(z)` `\quad` `vec(i)` `\quad` `vec(j)` `\quad` `vec(k)` `\quad`

`bar(AB)` `\quad` `bar(PQ)` `\quad` `bar(z)` `\quad` `hat(i)` `\quad` `hat(j)` `\quad` `hat(k)` `\quad`

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

`{:(1 + 2,=,3),(,=,4-1):}`

`{: ((a + b)^2 , = , (a + b)(a + b)) , ( , = , a(a + b) + b(a + b) ) , ( , = , a a + a b + b a + b b ) , ( , = , a^2 + a b + a b + b^2 ) , ( , = , a^2 + 2 a b + b^2 ) :} `

`sum_(i=1)^n i=(n(n+1))/2` and $int_0^(pi/2) sinx\ dx=1$.

`x^2` or `a_(mn)` or `a_{mn}` or `(x+1)/y` or `sqrtx`
Type this See that Comment
\`x^2 + y_1 + z_12^34\` `x^2 + y_1 + z_12^34` subscripts as in TeX, but numbers are treated as a unit
\`sin^-1(x)\` `sin^-1(x)` function names are treated as constants
\`lim_(h->0)(f(x+h)-f(x))/h\` `lim_(h->0)(f(x+h)-f(x))/h` complex subscripts are bracketed, displayed under lim
\$lim_{h\to 0}\frac{f(x+h)-f(x)}{h}\$ $\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$ standard LaTeX notation is an alternative
\`f(x)=sum_(n=0)^oo(f^((n))(a))/(n!)(x-a)^n\` `f(x)=sum_(n=0)^oo(f^((n))(a))/(n!)(x-a)^n` f^((n))(a) must be bracketed, else the numerator is only a
\$f(x)=\sum_{n=0}^\infty\frac{f^{(n)}(a)}{n!}(x-a)^n\$ $f(x)=\sum_{n=0}^\infty\frac{f^{(n)}(a)}{n!}(x-a)^n$ standard LaTeX produces the same result
\`int_0^1f(x)dx\` `int_0^1f(x)dx` subscripts must come before superscripts
\`[[a,b],[c,d]]((n),(k))\` `[[a,b],[c,d]]((n),(k))` matrices and column vectors are simple to type
\`x/x={(1,(x!=0 ÀÏ ¶§)),(text{Á¤ÀǾȵÊ},(x=0 ÀÏ ¶§)):}\` `x/x={(1,(x!=0 ÀÏ ¶§)),(text{Á¤ÀǾȵÊ},(x=0 ÀÏ ¶§)):}` piecewise defined function are based on matrix notation
\`a//b\` `a//b` use // for inline fractions
\`(a/b)/(c/d)\` `(a/b)/(c/d)` with brackets, multiple fraction work as expected
\`a/b/c/d\` `a/b/c/d` without brackets the parser chooses this particular expression
\`((a*b))/c\` `((a*b))/c` only one level of brackets is removed; * gives standard product
\`sqrtsqrtroot3x\` `sqrtsqrtroot3 x` spaces are optional, only serve to split strings that should not match
\`(:a,b:) and x lt y lt 1\` `(:a,b:) and x lt y lt 1` the < character is problematic in XML, use 'lt' or put formula in a comment
\`(a,b]={x in RR : a lt x le b}\` `(a,b]={x in RR : a lt x le b}` grouping brackets don't have to match
\`abc - 123.45^-1.1\` `abc - 123.45^-1.1` non-tokens are split into single characters, but decimal numbers are parsed with possible sign
\`hat(ab) bar(xy) ulA vec v dotx ddot y` `hat(ab) bar(xy) ulA vec v dotx ddot y` accents can be used on any expression (work well in IE)
\`bb{AB3}.bbb(AB].cc(AB).fr{AB}.tt[AB].sf(AB)` `bb{AB3}.bbb(AB].cc(AB).fr{AB}.tt[AB].sf(AB)` font commands; can use any brackets around argument