latex常用符号

返回主页

主页地址 https://kz16.top/

显示latex格式的公式需要加美元号$,例如$\beta$显示的结果为β\beta,如果单独一行的公式可用双美元符号,例如$$a+b=c$$会单独成行
a+b=c a+b=c

0.常用公式

x=bb24ac2ax=\frac{-b\mp\sqrt{b^2-4ac}}{2a} x=\frac{-b\mp\sqrt{b^2-4ac}}{2a}
x=b±b24ac2ax=\dfrac{-b\pm\sqrt{b^2-4ac}}{2a} x=\dfrac{-b\pm\sqrt{b^2-4ac}}{2a}
n!=1×2×3×nn! = 1\times2\times3\cdots\times n n! = 1\times2\times3\cdots\times n
f(s)ds\oint f(s)\mathrm{d}s \oint f(s)\mathrm{d}r
f(s)ds\displaystyle\oint f(s)\mathrm{d}s \displaystyle\oint f(s)\mathrm{d}s
1+f(x)dx\displaystyle\int_{-1}^{+\infty} f(x)\mathrm{d}x \displaystyle\int_{-1}^{+\infty} f(x)\mathrm{d}x
f(x)dx\displaystyle\iint f({\boldsymbol x})\mathrm{d}{\boldsymbol x} \displaystyle\iint f({\boldsymbol x})\mathrm{d}{\boldsymbol x}
i=1p+1\left\|\sum_{i=1}^{p+1} \right\| \left\|\sum_{i=1}^{p+1}\right\|
i=1p+1\left\|\displaystyle\sum_{i=1}^{p+1} \right\| \left\|\displaystyle\sum_{i=1}^{p+1} \right\|
i=1p+1\Big\Vert\displaystyle\sum_{i=1}^{p+1}\bigg\Vert \Big\Vert\displaystyle\sum_{i=1}^{p+1}\bigg\Vert
u=Δu\nabla\cdot\nabla u = \Delta u \nabla\cdot\nabla u = \Delta u
(a+ba+b+c){a+b \choose a+b+c} {a+b \choose a+b+c}
(a+b+ca+b)\left({}_{a+b+c}^{a+b}\right) \left({}_{a+b+c}^{a+b}\right)
a+ba+b+c{a+b \atop a+b+c} {a+b \atop a+b+c}
Ca+b+ca+bC_{a+b+c}^{a+b} C_{a+b+c}^{a+b}
minxRf(x)\min\limits^{x\in\mathcal{R}}f(x) \min\limits^{x\in\mathcal{R}}f(x)
maxxRf(x)\max\limits_{x\in\mathcal{R}}f(x) \max\limits_{x\in\mathcal{R}}f(x)

dudt=uxxt+uyyt\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}

\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}

1.希腊字母

α\alpha \alpha θ\theta \theta oo o τ\tau \tau
β\beta \beta ϑ\vartheta \vartheta π\pi \pi υ\upsilon \upsilon
γ\gamma \gamma ι\iota \iota ϖ\varpi \varpi ϕ\phi \phi
δ\delta \delta κ\kappa \kappa ρ\rho \rho φ\varphi \varphi
ϵ\epsilon \epsilon λ\lambda \lambda ϱ\varrho \varrho χ\chi \chi
ε\varepsilon \varepsilon μ\mu \mu σ\sigma \sigma ψ\psi \psi
ζ\zeta \zeta ν\nu \nu ς\varsigma \varsigma ω\omega \omega
η\eta \eta ζ\zeta \zeta
Γ\Gamma \Gamma Λ\Lambda \Lambda Σ\Sigma \Sigma Ψ\Psi \Psi
Δ\Delta \Delta Ξ\Xi \Xi Υ\Upsilon \Upsilon Ω\Omega \Omega
Θ\Theta \Theta Π\Pi \Pi Φ\Phi \Phi
\aleph \aleph \beth \beth \daleth \daleth \gimel \gimel

2.数学相关

abcxyz\dfrac{abc}{xyz} \dfrac{abc}{xyz} abcxyz\frac{abc}{xyz} \frac{abc}{xyz} abc\overline{abc} \overline{abc}
abc\sqrt{abc} \sqrt{abc} abcn\sqrt[n]{abc} \sqrt[n]{abc} abc\underline{abc} \underline{abc}
abc^\widehat{abc} \widehat{abc} abc~\widetilde{abc} \widetilde{abc} abc\overrightarrow{abc} \overrightarrow{abc}
abc\overleftarrow{abc} \overleftarrow{abc} abc\overbrace{abc} \overbrace{abc} abc\underbrace{abc} \underbrace{abc}
ab\overset{\frown} {ab} \overset{\frown}{ab} AB\overgroup{AB} \overparen{ab}

注:头顶的弧盖\overparen{ab}用于LaTeX\LaTeX, \overgroup{AB}AB\overgroup{AB}用于KaTeX\KaTeX

3.分割符号

