记录常用的Tex/md写数学公式的使用频率一般,每次都记不住的符号,完整符号可参考下面两个链接。
https://katex.org/docs/supported.html
https://blog.csdn.net/ying_xu/article/details/51240291
code | show |
---|---|
\epsilon | ϵ \epsilon ϵ |
\varepsilon | ε \varepsilon ε |
\tau | τ \tau τ |
\Omega | Ω \Omega Ω |
\Psi | Ψ \Psi Ψ |
\upsilon | υ \upsilon υ |
\leq or \le | ≤ \leq ≤ |
\geq or \ge | ≥ \geq ≥ |
\equiv | ≡ \equiv ≡ |
\in | ∈ \in ∈ |
\ni | ∋ \ni ∋ |
\mid | ∣ \mid ∣ |
\neq or \ne | ≠ \neq ̸= |
\notin | ∉ \notin ∈/ |
\pm | ± \pm ± |
\int | ∫ \int ∫ |
\oint | ∮ \oint ∮ |
\leftarrow or \gets | ← \leftarrow ← |
\rightarrow or \to | → \rightarrow → |
\longleftarrow | ⟵ \longleftarrow ⟵ |
\longrightarrow | ⟶ \longrightarrow ⟶ |
\Leftarrow | ⇐ \Leftarrow ⇐ |
\Rightarrow | ⇒ \Rightarrow ⇒ |
\leftrightarrow | ↔ \leftrightarrow ↔ |
\Leftrightarrow | ⇔ \Leftrightarrow ⇔ |
\rightleftharpoons | ⇌ \rightleftharpoons ⇌ |
\dots | … \dots … |
\cdots | ⋯ \cdots ⋯ |
\vdots | ⋮ \vdots ⋮ |
\ddots | ⋱ \ddots ⋱ |
\exists | ∃ \exists ∃ |
\partial | ∂ \partial ∂ |
\triangle | △ \triangle △ |
一些常用数学公式格式
\begin{alignedat}{2}
10&x+ &3&y = 2 \\
3&x+&13&y = 4
\end{alignedat}
10 x + 3 y = 2 3 x + 13 y = 4 \begin{alignedat}{2} 10&x+ &3&y = 2 \\ 3&x+&13&y = 4 \end{alignedat} 103x+x+313y=2y=4
x = \begin{cases}
a &\text{if } b \\
c &\text{if } d
\end{cases}
x = { a if b c if d x = \begin{cases} a &\text{if } b \\ c &\text{if } d \end{cases} x={acif bif d
\begin{aligned}
a&=b+c \\
d+e&=f
\end{aligned}
a = b + c d + e = f \begin{aligned} a&=b+c \\ d+e&=f \end{aligned} ad+e=b+c=f
\lim_{x \rightarrow 0}\frac{\sin x}{x}=1\`
lim x → 0 sin x x = 1 \lim\limits_{x \rightarrow 0} \frac{\sin x}{x}=1 x→0limxsinx=1
\begin{matrix}
\mathbf{X} =
\left( \begin{array}{ccc}
x_{11} & x_{12} & \ldots \\
x_{21} & x_{22} & \ldots \\
\vdots & \vdots & \ddots
\end{array} \right)
\end{matrix}
X = ( x 11 x 12 … x 21 x 22 … ⋮ ⋮ ⋱ ) \begin{matrix} \mathbf{X} = \left( \begin{array}{ccc} x_{11} & x_{12} & \ldots \\ x_{21} & x_{22} & \ldots \\ \vdots & \vdots & \ddots \end{array} \right) \end{matrix} X=⎝⎜⎛x11x21⋮x12x22⋮……⋱⎠⎟⎞
\begin{eqnarray}
\sin x & = & x -\frac{x^{3}}{3!}
+\frac{x^{5}}{5!}-{}
\nonumber\\
& & {}-\frac{x^{7}}{7!}+{}\cdots
\end{eqnarray}
KaTeX parse error: No such environment: eqnarray at position 7: \begin{̲e̲q̲n̲a̲r̲r̲a̲y̲}̲ \sin x & = & x…