Inserting Mathematics in Wiki Pages
There are three ways of inserting mathematics in
UniWakka: Latex, ASCIIMathML,
MathML.
Which is really cool.
Latex-like Mathematics
Here are some examples:
$$\left\{\begin{array}{cc}
x_{1} & x_{2}\\
x_{1} & x_{1}\end{array}\right]$$
will produce:
{
x
1
x
2
x
1
x
1
]
$$\left(\begin{array}{cccc}a& b& c& d\\ e& f& g& h\\ i& l& m& n\\ o& p& q& r\end{array}\right)$$
will produce:
(
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
)
$$\frac{d}{dx}f(x)=\lim_{h\rightarrow0}\frac{f(x+h)-f(x)}{h}$$
will produce:
d
d
x
f
(
x
)
=
lim
h
→
0
f
(
x
+
h
)
-
f
(
x
)
h
$$\frac{df}{dx}(x)=\underset{h\rightarrow0}{lim}\frac{f(x+h)-f(x)}{h}$$
will produce:
d
f
d
x
(
x
)
=
lim
h
→
0
f
(
x
+
h
)
-
f
(
x
)
h
$$\int_{0}^{+\infty}t^{x-1}e^{-t}dt=\Gamma(x)$$
will produce:
∫
0
+
∞
t
x
-1
e
-
t
d
t
=
Γ
(
x
)
$$f(x)=\sum_{n=0}^\infty\frac{f^{(n)}(a)}{n!}(x-a)^n$$
will produce:
f
(
x
)
=
∑
n
=
0
∞
f
(
n
)
(
a
)
n
!
(
x
-
a
)
n
$$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$$
will produce:
d
d
x
f
(
x
)
=
lim
h
→
0
f
(
x
+
h
)
-
f
(
x
)
h
$$\Pi\equiv\beta-2\frac{\sqrt{223}}{22^{3}}$$
will produce:
Π
≡
β
-2
223
22
3
$$\overline{L-x}=\epsilon$$
will produce:
L
-
x
¯
=
ε
ASCIIMathML Mathematics
Here are some examples:
``int_-1^1 sqrt(1-x^2)dx = pi/2``
will produce:
∫
-1
1
1
-
x
2
d
x
=
π
2
``x^2+y_1+z_12^34``
will produce:
x
2
+
y
1
+
z
12
34
``d/(dx)f(x)=lim_(h->0)(f(x+h)-f(x))/h``
will produce:
d
d
x
f
(
x
)
=
lim
h
→
0
x
(
x
+
h
)
-
f
)
h
``f(x)=sum_(n=0)^oo(f^((n))(a))/(n!)(x-a)^n``
will produce:
f
(
x
)
=
∑
n
=
0
∞
a
)
n
!
(
x
-
a
)
n
``a\\b``
will produce:
a
\
b
``{(x_{1} , x_{2}),(x_{1} , x_{1})]``
will produce:
{
x
1
x
2
x
1
x
1
]
``((a,b,c,d),(e,f,g,h),(i,l,m,n),(o,p,q,r))``
will produce:
(
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
)
``\sum_{n=1}^N x^2 +2``
will produce:
∑
n
=
1
N
x
2
+2
MathML Mathematics
Here are some examples:
<math>
<mrow>
<mfrac>
<mrow>
<mi>x</mi>
<mo>+</mo>
<msup>
<mi>y</mi>
<mn>2</mn>
</msup>
</mrow>
<mrow>
<mi>k</mi>
<mo>+</mo>
<mn>1</mn>
</mrow>
</mfrac>
</mrow>
</math>
will produce:
x
+
y
2
k
+
1
<math>
<mfrac>
<mi>d</mi>
<mi>d</mi>
</mfrac>
<mi>x</mi>
<mi>f</mi>
<mrow>
<mo>(</mo>
<mi>x</mi>
<mo>)</mo>
</mrow>
<mo>=</mo>
<munder>
<mo>lim</mo>
<mrow>
<mi>h</mi>
<mo>→</mo>
<mn>0</mn>
</mrow>
</munder>
<mfrac>
<mrow>
<mi>f</mi>
<mrow>
<mo>(</mo>
<mi>x</mi>
<mo>+</mo>
<mi>h</mi>
<mo>)</mo>
</mrow>
<mo>-</mo>
<mi>f</mi>
<mrow>
<mo>(</mo>
<mi>x</mi>
<mo>)</mo>
</mrow>
</mrow>
<mi>h</mi>
</mfrac>
</math>
will produce:
d
d
x
f
(
x
)
=
lim
h
→
0
f
(
x
+
h
)
-
f
(
x
)
h