Latex公式语法

(1) 保留字符

序号符号LaTex
1\(\#\)\#
2\(\%\)\%
3\(^\wedge\)\^
4\(\&\)\&
5\(\_\)\_
6\(\{\}\)\{\}
7\(\sim\)\sim
8\(\backslash\)\backslash

(2) 希腊字母

OrdCharLaTeXUpperLaTeXVarLaTexPhonetic
1\(\alpha\)\alpha\(\Alpha\)\Alpha/ˈælfə/
2\(\beta\)\beta\(\Beta\)\Beta/ˈbeɪtə/
3\(\gamma\)\gamma\(\Gamma\)\Gamma\(\varGamma\)\varGamma/ˈɡæmə/
4\(\delta\)\delta\(\Delta\)\Delta\(\varDelta\)\varDelta/ˈdɛltə/
5\(\epsilon\)\epsilon\(\Epsilon\)\Epsilon\(\varepsilon\)\varepsilon/ˈɛpsɪlɒn/
6\(\zeta\)\zeta\(\Zeta\)\Zeta/ˈzeɪtə/
7\(\eta\)\eta\(\Eta\)\Eta/ˈeɪtə/
8\(\theta\)\theta\(\Theta\)\Theta\(\varTheta, \vartheta\)\varTheta, \vartheta/ˈθiːtə/
9\(\iota\)\iota\(\Iota\)\Iota/aɪˈoʊtə/
10\(\kappa\)\kappa\(\Kappa\)\Kappa\(\varkappa\)\varkappa/ˈkæpə/
11\(\lambda\)\lambda\(\Lambda\)\Lambda\(\varLambda\)\varLambda/ˈlæmdə/
12\(\mu\)\mu\(\Mu\)\Mu/mjuː/
13\(\nu\)\nu\(\Nu\)Nu/njuː/
14\(\xi\)\xi\(\xi\)\Xi\(\varXi\)\varXi/zaɪ, ksaɪ/
15\(o\)o\(O\)O/ˈɒmɪkrɒn/
16\(\pi\)\pi\(\Pi\)\Pi\(\varpi, \varPi\)\varpi, \varPi/paɪ/
17\(\rho\)\rho\(\Rho\)\Rho\(\varrho\)\varrho/roʊ/
18\(\sigma\)\sigma\(\Sigma\)\Sigma\(\varsigma, \varSigma\)\varsigma, \varSigma/ˈsɪɡmə/
19\(\tau\)\tau\(\Tau\)\Tau/taʊ, tɔː/
20\(\upsilon\)\upsilon\(\Upsilon\)\Upsilon\(\varUpsilon\)\varUpsilon/ˈʌpsɪlɒn/
21\(\phi\)\phi\(\Phi\)\Phi\(\varphi,\varPhi\)\varphi, \varPhi/faɪ/
22\(\chi\)\chi\(\Chi\)\Chi/kaɪ/
23\(\psi\)\psi\(\Psi\)\Psi\(\varPsi\)\varPsi/psaɪ/
24\(\omega\)\omega\(\Omega\)\Omega\(\varOmega\)\varOmega/oʊˈmeɪɡə/
25\(\digamma\)\digamma/daɪ'gæmə/

(3) 希伯来字母

序号符号LaTeX英文序号符号LaTeX英文
1\(\aleph\)\alephaleph3\(\gimel\)\gimelgimel
2\(\beth\)\bethbeth4\(\daleth\)\dalethdaleth

(4) 二元运算

序号符号LaTeX序号符号LaTeX
1\(+\)+20\(\bullet\)\bullet
2\(-\)-21\(\oplus\)\oplus
3\(\times\)\times22\(\ominus\)\ominus
4\(\div\)\div23\(\odot\)\odot
5\(\pm\)\pm24\(\oslash\)\oslash
6\(\mp\)\mp25\(\otimes\)\otimes
7\(\triangleleft\)\triangleleft26\(\bigcirc\)\bigcirc
8\(\triangleright\)\triangleright27\(\diamond\)\diamond
9\(\cdot\)\cdot28\(\uplus\)\uplus
10\(\setminus\)\setminus29\(\bigtriangleup\)\bigtriangleup
11\(\star\)\star30\(\bigtriangledown\)\bigtriangledown
12\(\ast\)\ast31\(\lhd\)\lhd
13\(\cup\)\cup32\(\rhd\)\rhd
14\(\cap\)\cap33\(\unlhd\)\unlhd
15\(\sqcup\)\sqcup34\(\unrhd\)\unrhd
16\(\sqcap\)\sqcap35\(\amalg\)\amalg
17\(\vee\)\vee36\(\wr\)\wr
18\(\wedge\)\wedge37\(\dagger\)\dagger
19\(\circ\)\circ38\(\ddagger\)\ddagger

(5) 二元关系符

序号符号LaTeX序号符号LaTeX
1\(=\)=49\(\gneq\)\gneq
2\(\ne\)\ne50\(\geqq\)\geqq
3\(\neq\)\neq51\(\ngeq\)\ngeq
4\(\equiv\)\equiv52\(\ngeqq\)\ngeqq
5\(\not\equiv\)\not\equiv53\(\gneqq\)\gneqq
6\(\doteq\)\doteq54\(\gvertneqq\)\gvertneqq
7\(\doteqdot\)\doteqdot55\(\lessgtr\)\lessgtr
8\(\overset{\underset{\mathrm{def}}{}}{=}\)\overset{\underset{\mathrm{def}}{}}{=}56\(\lesseqgtr\)\lesseqgtr
9\(:=\):=57\(\lesseqqgtr\)\lesseqqgtr
10\(\sim\)\sim58\(\gtrless\)\gtrless
11\(\nsim\)\nsim59\(\gtreqless\)\gtreqless
12\(\backsim\)\backsim60\(\gtreqqless\)\gtreqqless
13\(\thicksim\)\thicksim61\(\leqslant\)\leqslant
14\(\simeq\)\simeq62\(\nleqslant\)\nleqslant
15\(\backsimeq\)\backsimeq63\(\eqslantless\)\eqslantless
16\(\eqsim\)\eqsim64\(\geqslant\)\geqslant
17\(\cong\)\cong65\(\ngeqslant\)\ngeqslant
18\(\ncong\)\ncong66\(\eqslantgtr\)\eqslantgtr
19\(\approx\)\approx67\(\lesssim\)\lesssim
20\(\thickapprox\)\thickapprox68\(\lnsim\)\lnsim
21\(\approxeq\)\approxeq69\(\lessapprox\)\lessapprox
22\(\asymp\)\asymp70\(\lnapprox\)\lnapprox
23\(\propto\)\propto71\(\gtrsim\)\gtrsim
24\(\varpropto\)\varpropto72\(\gnsim\)\gnsim
25\(<\)<73\(\gtrapprox\)\gtrapprox
26\(\nless\)\nless74\(\gnapprox\)\gnapprox
27\(\ll\)\ll75\(\prec\)\prec
28\(\not\ll\)\not\ll76\(\nprec\)\nprec
29\(\lll\)\lll77\(\preceq\)\preceq
30\(\not\lll\)\not\lll78\(\npreceq\)\npreceq
31\(\lessdot\)\lessdot79\(\precneqq\)\precneqq
32\(>\)>80\(\succ\)\succ
33\(\ngtr\)\ngtr81\(\nsucc\)\nsucc
34\(\gg\)\gg82\(\succeq\)\succeq
35\(\not\gg\)\not\gg83\(\nsucceq\)\nsucceq
36\(\ggg\)\ggg84\(\succneqq\)\succneqq
37\(\not\ggg\)\not\ggg85\(\preccurlyeq\)\preccurlyeq
38\(\gtrdot\)\gtrdot86\(\curlyeqprec\)\curlyeqprec
39\(\le\)\le87\(\succcurlyeq\)\succcurlyeq
40\(\leq\)\leq88\(\curlyeqsucc\)\curlyeqsucc
41\(\lneq\)\lneq89\(\precsim\)\precsim
42\(\leqq\)\leqq90\(\precnsim\)\precnsim
43\(\nleq\)\nleq91\(\precapprox\)\precapprox
44\(\nleqq\)\nleqq92\(\precnapprox\)\precnapprox
45\(\lneqq\)\lneqq93\(\succsim\)\succsim
46\(\lvertneqq\)\lvertneqq94\(\succnsim\)\succnsim
47\(\ge\)\ge95\(\succapprox\)\succapprox
48\(\geq\)\geq96\(\succnapprox\)\succnapprox

(6) 几何符号

序号符号LaTeX序号符号LaTeX
1\(\parallel\)\parallel14\(\lozenge\)\lozenge
2\(\nparallel\)\nparallel15\(\blacklozenge\)\blacklozenge
3\(\shortparallel\)\shortparallel16\(\bigstar\)\bigstar
4\(\nshortparallel\)\nshortparallel17\(\bigcirc\)\bigcirc
5\(\perp\)\perp18\(\triangle\)\triangle
6\(\angle\)\angle19\(\bigtriangleup\)\bigtriangleup
7\(\sphericalangle\)\sphericalangle20\(\bigtriangledown\)\bigtriangledown
8\(\measuredangle\)\measuredangle21\(\vartriangle\)\vartriangle
9\(45^\circ\)45^\circ22\(\triangledown\)\triangledown
10\(\Box\)\Box23\(\blacktriangle\)\blacktriangle
11\(\blacksquare\)\blacksquare24\(\blacktriangledown\)\blacktriangledown
12\(\diamond\)\diamond25\(\blacktriangleleft\)\blacktriangleleft
13\(\Diamond \lozenge\)\Diamond \lozenge26\(\blacktriangleright\)\blacktriangleright

(7) 逻辑符号

序号符号LaTeX序号符号LaTeX
1\(\forall\)\forall20\(\neg\)\neg
2\(\exists\)\exists21\(\not\operatorname{R}\)\not\operatorname{R}
3\(\nexists\)\nexists22\(\bot\)\bot
4\(\therefore\)\therefore23\(\top\)\top
5\(\because\)\because24\(\vdash\)\vdash
6\(\And\)\And25\(\dashv\)\dashv
7\(\lor\)\lor26\(\vDash\)\vDash
8\(\vee\)\vee27\(\Vdash\)\Vdash
9\(\curlyvee\)\curlyvee28\(\models\)\models
10\(\bigvee\)\bigvee29\(\Vvdash\)\Vvdash
11\(\land\)\land30\(\nvdash\)\nvdash
12\(\wedge\)\wedge31\(\nVdash\)\nVdash
13\(\curlywedge\)\curlywedge32\(\nvDash\)\nvDash
14\(\bigwedge\)\bigwedge33\(\nVDash\)\nVDash
15\(\bar{q}\)\bar{q}34\(\ulcorner\)\ulcorner
16\(\bar{abc}\)\bar{abc}35\(\urcorner\)\urcorner
17\(\overline{q}\)\overline{q}36\(\llcorner\)\llcorner
18\(\overline{abc}\)\overline{abc}37\(\lrcorner\)\lrcorner
19\(\lnot\)\lnot

(8) 集合符号

序号符号LaTeX序号符号LaTeX
1\(\{ \}\)\{ \}23\(\sqsubset\)\sqsubset
2\(\emptyset\)\emptyset24\(\supset\)\supset
3\(\varnothing\)\varnothing25\(\Supset\)\Supset
4\(\in\)\in26\(\sqsupset\)\sqsupset
5\(\notin\)\notin27\(\subseteq\)\subseteq
6\(\ni\)\ni28\(\nsubseteq\)\nsubseteq
7\(\cap\)\cap29\(\subsetneq\)\subsetneq
8\(\Cap\)\Cap30\(\varsubsetneq\)\varsubsetneq
9\(\sqcap\)\sqcap31\(\sqsubseteq\)\sqsubseteq
10\(\bigcap\)\bigcap32\(\supseteq\)\supseteq
11\(\cup\)\cup33\(\nsupseteq\)\nsupseteq
12\(\Cup\)\Cup34\(\supsetneq\)\supsetneq
13\(\sqcup\)\sqcup35\(\varsupsetneq\)\varsupsetneq
14\(\bigcup\)\bigcup36\(\sqsupseteq\)\sqsupseteq
15\(\bigsqcup\)\bigsqcup37\(\subseteqq\)\subseteqq
16\(\uplus\)\uplus38\(\nsubseteqq\)\nsubseteqq
17\(\biguplus\)\biguplus39\(\subsetneqq\)\subsetneqq
18\(\setminus\)\setminus40\(\varsubsetneqq\)\varsubsetneqq
19\(\smallsetminus\)\smallsetminus41\(\supseteqq\)\supseteqq
20\(\times\)\times42\(\nsupseteqq\)\nsupseteqq
21\(\subset\)\subset43\(\supsetneqq\)\supsetneqq
22\(\Subset\)\Subset44\(\varsupsetneqq\)\varsupsetneqq

(9) 箭头符号

序号符号LaTeX序号符号LaTeX
1\(\Rrightarrow\)\Rrightarrow36\(\longmapsto\)\longmapsto
2\(\Lleftarrow\)\Lleftarrow37\(\rightharpoonup\)\rightharpoonup
3\(\Rightarrow\)\Rightarrow38\(\rightharpoondown\)\rightharpoondown
4\(\nRightarrow\)\nRightarrow39\(\leftharpoonup\)\leftharpoonup
5\(\Longrightarrow\)\Longrightarrow40\(\leftharpoondown\)\leftharpoondown
6\(\implies\)\implies41\(\upharpoonleft\)\upharpoonleft
7\(\Leftarrow\)\Leftarrow42\(\upharpoonright\)\upharpoonright
8\(\nLeftarrow\)\nLeftarrow43\(\downharpoonleft\)\downharpoonleft
9\(\Longleftarrow\)\Longleftarrow44\(\downharpoonright\)\downharpoonright
10\(\Leftrightarrow\)\Leftrightarrow45\(\rightleftharpoons\)\rightleftharpoons
11\(\nLeftrightarrow\)\nLeftrightarrow46\(\leftrightharpoons\)\leftrightharpoons
12\(\Longleftrightarrow\)\Longleftrightarrow47\(\curvearrowleft\)\curvearrowleft
13\(\iff\)\iff48\(\circlearrowleft\)\circlearrowleft
14\(\Uparrow\)\Uparrow49\(\Lsh\)\Lsh
15\(\Downarrow\)\Downarrow50\(\upuparrows\)\upuparrows
16\(\Updownarrow\)\Updownarrow51\(\rightrightarrows\)\rightrightarrows
17\(\rightarrow\)\rightarrow52\(\rightleftarrows\)\rightleftarrows
18\(\to\)\to53\(\rightarrowtail\)\rightarrowtail
19\(\nrightarrow\)\nrightarrow54\(\looparrowright\)\looparrowright
20\(\longrightarrow\)\longrightarrow55\(\curvearrowright\)\curvearrowright
21\(\leftarrow\)\leftarrow56\(\circlearrowright\)\circlearrowright
22\(\gets\)\gets57\(\Rsh\)\Rsh
23\(\nleftarrow\)\nleftarrow58\(\downdownarrows\)\downdownarrows
24\(\longleftarrow\)\longleftarrow59\(\leftleftarrows\)\leftleftarrows
25\(\leftrightarrow\)\leftrightarrow60\(\leftrightarrows\)\leftrightarrows
26\(\nleftrightarrow\)\nleftrightarrow61\(\leftarrowtail\)\leftarrowtail
27\(\longleftrightarrow\)\longleftrightarrow62\(\looparrowleft\)\looparrowleft
28\(\uparrow\)\uparrow63\(\hookrightarrow\)\hookrightarrow
29\(\downarrow\)\downarrow64\(\hookleftarrow\)\hookleftarrow
30\(\updownarrow\)\updownarrow65\(\multimap\)\multimap
31\(\nearrow\)\nearrow66\(\leftrightsquigarrow\)\leftrightsquigarrow
32\(\swarrow\)\swarrow67\(\rightsquigarrow\)\rightsquigarrow
33\(\nwarrow\)\nwarrow68\(\twoheadrightarrow\)\twoheadrightarrow
34\(\searrow\)\searrow69\(\twoheadleftarrow\)\twoheadleftarrow
35\(\mapsto\)\mapsto

(10) 特殊符号

序号符号LaTeX序号符号LaTeX
1\(\infty\)\infty33\(\flat\)\flat
2\(\aleph\)\aleph34\(\natural\)\natural
3\(\complement\)\complement35\(\sharp\)\sharp
4\(\backepsilon\)\backepsilon36\(\diagup\)\diagup
5\(\eth\)\eth37\(\diagdown\)\diagdown
6\(\Finv\)\Finv38\(\centerdot\)\centerdot
7\(\hbar\)\hbar39\(\ltimes\)\ltimes
8\(\Im\)\Im40\(\rtimes\)\rtimes
9\(\imath\)\imath41\(\leftthreetimes\)\leftthreetimes
10\(\jmath\)\jmath42\(\rightthreetimes\)\rightthreetimes
11\(\Bbbk\)\Bbbk43\(\eqcirc\)\eqcirc
12\(\ell\)\ell44\(\circeq\)\circeq
13\(\mho\)\mho45\(\triangleq\)\triangleq
14\(\wp\)\wp46\(\bumpeq\)\bumpeq
15\(\Re\)\Re47\(\Bumpeq\)\Bumpeq
16\(\circledS\)\circledS48\(\doteqdot\)\doteqdot
17\(\amalg\)\amalg49\(\risingdotseq\)\risingdotseq
18\(\%\)\%50\(\fallingdotseq\)\fallingdotseq
19\(\dagger\)\dagger51\(\intercal\)\intercal
20\(\ddagger\)\ddagger52\(\barwedge\)\barwedge
21\(\ldots\)\ldots53\(\veebar\)\veebar
22\(\cdots\)\cdots54\(\doublebarwedge\)\doublebarwedge
23\(\smile\)\smile55\(\between\)\between
24\(\frown\)\frown56\(\pitchfork\)\pitchfork
25\(\wr\)\wr57\(\vartriangleleft\)\vartriangleleft
26\(\triangleleft\)\triangleleft58\(\ntriangleleft\)\ntriangleleft
27\(\triangleright\)\triangleright59\(\vartriangleright\)\vartriangleright
28\(\diamondsuit\)\diamondsuit60\(\ntriangleright\)\ntriangleright
29\(\heartsuit\)\heartsuit61\(\trianglelefteq\)\trianglelefteq
30\(\clubsuit\)\clubsuit62\(\ntrianglelefteq\)\ntrianglelefteq
31\(\spadesuit\)\spadesuit63\(\trianglerighteq\)\trianglerighteq
32\(\Game\)\Game64\(\ntrianglerighteq\)\ntrianglerighteq

(11) 分数

类型符号LaTeX
分数\(\frac{2}{4}x=0.5x or {2 \over 4}x=0.5x\)\frac{2}{4}x=0.5x or {2 \over 4}x=0.5x
小型分数\(\tfrac{2}{4}x = 0.5x\)\tfrac{2}{4}x = 0.5x
大型分数(不嵌套)\(\dfrac{2}{4} = 0.5 \qquad \dfrac{2}{c + \dfrac{2}{d + \dfrac{2}{4}}} = a\)\dfrac{2}{4} = 0.5 \qquad \dfrac{2}{c + \dfrac{2}{d + \dfrac{2}{4}}} = a
大型分数(嵌套)\(\cfrac{2}{c + \cfrac{2}{d + \cfrac{2}{4}}} = a\)\cfrac{2}{c + \cfrac{2}{d + \cfrac{2}{4}}} = a

(12) 数值函数

符号LaTeX
\(\exp_a b = a^b, \exp b = e^b, 10^m\)\exp_a b = a^b, \exp b = e^b, 10^m
\(\ln c, \lg d = \log e, \log_{10} f\)\ln c, \lg d = \log e, \log_{10} f
\(\sin a, \cos b, \tan c, \cot d, \sec e, \csc f\)\sin a, \cos b, \tan c, \cot d, \sec e, \csc f
\(\arcsin a, \arccos b, \arctan c\)\arcsin a, \arccos b, \arctan c
\(\operatorname{arccot} d, \operatorname{arcsec} e, \operatorname{arccsc} f\)\operatorname{arccot} d, \operatorname{arcsec} e, \operatorname{arccsc} f
\(\sinh a, \cosh b, \tanh c, \coth d\)\sinh a, \cosh b, \tanh c, \coth d
\(\operatorname{sh}k, \operatorname{ch}l, \operatorname{th}m, \operatorname{coth}n\)\operatorname{sh}k, \operatorname{ch}l, \operatorname{th}m, \operatorname{coth}n
\(\operatorname{argsh}o, \operatorname{argch}p, \operatorname{argth}q\)\operatorname{argsh}o, \operatorname{argch}p, \operatorname{argth}q
\(\operatorname{sgn}r, \left\vert s \right\vert\)\operatorname{sgn}r, \left\vert s \right\vert
\(\min(x,y), \max(x,y)\)\min(x,y), \max(x,y)

如果需要使用特殊的函数符号,那么可以采用 \operatorname{} 命令进行自定义:

符号LaTeX
\(\operatorname{mydefine}x\)\operatorname{mydefine}x

(13) 根式

符号LaTeX符号LaTeX
\(\surd\)\surd\(\sqrt[n]{\pi}\)\sqrt[n]{\pi}
\(\sqrt{\pi}\)\sqrt{\pi}\(\sqrt[3]{\frac{x^3+y^3}{2}}*\)\sqrt[3]{\frac{x^3+y^3}{2}}*

(14) 微积分,导数,模,极限,范围

符号LaTeX
\(dt, \mathrm{d}t, \partial t, \nabla\psi\)dt, \mathrm{d}t, \partial t, \nabla\psi
\(dy/dx, \mathrm{d}y/\mathrm{d}x, \frac{dy}{dx}, \frac{\mathrm{d}y}{\mathrm{d}x}, \frac{\partial^2}{\partial x_1\partial x_2}y\)dy/dx, \mathrm{d}y/\mathrm{d}x, \frac{dy}{dx}, \frac{\mathrm{d}y}{\mathrm{d}x}, \frac{\partial^2}{\partial x_1\partial x_2}y
\(\prime, \backprime, f^\prime, f', f'', f^{(3)}, \dot y, \ddot y\)\prime, \backprime, f^\prime, f', f'', f^{(3)}, \dot y, \ddot y
\(s_k \equiv 0 \pmod{m}\)s_k \equiv 0 \pmod{m}
\(a \bmod b\)a \bmod b
\(\gcd(m, n), \operatorname{lcm}(m, n)\)\gcd(m, n), \operatorname{lcm}(m, n)
\(\mid, \nmid, \shortmid, \nshortmid\)\mid, \nmid, \shortmid, \nshortmid
\(\lim_{n \to \infty}x_n\)\lim_{n \to \infty}x_n
\(\textstyle \lim_{n \to \infty}x_n\)\textstyle \lim_{n \to \infty}x_n
\(\min x, \max y, \inf s, \sup t\)\min x, \max y, \inf s, \sup t
\(\lim u, \liminf v, \limsup w\)\lim u, \liminf v, \limsup w
\(\dim p, \deg q, \det m, \ker\phi\)\dim p, \deg q, \det m, \ker\phi
\(\Pr j, \hom l, \lVert z \rVert, \arg z\)\Pr j, \hom l, \lVert z \rVert, \arg z
\(\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
\(\textstyle \int\limits_{-N}^{N} e^x dx\)\textstyle \int\limits_{-N}^{N} e^x dx
\(\textstyle \int_{-N}^{N} e^x dx\)\textstyle \int_{-N}^{N} e^x dx
\(\iint\limits_D dx\,dy\)\iint\limits_D dx\,dy
\(\iiint\limits_E dx\,dy\,dz\)\iiint\limits_E dx\,dy\,dz
\(\int_{(x,y)\in C} x^3\, dx + 4y^2\, dy\)\int_{(x,y)\in C} x^3\, dx + 4y^2\, dy
\(\oint_{(x,y)\in C} x^3\, dx + 4y^2\, dy\)\oint_{(x,y)\in C} x^3\, dx + 4y^2\, dy

注意:积分符号采用 \int\_{}^{} 命令调用,双重积分符号采用 \iint\_{}^{},以此类推,最高可以支持四重积分 (我测试的是三重啊?)。

(15) 大型运算符

分类符号LaTeX符号LaTeX
求和\(\sum_{a}^{b}\)\sum_{a}^{b}\(\textstyle \sum_{a}^{b}\)\textstyle \sum_{a}^{b}
连乘积\(\prod_{a}^{b}\)\prod_{a}^{b}\(\textstyle \prod_{a}^{b}\)\textstyle \prod_{a}^{b}
余积\(\coprod_{a}^{b}\)\coprod_{a}^{b}\(\textstyle \coprod_{a}^{b}\)\textstyle \coprod_{a}^{b}
并集\(\bigcup_{a}^{b}\)\bigcup_{a}^{b}\(\textstyle \bigcup_{a}^{b}\)\textstyle \bigcup_{a}^{b}
交集\(\bigcap_{a}^{b}\)\bigcap_{a}^{b}\(\textstyle \bigcap_{a}^{b}\)\textstyle \bigcap_{a}^{b}
析取\(\bigvee_{a}^{b}\)\bigvee_{a}^{b}\(\textstyle \bigvee_{a}^{b}\)\textstyle \bigvee_{a}^{b}
合取\(\bigwedge_{a}^{b}\)\bigwedge_{a}^{b}\(\textstyle \bigwedge_{a}^{b}\)\textstyle \bigwedge_{a}^{b}

(16) 上下标

类型符号LaTeX
上标\(a^2\)
\(a^{x+3}\)
a^2
a^{x+3}
下标\(a_2\)a_2
组合\(10^{30} a^{2+2}\)
\(a_{i,j} b_{f'}\)
10^{30} a^{2+2}
a_{i,j} b_{f'}
上下标\(x_2^3\)
\({x_2}^3\)
x_2^3
{x_2}^3
上标的上标\(10^{10^{8}}\)10^{10^{8}}
混合标识\({}_1^2!\Omega_3^4\){}_1^2!\Omega_3^4
顶标底标\(\overset{\alpha}{\omega}\),\(\underset{\alpha}{\omega}\),\(\overset{\alpha}{\underset{\gamma}{\omega}}\),\(\stackrel{\alpha}{\omega}\)\overset{\alpha}{\omega},
\underset{\alpha}{\omega},
\overset{\alpha}{\underset{\gamma}{\omega}},
\stackrel{\alpha}{\omega}
导数\(x', y'', f', f'' x^\prime, y^{\prime\prime}\)x', y'', f', f'' x^\prime, y^{\prime\prime}
导数点\(\dot{x}, \ddot{x}\)\dot{x}, \ddot{x}
上下划线与向量\(\hat a \ \bar b \ \vec c\)
\(\overrightarrow{a b} \ \overleftarrow{c d} \ \widehat{d e f}\)
\(\overline{g h i} \ \underline{j k l}\)
\hat a \ \bar b \ \vec c
\overrightarrow{a b} \ \overleftarrow{c d} \ \widehat{d e f}
\overline{g h i} \ \underline{j k l}
弧度\(\overset{\frown} {AB}\)\overset{\frown} {AB}
箭头\(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 }^{5050}\)\overbrace{ 1+2+\cdots+100 }^{5050}
底部大括号\(\underbrace{ a+b+\cdots+z }_{26}\)\underbrace{ a+b+\cdots+z }_{26}
求和运算\(\sum_{k=1}^N k^2\)\sum_{k=1}^N k^2
文本模式下的求和运算\(\textstyle \sum_{k=1}^N k^2\)\textstyle \sum_{k=1}^N k^2
分式中的求和运算\(\frac{\sum_{k=1}^N k^2}{a}\)\frac{\sum_{k=1}^N k^2}{a}
分式中的求和运算\(\frac{\displaystyle \sum_{k=1}^N k^2}{a}\)\frac{\displaystyle \sum_{k=1}^N k^2}{a}
分式中的求和运算\(\frac{\sum\limits^{^N}_{k=1} k^2}{a}\)\frac{\sum\limits^{^N}_{k=1} k^2}{a}
乘积运算\(\prod_{i=1}^N x_i\)\prod_{i=1}^N x_i
乘积运算\(\textstyle \prod_{i=1}^N x_i\)\textstyle \prod_{i=1}^N x_i
副乘运算\(\coprod_{i=1}^N x_i\)\coprod_{i=1}^N x_i
副乘运算\(\textstyle \coprod_{i=1}^N x_i\)\textstyle \coprod_{i=1}^N x_i
极限\(\lim_{n \to \infty}x_n\)\lim_{n \to \infty}x_n
极限\(\textstyle \lim_{n \to \infty}x_n\)\textstyle \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
积分\(\textstyle \int\limits_{-N}^{N} e^x dx\)\textstyle \int\limits_{-N}^{N} e^x dx
积分\(\textstyle \int_{-N}^{N} e^x dx\)\textstyle \int_{-N}^{N} e^x dx
双重积分\(\iint\limits_D dx\,dy\)\iint\limits_D dx\,dy
三重积分\(\iiint\limits_E dx\,dy\,dz\)\iiint\limits_E dx\,dy\,dz
四重积分Vscode中好像不支持四重\iiiint\limits_F dx\,dy\,dz\,dt
路径积分\(\int_{(x,y)\in C} x^3\, dx + 4y^2\, dy\)\int_{(x,y)\in C} x^3\, dx + 4y^2\, dy
环路积分\(\oint_{(x,y)\in C} x^3\, dx + 4y^2\, dy\)\oint_{(x,y)\in C} x^3\, dx + 4y^2\, dy
交集\(\bigcap_{i=1}^n E_i\)\bigcap_{i=1}^n E_i
并集\(\bigcup_{i=1}^n E_i\)\bigcup_{i=1}^n E_i

(17) 二项式系数

类型符号LaTeX
二项式系数\(\binom{n}{k}\)\binom{n}{k}
小型二项式系数\(\tbinom{n}{k}\)\tbinom{n}{k}
大型二项式系数\(\dbinom{n}{k}\)\dbinom{n}{k}

(18) 矩阵

符号 LaTeX

x y z v \begin{matrix} x & y \\ z & v \end{matrix}

\begin{matrix}
x & y \\
z & v
\end{matrix}

x y z v \begin{vmatrix} x & y \\ z & v \end{vmatrix}

\begin{vmatrix}
x & y \\
z & v
\end{vmatrix}

x y z v \begin{Vmatrix} x & y \\ z & v \end{Vmatrix}

\begin{Vmatrix}
x & y \\
z & v
\end{Vmatrix}

[ 0 0 0 0 ] \begin{bmatrix} 0 & \cdots & 0 \\ \vdots & \ddots & \vdots \\ 0 & \cdots & 0 \end{bmatrix}

\begin{bmatrix}
0 & \cdots & 0 \\
\vdots & \ddots & \vdots \\
0 & \cdots & 0
\end{bmatrix}

{ x y z v } \begin{Bmatrix} x & y \\ z & v \end{Bmatrix}

\begin{Bmatrix}
x & y \\
z & v
\end{Bmatrix}

x y z v \begin{Vmatrix} x & y \\ z & v \end{Vmatrix}

\begin{Vmatrix}
x & y \\
z & v
\end{Vmatrix}

( x y z v ) \begin{pmatrix} x & y \\ z & v \end{pmatrix}

\begin{pmatrix}
x & y \\
z & v
\end{pmatrix}

( a b c d ) \bigl( \begin{smallmatrix} a&b\\ c&d \end{smallmatrix} \bigr)

\bigl( \begin{smallmatrix}
a&b\\
c&d
\end{smallmatrix} \bigr)

(19) 数组和方程组

符号 LaTeX

a b S 0 0 1 0 1 1 1 0 1 1 1 0 \begin{array}{ | c | c | c | } a & b & S \\ \hline 0 & 0 & 1 \\ 0 & 1 & 1 \\ 1 & 0 & 1 \\ 1 & 1 & 0 \end{array}

\begin{array}{ | c | c | c | }
a & b & S \\
\hline
0 & 0 & 1 \\
0 & 1 & 1 \\
1 & 0 & 1 \\
1 & 1 & 0
\end{array}

{ 3 x + 5 y + z 7 x 2 y + 4 z 6 x + 3 y + 2 z \begin{cases} 3x + 5y + z \\ 7x - 2y + 4z \\ -6x + 3y + 2z \end{cases}

\begin{cases}
3x + 5y + z \\
7x - 2y + 4z \\
-6x + 3y + 2z
\end{cases}

f ( n ) = { n / 2 , if  n  is even 3 n + 1 , if  n  is odd f(n) = \begin{cases} n/2, & \text{if }n\text{ is even} \\ 3n+1, & \text{if }n\text{ is odd} \end{cases}

f(n) =
\begin{cases}
n/2, & \text{if }n\text{ is even} \\
3n+1, & \text{if }n\text{ is odd}
\end{cases}

f ( x ) = ( a + b ) 2 = a 2 + 2 a b + b 2 \begin{align} f(x) & = (a+b)^2\\ & = a^2+2ab+b^2 \end{align}

\begin{align}
f(x) & = (a+b)^2\\
& = a^2+2ab+b^2
\end{align}

f ( x ) = ( a b ) 2 = a 2 2 a b + b 2 \begin{alignat}{2} f(x) & = (a-b)^2 \\ & = a^2-2ab+b^2 \end{alignat}

\begin{alignat}{2}
f(x) & = (a-b)^2 \\
& = a^2-2ab+b^2
\end{alignat}

z = a f ( x , y , z ) = x + y + z \begin{array}{lcl} z & = & a \\ f(x,y,z) & = & x + y + z \end{array}

\begin{array}{lcl}
z & = & a \\
f(x,y,z) & = & x + y + z
\end{array}

z = a f ( x , y , z ) = x + y + z \begin{array}{lcr} z & = & a \\ f(x,y,z) & = & x + y + z \end{array}

\begin{array}{lcr}
z & = & a \\
f(x,y,z) & = & x + y + z
\end{array}

(20) 括号

类型符号LaTeX
圆括号、小括号\(\left ( \frac{a}{b} \right )\)\left ( \frac{a}{b} \right )
方括号、中括号\(\left [ \frac{a}{b} \right ]\)
\(\left \lbrack \frac{a}{b} \right \rbrack\)
\left [ \frac{a}{b} \right ]
\left \lbrack \frac{a}{b} \right \rbrack
花括号、大括号\(\left \{ \frac{a}{b} \right \}\)
\(\left \lbrace \frac{a}{b} \right \rbrace\)
\left \{ \frac{a}{b} \right \}
\left \lbrace \frac{a}{b} \right \rbrace
角括号\(\left \langle \frac{a}{b} \right \rangle\)\left \langle \frac{a}{b} \right \rangle
单竖线和双竖线\(\left \vert \frac{a}{b} \right \vert\)
\(\left \Vert \frac{c}{d} \right \Vert\)
\left \vert \frac{a}{b} \right \vert
\left \Vert \frac{c}{d} \right \Vert
取整函数与取顶函数\(\left \lfloor \frac{a}{b} \right \rfloor\)
\(\left \lceil \frac{c}{d} \right \rceil\)
\left \lfloor \frac{a}{b} \right \rfloor
\left \lceil \frac{c}{d} \right \rceil
斜线与反斜线\(\left / \frac{a}{b} \right \backslash\)\left / \frac{a}{b} \right \backslash
上下箭头\(\left \uparrow \frac{a}{b} \right \downarrow\)
\(\left \Uparrow \frac{a}{b} \right \Downarrow\)
\(\left \updownarrow \frac{a}{b} \right \Updownarrow\)
\left \uparrow \frac{a}{b} \right \downarrow
\left \Uparrow \frac{a}{b} \right \Downarrow
\left \updownarrow \frac{a}{b} \right \Updownarrow
混合括号\(\left [ 0,1 \right )\)
\(\left \langle \psi \right \vert\)
\left [ 0,1 \right )
\left \langle \psi \right \vert
使用\left.\right.不显示某侧的括号;\(\left. \frac{A}{B} \right \} \to X\)\left. \frac{A}{B} \right \} \to X

(21) 括号尺寸

符号LaTeX
\(( \bigl( \Bigl( \biggl( \Biggl( \dots \Biggr] \biggr] \Bigr] \bigr] ]\)( \bigl( \Bigl( \biggl( \Biggl( \dots \Biggr] \biggr] \Bigr] \bigr] ]
\(\{ \bigl \{ \Bigl \{ \biggl \{ \Biggl \{ \dots \Biggr\rangle \biggr\rangle \Bigr\rangle \bigr\rangle \rangle\)\{ \bigl \{ \Bigl \{ \biggl \{ \Biggl \{ \dots \Biggr\rangle \biggr\rangle \Bigr\rangle \bigr\rangle \rangle
\(\vert \big \vert \Big \vert \bigg \vert \Bigg \vert \dots \Bigg \vert \bigg \vert \Big \vert \big \vert\)\vert \big \vert \Big \vert \bigg \vert \Bigg \vert \dots \Bigg \vert \bigg \vert \Big \vert \big \vert
\(\lfloor \bigl\lfloor \Bigl\lfloor \biggl\lfloor \Biggl\lfloor \dots \Biggr\rceil \biggr\rceil \Bigr\rceil \bigr\rceil \rceil\)\lfloor \bigl\lfloor \Bigl\lfloor \biggl\lfloor \Biggl\lfloor \dots \Biggr\rceil \biggr\rceil \Bigr\rceil \bigr\rceil \rceil
\(\uparrow \big\uparrow \Big\uparrow \bigg\uparrow \Bigg\uparrow \dots \Bigg\Downarrow \bigg\Downarrow \Big\Downarrow \big\Downarrow \Downarrow\)\uparrow \big\uparrow \Big\uparrow \bigg\uparrow \Bigg\uparrow \dots \Bigg\Downarrow \bigg\Downarrow \Big\Downarrow \big\Downarrow \Downarrow
\(\updownarrow \big\updownarrow \Big\updownarrow \bigg\updownarrow \Bigg\updownarrow \dots \Bigg\Updownarrow \bigg\Updownarrow \Big\Updownarrow \big\Updownarrow \Updownarrow\)\updownarrow \big\updownarrow \Big\updownarrow \bigg\updownarrow \Bigg\updownarrow \dots \Bigg\Updownarrow \bigg\Updownarrow \Big\Updownarrow \big\Updownarrow \Updownarrow
\(/ \big/ \Big/ \bigg/ \Bigg/ \dots \Bigg\backslash \bigg\backslash \Big\backslash \big\backslash \backslash\)/ \big/ \Big/ \bigg/ \Bigg/ \dots \Bigg\backslash \bigg\backslash \Big\backslash \big\backslash \backslash

(22) 空格换行

序号符号LaTeX
双空格\(a \qquad b\)a \qquad b
单空格\(a \quad b\)a \quad b
字符空格\(a\ b\)a\ b
文本模式中的字符空格\(a \text{ } b\)a \text{ } b
大空格\(a\;b\)a\;b
小空格\(a\,b\)a\,b
极小空格\(ab\)ab
极小空格(用于区分语法)\(a b\)a b
无空格(用于区分多字母变量)\(\mathit{ab}\)\mathit{ab}