\vert \vert \langle \langle \lfloor \lfoolr \lceil \lceil
\Vert \Vert \rangle \rangle \rfloor \rfloor \rceil \rceil
\Uparrow \Uparrow \uparrow \uparrow \Downarrow \Downarrow \downarrow \downarrow
\llcorner \llcorner \lrcorner \lrcorner \ulcorner \ulcorner \urcorner \urcorner
// / \\backslash \backslash

4.可变公式

\sum \sum \prod \prod \coprod \coprod
\int \int \oint \ont \iint \iint
\biguplus \biguplus \bigcap \bigcap \bigcup \bigcup
\bigoplus \bigoplus \bigotimes \bigotimes \bigodot \bigodot
\bigvee \bigvee \bigwedge \bigwedge \bigsqcup \bigsqcup

5.数学函数

只需要在常用数学函数前加上斜杠\即可
$\sin, \cos, \tan, \exp, \min, \max, \log, \ln, \lim, \cdots$
sin,cos,tan,exp,min,max,log,ln,lim,\sin, \cos, \tan, \exp, \min, \max, \log, \ln, \lim, \cdots

6.运算符号

++ + - - ×\times \times ÷\div \div
\ast \ast \star \star \cdot \cdot \circ \circ
±\pm \pm \mp \mp \oplus \oplus \otimes \otimes
\divideontimes \divideontimes \centerdot \centerdot \odot \odot \circledcirc \circledcirc
\cap \cap \cup \cup \vee \vee \wedge \wedge
\bot \bot \perp \perp \setminus \setminus \\backslash \backslash
\Box \Box \square \square \wr \wr \boxplus \boxplus
\triangle \triangle \bigtriangledown \bigtriangledown Δ\Delta \Delta \nabla \nabla
\equiv \equiv \neq \neq \sim \sim \approx \approx
\triangleq \triangleq \varpropto \varpropto \ll \ll \lll \lll
\leq \leq \geq \geq \leqslant \leqslant \geqslant \geqslant
\in \in \notin \notin \prec \prec \succ \succ
\subset \subset \subseteq \subseteq \supset \supset \supseteq \supseteq
\supseteqq \supseteqq \subseteqq \subseteqq \nsubseteq \nsubseteq \nsubseteqq \nsubseteqq
\subsetneq \subsetneq \subsetneqq \subsetneqq \supsetneq \supsetneq \supsetneqq \supsetneqq
\complement \complement \cong \cong \text{≌} \text{∽}

相似全等符号≅∼≌∽\text{≅∼≌∽}可以直接输入,建议用\text{≅∼≌∽}

也可以组合 =\begin{matrix} \sim\\[-0.8em]= \end{matrix}\begin{matrix} \sim\\[-0.8em]= \end{matrix}

7.其它符号

\because \because \therefore \therefore //// // \perp \perp
\triangle \triangle \square \square \text{▱} \text{▱} =//{}_{=}^{//} {}_{=}^{//}
\infty \infty \angle \angle \measuredangle \measuredangle \sphericalangle \sphericalangle
\forall \foall \exist \exist \varnothing \varnothing \emptyset \emptyset
\partial \partial \prime \prime \hbar \hbar \surd \surd
\cdots \cdots \vdots \vdots \ldots \ldots \ddots \ddots
\Im \Im \Re \Re \lozenge \lozenge \mho \mho
\spadesuit \spadesuit \heartsuit \heartsuit \clubsuit \clubsuit \diamondsuit \diamondsuit
©\copyright \copyright \circledS \circledS ®\circledR \circledR £\pounds \pounds
$ \$ %\% \% #\# \# ~ \~{}
ı\imath \imath ȷ\jmath \jmath \ell \ell

注1:平行四边形符号并不是内置的latex符号而是特殊字符
注2:////=//{}_{=}^{//}是组合生成,并非内置

8.箭头合集

\rightarrow \rightarrow \longrightarrow \longrightarrow \Rightarrow \Rightarrow
\Longrightarrow \Longrightarrow \leftarrow \leftarrow \longleftarrow \longleftarrow
\Leftarrow \Leftarrow \Longleftarrow \Longleftarrow \nearrow \nearrow
\searrow \searrow \swarrow \swarrow \nwarrow \nwarrow
\mapsto \mapsto \longmapsto \longmapsto \rightsquigarrow \rightsquigarrow
\rightrightarrows \rightrightarrows \leftrightarrow \leftrightarrow \longleftrightarrow \longleftrightarrow
\Leftrightarrow \Leftrightarrow \Longleftrightarrow \Longleftrightarrow \rightleftharpoons \rightleftharpoons
\leftrightarrows \leftrightarrows \leftrightharpoons \leftrightharpoons \rightleftarrows \rightleftarrows
\circlearrowleft \circlearrowleft \circlearrowright \circlearrowright \nLeftarrow \nLeftarrow
\nRightarrow \nRightarrow \nLeftrightarrow \nLeftrightarrow \leftrightsquigarrow \leftrightsquigarrow
\dashrightarrow \dashrightarrow \dashleftarrow \dashleftarrow

