De Wikipedia, le encyclopedia libere
Le software usate per Wikipedia , MediaWiki , usa un linguage de marcation de typo TeX pro designar formulas mathematic. Le systema genera imagines in formato SVG .
Le marcation de mathematica va inter le etiquettas <math> ... </math> . Le separationes inter le lineas inter iste etiquettas non se monstrara in le resultato final; de facto il es un bon idea render le codice plus legibile per introducer un nove linea p.ex. post cata termino o rango de un matrice .
Non usa iste function como parte de un linea de texto regular, pro evitar que le formulas non se alinea ben e que le typo de litteras sia troppo grande.
Function
Syntaxe
Como se monstra
functiones commun (bon)
\sin x + \ln y +\operatorname { sgn} z
sin
x
+
ln
y
+
sgn
z
{\displaystyle \sin x+\ln y+\operatorname {sgn} z}
functiones commun (mal)
sin x + ln y + sgn z
s
i
n
x
+
l
n
y
+
s
g
n
z
{\displaystyle sinx+lny+sgnz}
Derivativos
\nabla \partial dx
∇
∂
d
x
{\displaystyle \nabla \partial dx}
Collectiones
\forall x\not\in\empty\subseteq A\cap B\cup \exists \{ x,y\} \times C
∀
x
∉
∅
⊆
A
∩
B
∪
∃
{
x
,
y
}
×
C
{\displaystyle \forall x\not \in \emptyset \subseteq A\cap B\cup \exists \{x,y\}\times C}
Logica
p\wedge \bar { q} \rightarrow p\vee \bar { q} \Rightarrow \Leftrightarrow
p
∧
q
¯
→
p
∨
q
¯
⇒⇔
{\displaystyle p\wedge {\bar {q}}\rightarrow p\vee {\bar {q}}\Rightarrow \Leftrightarrow }
Radical
\sqrt { 2} \approx 1.4
2
≈
1.4
{\displaystyle {\sqrt {2}}\approx 1.4}
\sqrt [n] { x}
x
n
{\displaystyle {\sqrt[{n}]{x}}}
Relationes
\sim \simeq \cong \le \ge \equiv \approx \ne
∼≃≅≤≥≡≈≠
{\displaystyle \sim \simeq \cong \leq \geq \equiv \approx \neq }
Geometria
\angle \perp \|
∠
⊥
‖
{\displaystyle \angle \perp \|}
Special
\oplus \otimes \pm \mp \hbar \dagger \ddagger \star \circ \cdot \bullet \infty
⊕
⊗
±
∓
ℏ
†
‡
⋆
∘
⋅
∙
∞
{\displaystyle \oplus \otimes \pm \mp \hbar \dagger \ddagger \star \circ \cdot \bullet \infty }
Function
Syntaxe
Como se monstra
Superscripto
a^ 2
a
2
{\displaystyle a^{2}}
Subscripto
a_ 2
a
2
{\displaystyle a_{2}}
Gruppamento
a^{ 2+2}
a
2
+
2
{\displaystyle a^{2+2}}
a_{ i,j}
a
i
,
j
{\displaystyle a_{i,j}}
Combination sub & super
x_ 2^ 3
x
2
3
{\displaystyle x_{2}^{3}}
Derivativo (bon)
x'
x
′
{\displaystyle x'}
Derivativo (mal in HTML)
x^ \prime
x
′
{\displaystyle x^{\prime }}
Derivativo (mal in PNG)
x\prime
x
′
{\displaystyle x\prime }
Summa
\sum_ { k=1}^ N k^ 2
∑
k
=
1
N
k
2
{\displaystyle \sum _{k=1}^{N}k^{2}}
Producto
\prod_ { i=1}^ N x_ i
∏
i
=
1
N
x
i
{\displaystyle \prod _{i=1}^{N}x_{i}}
Limite
\lim_ { n \to \infty } x_ n
lim
n
→
∞
x
n
{\displaystyle \lim _{n\to \infty }x_{n}}
Integral
\int_ { -N}^{ N} e^ x\, dx
∫
−
N
N
e
x
d
x
{\displaystyle \int _{-N}^{N}e^{x}\,dx}
Integral de linea
\oint_ { C} x^ 3\, dx + 4y^ 2\, dy
∮
C
x
3
d
x
+
4
y
2
d
y
{\displaystyle \oint _{C}x^{3}\,dx+4y^{2}\,dy}
Function
Syntaxe
Como se monstra
Fractiones
\frac { 2}{ 4} or { 2 \over 4}
2
4
o
r
2
4
{\displaystyle {\frac {2}{4}}or{2 \over 4}}
Coefficientes binomial
{ n \choose k}
(
n
k
)
{\displaystyle {n \choose k}}
Matrices
\begin { pmatrix} x & y \\ z & v \end { pmatrix}
(
x
y
z
v
)
{\displaystyle {\begin{pmatrix}x&y\\z&v\end{pmatrix}}}
\begin { bmatrix} 0 & \cdots & 0 \\ \vdots & \ddots & \vdots \\ 0 & \cdots & 0\end { bmatrix}
[
0
⋯
0
⋮
⋱
⋮
0
⋯
0
]
{\displaystyle {\begin{bmatrix}0&\cdots &0\\\vdots &\ddots &\vdots \\0&\cdots &0\end{bmatrix}}}
\begin { Bmatrix} x & y \\ z & v \end { Bmatrix}
{
x
y
z
v
}
{\displaystyle {\begin{Bmatrix}x&y\\z&v\end{Bmatrix}}}
\begin { vmatrix} x & y \\ z & v \end { vmatrix}
|
x
y
z
v
|
{\displaystyle {\begin{vmatrix}x&y\\z&v\end{vmatrix}}}
\begin { Vmatrix} x & y \\ z & v \end { Vmatrix}
‖
x
y
z
v
‖
{\displaystyle {\begin{Vmatrix}x&y\\z&v\end{Vmatrix}}}
\begin { matrix} x & y \\ z & v \end { matrix}
x
y
z
v
{\displaystyle {\begin{matrix}x&y\\z&v\end{matrix}}}
Distinctiones de caso
f(n)=\left\{\begin { matrix} n/2, & \mbox { si } n\mbox { es impar} \\ 3n+1, & \mbox { si } n\mbox { es par} \end { matrix} \right .
f
(
n
)
=
{
n
/
2
,
si
n
es impar
3
n
+
1
,
si
n
es par
{\displaystyle f(n)=\left\{{\begin{matrix}n/2,&{\mbox{si }}n{\mbox{ es impar}}\\3n+1,&{\mbox{si }}n{\mbox{ es par}}\end{matrix}}\right.}
Equationes multilinear
\begin { matrix} f(n+1)& =& (n+1)^ 2 \\ \ & =& n^ 2 + 2n + 1\end { matrix}
f
(
n
+
1
)
=
(
n
+
1
)
2
=
n
2
+
2
n
+
1
{\displaystyle {\begin{matrix}f(n+1)&=&(n+1)^{2}\\\ &=&n^{2}+2n+1\end{matrix}}}
Function
Syntaxe
Como se monstra
Litteras grec
\alpha \beta \gamma \Gamma \phi \Phi \Psi\ \tau \Omega
α
β
γ
Γ
ϕ
Φ
Ψ
τ
Ω
{\displaystyle \alpha \beta \gamma \Gamma \phi \Phi \Psi \ \tau \Omega }
Blackboard bold
x\in\mathbb { R} \sub\mathbb { C}
x
∈
R
⊂
C
{\displaystyle x\in \mathbb {R} \subset \mathbb {C} }
grasse (vectores)
\mathbf { x} \cdot\mathbf { y} = 0
x
⋅
y
=
0
{\displaystyle \mathbf {x} \cdot \mathbf {y} =0}
grasse (grec)
\boldsymbol { \alpha } +\boldsymbol { \beta } +\boldsymbol { \gamma }
α
+
β
+
γ
{\displaystyle {\boldsymbol {\alpha }}+{\boldsymbol {\beta }}+{\boldsymbol {\gamma }}}
Typo de litteras Fraktur
\mathfrak { a} \mathfrak { B}
a
B
{\displaystyle {\mathfrak {a}}{\mathfrak {B}}}
Scripto
\mathcal { ABC}
A
B
C
{\displaystyle {\mathcal {ABC}}}
Hebree
\aleph \beth \gimel \daleth
ℵ
ℶ
ℷ
ℸ
{\displaystyle \aleph \beth \gimel \daleth }
characteres non cursive
\mbox { abc}
abc
{\displaystyle {\mbox{abc}}}