1. latex常用符号
本文转载自 https://kz16.top/latex/symbol/
显示latex格式的公式需要加美元号$
,例如$\beta$
显示的结果为β,如果单独一行的公式可用双美元符号,例如$$a+b=c$$
会单独成行
a+b=c
|
|
x=2a−b∓b2−4ac |
x=\frac{-b\mp\sqrt{b^2-4ac}}{2a} |
x=2a−b±b2−4ac |
x=\dfrac{-b\pm\sqrt{b^2-4ac}}{2a} |
n!=1×2×3⋯×n |
n! = 1\times2\times3\cdots\times n |
∮f(s)ds |
\oint f(s)\mathrm{d}r |
∮f(s)ds |
\displaystyle\oint f(s)\mathrm{d}s |
∫−1+∞f(x)dx |
\displaystyle\int_{-1}^{+\infty} f(x)\mathrm{d}x |
∬f(x)dx |
\displaystyle\iint f({\boldsymbol x})\mathrm{d}{\boldsymbol x} |
∥∥∑i=1p+1∥∥ |
\left\|\sum_{i=1}^{p+1}\right\| |
∥∥i=1∑p+1∥∥ |
\left\|\displaystyle\sum_{i=1}^{p+1} \right\| |
∥∥i=1∑p+1∥∥ |
\Big\Vert\displaystyle\sum_{i=1}^{p+1}\bigg\Vert |
∇⋅∇u=Δu |
\nabla\cdot\nabla u = \Delta u |
(a+ba+b+c) |
\tbinom{a+b+c}{a+b} |
(a+ba+b+c) |
\dbinom{a+b+c}{a+b} |
[a+ba+b+c] |
{a+b+c\brack a+b} |
{a+ba+b+c} |
{a+b+c\brace a+b} |
(a+ba+b+c) |
{a+b+c \choose a+b} |
(a+ba+b+c) |
\left(_{a+b}^{a+b+c}\right) |
a+b+ca+b |
{a+b \atop a+b+c} |
Ca+b+ca+b |
C_{a+b+c}^{a+b} |
minx∈Rf(x) |
\min\limits^{x\in\mathcal{R}}f(x) |
x∈Rmaxf(x) |
\max\limits_{x\in\mathcal{R}}f(x) |
dtdu=∂x∂u∂t∂x+∂y∂u∂t∂y
\dfrac{\mathrm{d}u}{\mathrm{d}t}
=
\dfrac{\partial u}{\partial x}\dfrac{\partial x}{\partial t}
+
\dfrac{\partial u}{\partial y}\dfrac{\partial y}{\partial t}
|
|
|
|
|
|
|
|
|
|
|
α |
\alpha |
|
θ |
\theta |
|
o |
o |
|
τ |
\tau |
β |
\beta |
|
ϑ |
\vartheta |
|
π |
\pi |
|
υ |
\upsilon |
γ |
\gamma |
|
ι |
\iota |
|
ϖ |
\varpi |
|
ϕ |
\phi |
δ |
\delta |
|
κ |
\kappa |
|
ρ |
\rho |
|
φ |
\varphi |
ϵ |
\epsilon |
|
λ |
\lambda |
|
ϱ |
\varrho |
|
χ |
\chi |
ε |
\varepsilon |
|
μ |
\mu |
|
σ |
\sigma |
|
ψ |
\psi |
ζ |
\zeta |
|
ν |
\nu |
|
ς |
\varsigma |
|
ω |
\omega |
η |
\eta |
|
ζ |
\zeta |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Γ |
\Gamma |
|
Λ |
\Lambda |
|
Σ |
\Sigma |
|
Ψ |
\Psi |
Δ |
\Delta |
|
Ξ |
\Xi |
|
Υ |
\Upsilon |
|
Ω |
\Omega |
Θ |
\Theta |
|
Π |
\Pi |
|
Φ |
\Phi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ℵ |
\aleph |
|
ℶ |
\beth |
|
ℸ |
\daleth |
|
ℷ |
\gimel |
|
|
|
|
|
|
|
|
xyzabc |
\dfrac{abc}{xyz} |
|
xyzabc |
\frac{abc}{xyz} |
|
abc |
\overline{abc} |
abc |
\sqrt{abc} |
|
nabc |
\sqrt[n]{abc} |
|
abc |
\underline{abc} |
abc |
\widehat{abc} |
|
abc |
\widetilde{abc} |
|
abc |
\overrightarrow{abc} |
abc |
\overleftarrow{abc} |
|
abc |
\overbrace{abc} |
|
abc |
\underbrace{abc} |
ab⌢ |
\overset{\frown}{ab} |
|
AB |
\overparen{ab} |
|
|
|
注:头顶的弧盖\overparen{ab}
用于LATEX, \overgroup{AB}
AB用于KATEX
|
|
|
|
|
|
|
|
|
|
|
∣ |
\vert |
|
⟨ |
\langle |
|
⌊ |
\lfoolr |
|
⌈ |
\lceil |
∥ |
\Vert |
|
⟩ |
\rangle |
|
⌋ |
\rfloor |
|
⌉ |
\rceil |
⇑ |
\Uparrow |
|
↑ |
\uparrow |
|
⇓ |
\Downarrow |
|
↓ |
\downarrow |
└ |
\llcorner |
|
┘ |
\lrcorner |
|
┌ |
\ulcorner |
|
┐ |
\urcorner |
/ |
/ |
|
\ |
\backslash |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
∑ |
\sum |
|
∏ |
\prod |
|
∐ |
\coprod |
∫ |
\int |
|
∮ |
\ont |
|
∬ |
\iint |
⨄ |
\biguplus |
|
⋂ |
\bigcap |
|
⋃ |
\bigcup |
⨁ |
\bigoplus |
|
⨂ |
\bigotimes |
|
⨀ |
\bigodot |
⋁ |
\bigvee |
|
⋀ |
\bigwedge |
|
⨆ |
\bigsqcup |
只需要在常用数学函数前加上斜杠\
即可
$\sin, \cos, \tan, \exp, \min, \max, \log, \ln, \lim, \cdots$
sin,cos,tan,exp,min,max,log,ln,lim,⋯
|
|
|
|
|
|
|
|
|
|
|
+ |
+ |
|
− |
- |
|
× |
\times |
|
÷ |
\div |
∗ |
\ast |
|
⋆ |
\star |
|
⋅ |
\cdot |
|
∘ |
\circ |
± |
\pm |
|
∓ |
\mp |
|
⊕ |
\oplus |
|
⊗ |
\otimes |
⋇ |
\divideontimes |
|
⋅ |
\centerdot |
|
⊙ |
\odot |
|
⊚ |
\circledcirc |
∩ |
\cap |
|
∪ |
\cup |
|
∨ |
\vee |
|
∧ |
\wedge |
⊥ |
\bot |
|
⊥ |
\perp |
|
∖ |
\setminus |
|
\ |
\backslash |
□ |
\Box |
|
□ |
\square |
|
≀ |
\wr |
|
⊞ |
\boxplus |
△ |
\triangle |
|
▽ |
\bigtriangledown |
|
Δ |
\Delta |
|
∇ |
\nabla |
|
|
|
|
|
|
|
|
|
|
|
≡ |
\equiv |
|
= |
\neq |
|
∼ |
\sim |
|
≈ |
\approx |
≜ |
\triangleq |
|
∝ |
\varpropto |
|
≪ |
\ll |
|
⋘ |
\lll |
≤ |
\leq |
|
≥ |
\geq |
|
⩽ |
\leqslant |
|
⩾ |
\geqslant |
∈ |
\in |
|
∈/ |
\notin |
|
≺ |
\prec |
|
≻ |
\succ |
⊂ |
\subset |
|
⊆ |
\subseteq |
|
⊃ |
\supset |
|
⊇ |
\supseteq |
⫆ |
\supseteqq |
|
⫅ |
\subseteqq |
|
⊈ |
\nsubseteq |
|
|
\nsubseteqq |
⊊ |
\subsetneq |
|
⫋ |
\subsetneqq |
|
⊋ |
\supsetneq |
|
⫌ |
\supsetneqq |
∁ |
\complement |
|
≅ |
\cong |
|
≌ |
\text{≌} |
|
∽ |
\text{∽} |
相似全等符号≅∼≌∽可以直接输入,建议用\text{≅∼≌∽}
也可以组合 ∼= ,\begin{matrix} \sim\\[-0.8em]= \end{matrix}
|
|
|
|
|
|
|
|
|
|
|
∵ |
\because |
|
∴ |
\therefore |
|
// |
// |
|
⊥ |
\perp |
△ |
\triangle |
|
□ |
\square |
|
▱ |
\text{▱} |
|
=// |
{}_{=}^{//} |
∞ |
\infty |
|
∠ |
\angle |
|
∡ |
\measuredangle |
|
∢ |
\sphericalangle |
∀ |
\foall |
|
∃ |
\exist |
|
∅ |
\varnothing |
|
∅ |
\emptyset |
∂ |
\partial |
|
′ |
\prime |
|
ℏ |
\hbar |
|
√ |
\surd |
⋯ |
\cdots |
|
⋮ |
\vdots |
|
… |
\ldots |
|
⋱ |
\ddots |
ℑ |
\Im |
|
ℜ |
\Re |
|
◊ |
\lozenge |
|
℧ |
\mho |
♠ |
\spadesuit |
|
♡ |
\heartsuit |
|
♣ |
\clubsuit |
|
♢ |
\diamondsuit |
c◯ |
\copyright |
|
Ⓢ |
\circledS |
|
® |
\circledR |
|
£ |
\pounds |
$ |
\$ |
|
% |
\% |
|
# |
\# |
|
~ |
\~{} |
|
\imath |
|
|
\jmath |
|
ℓ |
\ell |
|
|
|
注1:平行四边形符号▱
并不是内置的latex符号而是特殊字符
注2://与=//是组合生成,并非内置
|
|
|
|
|
|
→ |
\rightarrow |
⟶ |
\longrightarrow |
⇒ |
\Rightarrow |
⟹ |
\Longrightarrow |
← |
\leftarrow |
⟵ |
\longleftarrow |
⇐ |
\Leftarrow |
⟸ |
\Longleftarrow |
↗ |
\nearrow |
↘ |
\searrow |
↙ |
\swarrow |
↖ |
\nwarrow |
↦ |
\mapsto |
⟼ |
\longmapsto |
⇝ |
\rightsquigarrow |
⇉ |
\rightrightarrows |
↔ |
\leftrightarrow |
⟷ |
\longleftrightarrow |
⇔ |
\Leftrightarrow |
⟺ |
\Longleftrightarrow |
⇌ |
\rightleftharpoons |
⇆ |
\leftrightarrows |
⇋ |
\leftrightharpoons |
⇄ |
\rightleftarrows |
↺ |
\circlearrowleft |
↻ |
\circlearrowright |
⇍ |
\nLeftarrow |
⇏ |
\nRightarrow |
⇎ |
\nLeftrightarrow |
↭ |
\leftrightsquigarrow |
⇢ |
\dashrightarrow |
⇠ |
\dashleftarrow |
|
|
|
|
|
|
|
|
|
|
|
|
|
aˉ |
\bar{a} |
|
aˊ |
\acute{a} |
|
aˇ |
\check{a} |
|
aˋ |
\grave{a} |
a˙ |
\dot{a} |
|
a^ |
\hat{a} |
|
a˘ |
\breve{a} |
|
a |
\vec{a} |
a¨ |
\ddot{a} |
|
a~ |
\tilde{a} |
|
|
|
|
|
|
\mathcal{A}
ABCDEFGHIJKLMNOPQRSTUVWXYZ
\mathbb{A}
ABCDEFGHIJKLMNOPQRSTUVWXYZ
\mathfrak{A}
ABCDEFGHIJKLMNOPQRSTUVWXYZ
\mathsf{A}
ABCDEFGHIJKLMNOPQRSTUVWXYZ
\mathscr{A}
ABCDEFGHIJKLMNOPQRSTUVWXYZ
\mathrm{A}
ABCDEFGHIJKLMNOPQRSTUVWXYZ
\mathit{A}
ABCDEFGHIJKLMNOPQRSTUVWXYZ
\mathnormal{A}
ABCDEFGHIJKLMNOPQRSTUVWXYZ
\mathbf{A}
ABCDEFGHIJKLMNOPQRSTUVWXYZ
\textbf{A}
文本样式粗体
ABCDEFGHIJKLMNOPQRSTUVWXYZ
\text{A}
文本样式
ABCDEFGHIJKLMNOPQRSTUVWXYZ
\bm{A}
ABCDEFGHIJKLMNOPQRSTUVWXYZ
\boldsymbol{A}
ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
|
123456789 |
{\color{red}123} {\color{blue}456} {\color{green}789} |
abc |
\tiny{abc} |
abc |
\scriptsize{abc} |
abc |
\footnotesize{abc} |
abc |
\small{abc} |
abc |
\normalsize{abc} |
abc |
\large{abc} |
abc |
\Large{abc} |
abc |
\LARGE{abc} |
abc |
\huge{abc} |
abc |
\Huge{abc} |
[(([( |
\left[ \Bigg( \bigg( \Big[ \big( \right. |
[{}}] |
\left[ \bigg\{ \Big\}\big\} \right] |
注:\left
与\right
成对出现,缺省可用.
补充,它会自动设置大小
多行公式常用的两环境有cases
与aligned
{x+y=1x−y=1,∫−∞+∞f(x)dxk=0∑nk
\begin{cases}
x+y=1\\
x-y=1
\end{cases},
\qquad % %后面是接注释,\qquaa表示空格
\begin{aligned}
&\int_{-\infty}^{+\infty}f(x)\mathrm{d}x\\[.5em]
&\sum_{k=0}^n k
\end{aligned}
% &字符号表示对齐,\\另起一行, \\[.5em]里面的.5表示行高
矩阵格式
⎝⎛147258369⎠⎞,∣∣acbd∣∣,acebdf
\left(\begin{matrix}
1&2&3\\
4&5&6\\
7&8&9
\end{matrix}\right)
,\qquad
\left|
\begin{matrix}
a&b\\
c&d
\end{matrix}\right|
,\qquad
\begin{matrix}
a&b\\
c&d \\
e&f
\end{matrix}
间距紧凑:\!
|
|
x+y |
x+y |
x+y |
x\!+y |
x+y |
x\!\!+y |
间距拉开:\,
\;
\quad
\qquad
|
|
x+y |
x+y |
x+y |
x+\,y |
x+y |
x+\;y |
x+y |
x+\quad y |
x+y |
x+\qquad y |
本文参考https://katex.org/docs/supported.html
本文转载自 https://kz16.top/latex/symbol/。原作者kz16
制作辛苦不易。