9.帽子标记

aˉ\bar{a} \bar{a} aˊ\acute{a} \acute{a} aˇ\check{a} \check{a} aˋ\grave{a} \grave{a}
a˙\dot{a} \dot{a} a^\hat{a} \hat{a} a˘\breve{a} \breve{a} a\vec{a} \vec{a}
a¨\ddot{a} \ddot{a} a~\tilde{a} \tilde{a}

10.数学样式

\mathcal{A}
ABCDEFGHIJKLMNOPQRSTUVWXYZ\mathcal{ABCDEFGHIJKLMNOPQRSTUVWXYZ}

\mathbb{A}
ABCDEFGHIJKLMNOPQRSTUVWXYZ\mathbb{ABCDEFGHIJKLMNOPQRSTUVWXYZ}

\mathfrak{A}
ABCDEFGHIJKLMNOPQRSTUVWXYZ\mathfrak{ABCDEFGHIJKLMNOPQRSTUVWXYZ}

\mathsf{A}
ABCDEFGHIJKLMNOPQRSTUVWXYZ\mathsf{ABCDEFGHIJKLMNOPQRSTUVWXYZ}

\mathscr{A}
ABCDEFGHIJKLMNOPQRSTUVWXYZ\mathscr{ABCDEFGHIJKLMNOPQRSTUVWXYZ}

\mathrm{A}
ABCDEFGHIJKLMNOPQRSTUVWXYZ\mathrm{ABCDEFGHIJKLMNOPQRSTUVWXYZ}

\mathit{A}
ABCDEFGHIJKLMNOPQRSTUVWXYZ\mathit{ABCDEFGHIJKLMNOPQRSTUVWXYZ}

\mathnormal{A}
ABCDEFGHIJKLMNOPQRSTUVWXYZ\mathnormal{ABCDEFGHIJKLMNOPQRSTUVWXYZ}

\mathbf{A}
ABCDEFGHIJKLMNOPQRSTUVWXYZ\mathbf{ABCDEFGHIJKLMNOPQRSTUVWXYZ}

\textbf{A} 文本样式粗体
ABCDEFGHIJKLMNOPQRSTUVWXYZ\textbf{ABCDEFGHIJKLMNOPQRSTUVWXYZ}

\text{A} 文本样式
ABCDEFGHIJKLMNOPQRSTUVWXYZ\text{ABCDEFGHIJKLMNOPQRSTUVWXYZ}

\bm{A}
ABCDEFGHIJKLMNOPQRSTUVWXYZ\bm{ABCDEFGHIJKLMNOPQRSTUVWXYZ}

\boldsymbol{A}
ABCDEFGHIJKLMNOPQRSTUVWXYZ\boldsymbol{ABCDEFGHIJKLMNOPQRSTUVWXYZ}

11.大小颜色

123456789{\color{red}123} {\color{blue}456} {\color{green}789} {\color{red}123} {\color{blue}456} {\color{green}789}
abc\tiny{abc} \tiny{abc}
abc\scriptsize{abc} \scriptsize{abc}
abc\footnotesize{abc} \footnotesize{abc}
abc\small{abc} \small{abc}
abc\normalsize{abc} \normalsize{abc}
abc\large{abc} \large{abc}
abc\Large{abc} \Large{abc}
abc\LARGE{abc} \LARGE{abc}
abc\huge{abc} \huge{abc}
abc\Huge{abc} \Huge{abc}
[(([(\left[ \Bigg( \bigg( \Big[ \big( \right. \left[ \Bigg( \bigg( \Big[ \big( \right.
[{}}]\left[ \bigg\{ \Big\}\big\} \right] \left[ \bigg\{ \Big\}\big\} \right]

注:\left\right成对出现,缺省可用.补充,它会自动设置大小

13.多行公式

多行公式常用的两环境有casesaligned

{x+y=1xy=1,+f(x)dxk=0nk\begin{cases} x+y=1\\ x-y=1 \end{cases}, \qquad % %后面是接注释,\qquaa表示空格 \begin{aligned} &\int_{-\infty}^{+\infty}f(x)\mathrm{d}x\\[.8em] &\sum_{k=0}^n k \end{aligned}

\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表示行高

矩阵格式

(123456789),abcd,abcdef\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}

\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}

14.间距微调

间距紧凑:\!

x+yx+y x+y
x ⁣+yx\!+y x\!+y
x ⁣ ⁣+yx\!\!+y x\!\!+y

间距拉开:\, \; \quad \qquad

x+yx+y x+y
x+yx+\,y x+\,y
x+  yx+\;y x+\;y
x+yx+\quad y x+\quad y
x+yx+\qquad y x+\qquad y

返回主页

主页地址 https://kz16.top/

欢迎非商业转载,转载请指明来源,
本文来源 https://kz16.top/latex/symbol
作者:Zhou Bingzhen

本文参考https://katex.org/docs/supported.html