帮助:MediaWiki语法
跳到导航
跳到搜索
常用字符
上标:⁰ ¹ ² ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹ ⁺ ⁻ ⁼ ⁽ ⁾ ᵃ ᵇ ᶜ ᵈ ᵉ ᶠ ᵍ ʰ ⁱ ʲ ᵏ ˡ ᵐ ⁿ ᵒ ᵖ ʳ ˢ ᵗ ᵘ ᵛ ʷ ˣ ʸ ᶻ
下标:₀ ₁ ₂ ₃ ₄ ₅ ₆ ₇ ₈ ₉ ₊ ₋ ₌ ₍ ₎ ₐ ₑ ₒ ₓ ₔ ₕ ₖ ₗ ₘ ₙ ₚ ₛ ₜ
数学:+ - × ÷ ∙ = ± ∞ ∵ ∴ ⊥ ∥ ∠ °′″ △ ∽ ≌ ⊙
希腊字母:Α Β Γ Δ Ε Ζ Η Θ Ι Κ Λ Μ Ν Ξ Ο Π Ρ Σ Τ Υ Φ Χ Ψ Ω α β γ δ ε ζ η θ ι κ λ μ ν ξ ο π ρ ς σ τ υ φ χ ψ ω
功能
嵌入 CSS 样式
安装了 CSS 扩展后,可以在内容中直接加入 css 代码:
{{#css: /* css 代码 */ }}
删除线
<del>刪除線</del>
公式
编辑页面源码,在任意位置插入{{MathJax3}}
,即可直接使用 TeX 书写数学公式。(注:只需插入一次)
- 用下划线和美元符号包裹的公式成为行内公式。_$2\sin x \cos x= \sin 2x$_
- 用下划线和美元符号包裹的公式成为行内公式。_$2\sin x \cos x= \sin 2x$_
- 用双美元符号包裹的公式成为单独的段落。$$\frac{1}{2}+\frac{1}{3}=\frac{5}{6}$$
- 用双美元符号包裹的公式成为单独的段落。$$\frac{1}{2}+\frac{1}{3}=\frac{5}{6}$$
- 特殊字符:
\#\,\$\,\%\,\&\,\_\,\{\,\}
_$\#\,\$\,\%\,\&\,\_\,\{\,\}$_ - 特殊名称:
\hat{} \quad \tilde{} \quad \backslash
_$\hat{} \quad \tilde{} \quad \backslash$_ - 变量:
a\,b\,c\,d\,e\,f\,g
_$a\,b\,c\,d\,e\,f\,g$_ - 声调:
\acute{a} \, \grave{a} \, \hat{a} \, \tilde{a} \, \breve{a} \, \check{a} \, \bar{a} \, \ddot{a} \, \dot{a}
_$\acute{a} \, \grave{a} \, \hat{a} \, \tilde{a} \, \breve{a} \, \check{a} \, \bar{a} \, \ddot{a} \, \dot{a}$_ - 标准函数
\sin a \cos b \tan c
_$\sin a \cos b \tan c$_\sec d \csc e \cot f
_$\sec d \csc e \cot f$_\arcsin h \arccos i \arctan j
_$\arcsin h \arccos i \arctan j$_\sinh k \cosh l \tanh m \coth n
_$\sinh k \cosh l \tanh m \coth n$_\operatorname{sh}o\,\operatorname{ch}p\,\operatorname{th}q
_$\operatorname{sh}o\,\operatorname{ch}p\,\operatorname{th}q$_\operatorname{arsinh}r\,\operatorname{arcosh}s\,\operatorname{artanh}t
_$\operatorname{arsinh}r\,\operatorname{arcosh}s\,\operatorname{artanh}t$_\lim u \limsup v \liminf w \min x \max y
_$\lim u \limsup v \liminf w \min x \max y$_\inf z \sup a \exp b \ln c \lg d \log e \log_{10} f \ker g
_$\inf z \sup a \exp b \ln c \lg d \log e \log_{10} f \ker g$_\deg h \gcd i \Pr j \det k \hom l \arg m \dim n
_$\deg h \gcd i \Pr j \det k \hom l \arg m \dim n$_
- 上标下标积分
- 上标
a^2
_$a^2$_ - 下标
a_2
_$a_2$_ - 分组
a^{2+2}
_$a^{2+2}$_ ,a_{i,j}
_$a_{i,j}$_ - 结合
x_2^3
_$x_2^3$_ ,{x_2}^3
_${x_2}^3$_ - 超乘方
10^{10^{8}}
_$10^{10^{8}}$_ _nP_k
_$_nP_k$_ ,\sideset{_1^2}{_3^4}\prod_a^b
_$\sideset{_1^2}{_3^4}\prod_a^b$_ ,{_1^2}\Omega_3^4
_${_1^2}\Omega_3^4$_- 堆叠
\overset{\alpha}{\omega}
_$\overset{\alpha}{\omega}$_ ,\underset{\alpha}{\omega}
_$\underset{\alpha}{\omega}$_ ,\overset{\alpha}{\underset{\gamma}{\omega}}
_$\overset{\alpha}{\underset{\gamma}{\omega}}$_ ,\stackrel{\alpha}{\omega}
_$\stackrel{\alpha}{\omega}$_ - 衍生
x^\prime, y^{\prime\prime}
_$x^\prime, y^{\prime\prime}$_ - 导数点
\dot{x}, \ddot{x}
_$\dot{x}, \ddot{x}$_ - 底线、上横线、向量
\hat a \ \bar b \ \vec c
_$\hat a \ \bar b \ \vec c$_\overrightarrow{a b} \ \overleftarrow{c d} \ \widehat{d e f}
_$\overrightarrow{a b} \ \overleftarrow{c d} \ \widehat{d e f}$_\overline{g h i} \ \underline{j k l}
_$\overline{g h i} \ \underline{j k l}$_\not 1 \ \cancel{123}
_$\not 1 \ \cancel{123}$_
- 箭头
A \xleftarrow{n+\mu-1} B \xrightarrow[T]{n\pm i-1} C
_$A \xleftarrow{n+\mu-1} B \xrightarrow[T]{n\pm i-1} C$_ - 上括号
\overbrace{ 1+2+\cdots+100 }^{\text{sum}\,=\,5050}
_$\overbrace{ 1+2+\cdots+100 }^{\text{sum}\,=\,5050}$_ - 下括号
\underbrace{ a+b+\cdots+z }_{26\text{ terms}}
_$\underbrace{ a+b+\cdots+z }_{26\text{ terms}}$_ - 求和
\sum_{k=1}^N k^2
_$\sum_{k=1}^N k^2$_ ,\sum_{k=1}^N k^2
$$\sum_{k=1}^N k^2$$ - 求积
\prod_{i=1}^N x_i
_$\prod_{i=1}^N x_i$_ ,\prod_{i=1}^N x_i
$$\prod_{i=1}^N x_i$$ - 上积
\coprod_{i=1}^N x_i
_$\coprod_{i=1}^N x_i$_ ,\coprod_{i=1}^N x_i
$$\coprod_{i=1}^N x_i$$ - 极限
\lim_{n \to \infty}x_n
_$\lim_{n \to \infty}x_n$_ ,\lim_{n \to \infty}x_n
$$\lim_{n \to \infty}x_n$$ - 积分
\int\limits_{1}^{3}\frac{e^3/x}{x^2}\, dx
$$\int\limits_{1}^{3}\frac{e^3/x}{x^2}\, dx$$ ,\int_{1}^{3}\frac{e^3/x}{x^2}\, dx
$$\int_{1}^{3}\frac{e^3/x}{x^2}\, dx$$\iint\limits_D \, dx\,dy
$$\iint\limits_D \, dx\,dy$$\iiint\limits_E \, dx\,dy\,dz
$$\iiint\limits_E \, dx\,dy\,dz$$\iiiint\limits_F \, dx\,dy\,dz\,dt
$$\iiiint\limits_F \, dx\,dy\,dz\,dt$$\int_C x^3\, dx + 4y^2\, dy
$$\int_C x^3\, dx + 4y^2\, dy$$\oint_C x^3\, dx + 4y^2\, dy
$$\oint_C x^3\, dx + 4y^2\, dy$$
- 交集
\bigcap_1^n p
$$\bigcap_1^n p$$ - 并集
\bigcup_1^k p
$$\bigcup_1^k p$$
- 上标
- 分数、矩阵、多线
\cfrac{2}{ c + \cfrac{2}{ d + \cfrac{1}{2} } } = a
$$ \cfrac{2}{ c + \cfrac{2}{ d + \cfrac{1}{2} } } = a \qquad \dfrac{2}{ c + \dfrac{2}{ d + \dfrac{1}{2} } } = a $$
\qquad
\dfrac{2}{ c + \dfrac{2}{ d + \dfrac{1}{2} } } = a
- 模运算
s_k \equiv 0 \pmod{m}
_$s_k \equiv 0 \pmod{m}$_a\,\bmod\,b
_$a\,\bmod\,b$_
- 导数
\nabla \, \partial x \, dx \, \dot x \, \ddot y\, dy/dx\, \frac{dy}{dx}\, \frac{\partial^2 y}{\partial x_1\,\partial x_2}
_$\nabla \, \partial x \, dx \, \dot x \, \ddot y\, dy/dx\, \frac{dy}{dx}\, \frac{\partial^2 y}{\partial x_1\,\partial x_2}$_
- 集合
\forall \exists \emptyset \varnothing
_$\forall \exists \emptyset \varnothing$_\in \ni \not\in \notin \not\ni \subset \subseteq \supset \supseteq
_$\in \ni \not\in \notin \not\ni \subset \subseteq \supset \supseteq$_\cap \bigcap \cup \bigcup \biguplus \setminus \smallsetminus
_$\cap \bigcap \cup \bigcup \biguplus \setminus \smallsetminus$_\sqsubset \sqsubseteq \sqsupset \sqsupseteq \sqcap \sqcup \bigsqcup
_$\sqsubset \sqsubseteq \sqsupset \sqsupseteq \sqcap \sqcup \bigsqcup$_
- 运算符
+ \oplus \bigoplus \pm \mp -
_$+ \oplus \bigoplus \pm \mp -$_\times \otimes \bigotimes \cdot \circ \bullet \bigodot
_$\times \otimes \bigotimes \cdot \circ \bullet \bigodot$_\star * / \div \frac{1}{2}
_$\star * / \div \frac{1}{2}$_
- 逻辑
\land \wedge \bigwedge \bar{q} \to p
_$\land \wedge \bigwedge \bar{q} \to p$_\lor \vee \bigvee \lnot \neg q \And
_$\lor \vee \bigvee \lnot \neg q \And$_
- 根
\sqrt{2} \sqrt[n]{x}
_$\sqrt{2} \sqrt[n]{x}$_
- 关系
\sim \approx \simeq \cong \dot= \overset{\underset{\mathrm{def}}{}}{=}
_$\sim \approx \simeq \cong \dot= \overset{\underset{\mathrm{def}}{}}{=}$_< \le \ll \gg \ge > \equiv \not\equiv \ne \mbox{or} \neq \propto
_$< \le \ll \gg \ge > \equiv \not\equiv \ne \mbox{or} \neq \propto$_\lessapprox \lesssim \eqslantless \leqslant \leqq \geqq \geqslant \eqslantgtr \gtrsim \gtrapprox
_$\lessapprox \lesssim \eqslantless \leqslant \leqq \geqq \geqslant \eqslantgtr \gtrsim \gtrapprox$_
- 几何符号
\Diamond \Box \triangle \angle \perp \mid \nmid \| 45^\circ
_$\Diamond \Box \triangle \angle \perp \mid \nmid \| 45^\circ$_
- 箭头
\leftarrow (or \gets) \rightarrow (or \to) \nleftarrow \nrightarrow \leftrightarrow \nleftrightarrow \longleftarrow \longrightarrow \longleftrightarrow
_$\leftarrow (or \gets) \rightarrow (or \to) \nleftarrow \nrightarrow \leftrightarrow \nleftrightarrow \longleftarrow \longrightarrow \longleftrightarrow$_\Leftarrow \Rightarrow \nLeftarrow \nRightarrow \Leftrightarrow \nLeftrightarrow \Longleftarrow (or \impliedby) \Longrightarrow (or \implies) \Longleftrightarrow (or \iff)
_$\Leftarrow \Rightarrow \nLeftarrow \nRightarrow \Leftrightarrow \nLeftrightarrow \Longleftarrow (or \impliedby) \Longrightarrow (or \implies) \Longleftrightarrow (or \iff)$_\uparrow \downarrow \updownarrow \Uparrow \Downarrow \Updownarrow \nearrow \searrow \swarrow \nwarrow
_$\uparrow \downarrow \updownarrow \Uparrow \Downarrow \Updownarrow \nearrow \searrow \swarrow \nwarrow$_\rightharpoonup \rightharpoondown \leftharpoonup \leftharpoondown \upharpoonleft \upharpoonright \downharpoonleft \downharpoonright \rightleftharpoons \leftrightharpoons
_$\rightharpoonup \rightharpoondown \leftharpoonup \leftharpoondown \upharpoonleft \upharpoonright \downharpoonleft \downharpoonright \rightleftharpoons \leftrightharpoons$_\curvearrowleft \circlearrowleft \Lsh \upuparrows \rightrightarrows \rightleftarrows \Rrightarrow \rightarrowtail \looparrowright
_$\curvearrowleft \circlearrowleft \Lsh \upuparrows \rightrightarrows \rightleftarrows \Rrightarrow \rightarrowtail \looparrowright$_\curvearrowright \circlearrowright \Rsh \downdownarrows \leftleftarrows \leftrightarrows \Lleftarrow \leftarrowtail \looparrowleft
_$\curvearrowright \circlearrowright \Rsh \downdownarrows \leftleftarrows \leftrightarrows \Lleftarrow \leftarrowtail \looparrowleft$_\mapsto \longmapsto \hookrightarrow \hookleftarrow \multimap \leftrightsquigarrow \rightsquigarrow
_$\mapsto \longmapsto \hookrightarrow \hookleftarrow \multimap \leftrightsquigarrow \rightsquigarrow$_