Mathjax Examples
Mathjax Examples
Ā
- 1 Mathjax
- 1.1 TeX support
- 1.2 MathML
- 1.3 AsciiMath
Mathjax
TeX support
http://docs.mathjax.org/en/latest/input/tex/macros/index.html
Examples: https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference
Markup | Rendered |
---|---|
\sqrt{a+1\over b+1} | Ā |
\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6} | Ā |
\Biggl(\biggl(\Bigl(\bigl((x)\bigr)\Bigr)\biggr)\Biggr) | Ā |
MathML
Markup | Rendered |
---|---|
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mi>x</mi> <mo>=</mo>
<mrow>
<mfrac>
<mrow>
<mo>−</mo>
<mi>b</mi>
<mo>±</mo>
<msqrt>
<msup><mi>b</mi><mn>2</mn></msup>
<mo>−</mo>
<mn>4</mn><mi>a</mi><mi>c</mi>
</msqrt>
</mrow>
<mrow>
<mn>2</mn><mi>a</mi>
</mrow>
</mfrac>
</mrow>
<mtext>.</mtext>
</math> | Ā |
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mrow>
<mi>A</mi>
<mo>=</mo>
<mfenced open="[" close="]">
<mtable>
<mtr>
<mtd>
<mi>x</mi>
</mtd>
<mtd>
<mi>y</mi>
</mtd>
</mtr>
<mtr>
<mtd>
<mi>z</mi>
</mtd>
<mtd>
<mi>w</mi>
</mtd>
</mtr>
</mtable>
</mfenced>
</mrow>
</math> | Ā |
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mrow>
<semantics>
<mrow>
<msubsup>
<mo>ā«</mo>
<mn>1</mn>
<mi>t</mi>
</msubsup>
<mfrac>
<mrow>
<mo>ā
</mo>
<mi>x</mi>
</mrow>
<mi>x</mi>
</mfrac>
</mrow>
<annotation-xml encoding="MathML-Content">
<apply>
<int></int>
<bvar>
<ci>x</ci>
</bvar>
<lowlimit>
<cn>1</cn>
</lowlimit>
<uplimit>
<ci>t</ci>
</uplimit>
<apply>
<divide></divide>
<cn>1</cn>
<ci>x</ci>
</apply>
</apply>
</annotation-xml>
</semantics>
</mrow>
</math>
| Ā |
AsciiMath
Support seems limited
, multiple selections available,