LaTex数学符号整理

记录常用的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

一些常用数学公式格式

  1. 符号对齐
\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

  1. 大括号
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

  1. 等号对齐
\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

  1. 极限
\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 x0limxsinx=1

  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=x11x21x12x22

  1. 长方程换行
\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…

你可能感兴趣的:(笔记)