MathJax is an open source JavaScript mathematical sign rendering engine that runs in Web browsers, making it easy to display mathematical formulas in modern Web browsers, and is currently capable of parsing markup languages such as LaTex and MathML. languages such as LaTex and MathML. The MathJax project originated in 2009 and is currently hosted by the NumFOCUS Foundation and supported by the MathJax Consortium, a joint venture of the American Mathematical Society (AMS) and the Society for Industrial and Applied Mathematics (SIAM).

LaTeX is a high-quality typesetting format for generating complex tables and mathematical formulas, and is currently the de facto standard in the electronic and mathematical publishing industry. This article summarizes the LaTeX syntax often used in writing mathematical formulas, using Pandoc as the LaTex rendering engine (a command-line tool for markup language document conversion), so that you can easily refer to it when writing related scientific and technical articles.
Reserved Character
Reserved characters with special meanings in the LaTeX environment cannot be used directly, but must be realized by the specified syntax:
| No. |
Sign |
LaTeX |
No. |
Sign |
LaTeX |
| 1 |
\(\#\) |
\# |
6 |
\(\{\) |
\{ |
| 2 |
\(\%\) |
\% |
7 |
\(\}\) |
\} |
| 3 |
\(^\wedge\) |
^\wedge |
8 |
\(\sim\) |
\sim |
| 4 |
\(\&\) |
\& |
9 |
\(\backslash\) |
\backslash |
| 5 |
\(\_\) |
\_ |
|
|
|
Greek Alphabet
| No. |
Sign |
LaTeX |
Uppercase letters |
LaTeX |
Use var as prefix |
LaTeX |
pronun. |
| 1 |
\(\alpha\) |
\alpha |
|
|
|
|
/ˈælfə/ |
| 2 |
\(\beta\) |
\beta |
|
|
|
|
/ˈbeɪtə/ |
| 3 |
\(\gamma\) |
\gamma |
\(\Gamma\) |
\Gamma |
\(\varGamma\) |
\varGamma |
/ˈɡæmə/ |
| 4 |
\(\delta\) |
\delta |
\(\Delta\) |
\Delta |
\(\varDelta\) |
\varDelta |
/ˈdɛltə/ |
| 5 |
\(\epsilon\) |
\epsilon |
|
|
\(\varepsilon\) |
\varepsilon |
/ˈɛpsɪlɒn/ |
| 6 |
\(\zeta\) |
\zeta |
|
|
|
|
/ˈzeɪtə/ |
| 7 |
\(\eta\) |
\eta |
|
|
|
|
/ˈeɪtə/ |
| 8 |
\(\theta\) |
\theta |
\(\Theta\) |
\Theta |
\(\vartheta\)、\(\varTheta\) |
\vartheta、\varTheta |
/ˈθiːtə/ |
| 9 |
\(\iota\) |
\iota |
|
|
|
|
/aɪˈoʊtə/ |
| 10 |
\(\kappa\) |
\kappa |
|
|
\(\varkappa\) |
\varkappa |
/ˈkæpə/ |
| 11 |
\(\lambda\) |
\lambda |
\(\Lambda\) |
\Lambda |
\(\varLambda\) |
\varLambda |
/ˈlæmdə/ |
| 12 |
\(\mu\) |
\mu |
|
|
|
|
/mjuː/ |
| 13 |
\(\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 |
|
|
\(\varrho\) |
\varrho |
/roʊ/ |
| 18 |
\(\sigma\) |
\sigma |
\(\Sigma\) |
\Sigma |
\(\varsigma\)、\(\varSigma\) |
\varsigma、\varSigma |
/ˈsɪɡmə/ |
| 19 |
\(\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 |
|
|
|
|
/kaɪ/ |
| 23 |
\(\psi\) |
\psi |
\(\Psi\) |
\Psi |
\(\varPsi\) |
\varPsi |
/psaɪ/ |
| 24 |
\(\omega\) |
\omega |
\(\Omega\) |
\Omega |
\(\varOmega\) |
\varOmega |
/oʊˈmeɪɡə/ |
| 25 |
\(\digamma\) |
\digamma |
|
|
|
|
/daɪ’gæmə/ |
Hebrew alphabet
| No. |
Sign |
LaTeX |
English |
No. |
Sign |
LaTeX |
English |
| 1 |
\(\aleph\) |
\aleph |
aleph |
3 |
\(\gimel\) |
\gimel |
gimel |
| 2 |
\(\beth\) |
\beth |
beth |
4 |
\(\daleth\) |
\daleth |
daleth |
Binary Operator
| No. |
Sign |
LaTeX |
No. |
Sign |
LaTeX |
| 1 |
\(+\) |
+ |
20 |
\(\bullet\) |
\bullet |
| 2 |
\(-\) |
- |
21 |
\(\oplus\) |
\oplus |
| 3 |
\(\times\) |
\times |
22 |
\(\ominus\) |
\ominus |
| 4 |
\(\div\) |
\div |
23 |
\(\odot\) |
\odot |
| 5 |
\(\pm\) |
\pm |
24 |
\(\oslash\) |
\oslash |
| 6 |
\(\mp\) |
\mp |
25 |
\(\otimes\) |
\otimes |
| 7 |
\(\triangleleft\) |
\triangleleft |
26 |
\(\bigcirc\) |
\bigcirc |
| 8 |
\(\triangleright\) |
\triangleright |
27 |
\(\diamond\) |
\diamond |
| 9 |
\(\cdot\) |
\cdot |
28 |
\(\uplus\) |
\uplus |
| 10 |
\(\setminus\) |
\setminus |
29 |
\(\bigtriangleup\) |
\bigtriangleup |
| 11 |
\(\star\) |
\star |
30 |
\(\bigtriangledown\) |
\bigtriangledown |
| 12 |
\(\ast\) |
\ast |
31 |
\(\lhd\) |
\lhd |
| 13 |
\(\cup\) |
\cup |
32 |
\(\rhd\) |
\rhd |
| 14 |
\(\cap\) |
\cap |
33 |
\(\unlhd\) |
\unlhd |
| 15 |
\(\sqcup\) |
\sqcup |
34 |
\(\unrhd\) |
\unrhd |
| 16 |
\(\sqcap\) |
\sqcap |
35 |
\(\amalg\) |
\amalg |
| 17 |
\(\vee\) |
\vee |
36 |
\(\wr\) |
\wr |
| 18 |
\(\wedge\) |
\wedge |
37 |
\(\dagger\) |
\dagger |
| 19 |
\(\circ\) |
\circ |
38 |
\(\ddagger\) |
\ddagger |
Binary Relation Symbol
| No. |
Sign |
LaTeX |
No. |
Sign |
LaTeX |
| 1 |
\(=\) |
= |
49 |
\(\gneq\) |
\gneq |
| 2 |
\(\ne\) |
\ne |
50 |
\(\geqq\) |
\geqq |
| 3 |
\(\neq\) |
\neq |
51 |
\(\ngeq\) |
\ngeq |
| 4 |
\(\equiv\) |
\equiv |
52 |
\(\ngeqq\) |
\ngeqq |
| 5 |
\(\not\equiv\) |
\not\equiv |
53 |
\(\gneqq\) |
\gneqq |
| 6 |
\(\doteq\) |
\doteq |
54 |
\(\gvertneqq\) |
\gvertneqq |
| 7 |
\(\doteqdot\) |
\doteqdot |
55 |
\(\lessgtr\) |
\lessgtr |
| 8 |
\(\overset{\underset{\mathrm{def}}{}}{=}\) |
\overset{\underset{\mathrm{def}}{}}{=} |
56 |
\(\lesseqgtr\) |
\lesseqgtr |
| 9 |
\(:=\) |
:= |
57 |
\(\lesseqqgtr\) |
\lesseqqgtr |
| 10 |
\(\sim\) |
\sim |
58 |
\(\gtrless\) |
\gtrless |
| 11 |
\(\nsim\) |
\nsim |
59 |
\(\gtreqless\) |
\gtreqless |
| 12 |
\(\backsim\) |
\backsim |
60 |
\(\gtreqqless\) |
\gtreqqless |
| 13 |
\(\thicksim\) |
\thicksim |
61 |
\(\leqslant\) |
\leqslant |
| 14 |
\(\simeq\) |
\simeq |
62 |
\(\nleqslant\) |
\nleqslant |
| 15 |
\(\backsimeq\) |
\backsimeq |
63 |
\(\eqslantless\) |
\eqslantless |
| 16 |
\(\eqsim\) |
\eqsim |
64 |
\(\geqslant\) |
\geqslant |
| 17 |
\(\cong\) |
\cong |
65 |
\(\ngeqslant\) |
\ngeqslant |
| 18 |
\(\ncong\) |
\ncong |
66 |
\(\eqslantgtr\) |
\eqslantgtr |
| 19 |
\(\approx\) |
\approx |
67 |
\(\lesssim\) |
\lesssim |
| 20 |
\(\thickapprox\) |
\thickapprox |
68 |
\(\lnsim\) |
\lnsim |
| 21 |
\(\approxeq\) |
\approxeq |
69 |
\(\lessapprox\) |
\lessapprox |
| 22 |
\(\asymp\) |
\asymp |
70 |
\(\lnapprox\) |
\lnapprox |
| 23 |
\(\propto\) |
\propto |
71 |
\(\gtrsim\) |
\gtrsim |
| 24 |
\(\varpropto\) |
\varpropto |
72 |
\(\gnsim\) |
\gnsim |
| 25 |
\(<\) |
< |
73 |
\(\gtrapprox\) |
\gtrapprox |
| 26 |
\(\nless\) |
\nless |
74 |
\(\gnapprox\) |
\gnapprox |
| 27 |
\(\ll\) |
\ll |
75 |
\(\prec\) |
\prec |
| 28 |
\(\not\ll\) |
\not\ll |
76 |
\(\nprec\) |
\nprec |
| 29 |
\(\lll\) |
\lll |
77 |
\(\preceq\) |
\preceq |
| 30 |
\(\not\lll\) |
\not\lll |
78 |
\(\npreceq\) |
\npreceq |
| 31 |
\(\lessdot\) |
\lessdot |
79 |
\(\precneqq\) |
\precneqq |
| 32 |
\(>\) |
> |
80 |
\(\succ\) |
\succ |
| 33 |
\(\ngtr\) |
\ngtr |
81 |
\(\nsucc\) |
\nsucc |
| 34 |
\(\gg\) |
\gg |
82 |
\(\succeq\) |
\succeq |
| 35 |
\(\not\gg\) |
\not\gg |
83 |
\(\nsucceq\) |
\nsucceq |
| 36 |
\(\ggg\) |
\ggg |
84 |
\(\succneqq\) |
\succneqq |
| 37 |
\(\not\ggg\) |
\not\ggg |
85 |
\(\preccurlyeq\) |
\preccurlyeq |
| 38 |
\(\gtrdot\) |
\gtrdot |
86 |
\(\curlyeqprec\) |
\curlyeqprec |
| 39 |
\(\le\) |
\le |
87 |
\(\succcurlyeq\) |
\succcurlyeq |
| 40 |
\(\leq\) |
\leq |
88 |
\(\curlyeqsucc\) |
\curlyeqsucc |
| 41 |
\(\lneq\) |
\lneq |
89 |
\(\precsim\) |
\precsim |
| 42 |
\(\leqq\) |
\leqq |
90 |
\(\precnsim\) |
\precnsim |
| 43 |
\(\nleq\) |
\nleq |
91 |
\(\precapprox\) |
\precapprox |
| 44 |
\(\nleqq\) |
\nleqq |
92 |
\(\precnapprox\) |
\precnapprox |
| 45 |
\(\lneqq\) |
\lneqq |
93 |
\(\succsim\) |
\succsim |
| 46 |
\(\lvertneqq\) |
\lvertneqq |
94 |
\(\succnsim\) |
\succnsim |
| 47 |
\(\ge\) |
\ge |
95 |
\(\succapprox\) |
\succapprox |
| 48 |
\(\geq\) |
\geq |
96 |
\(\succnapprox\) |
\succnapprox |
Geometric Sign
| No. |
Sign |
LaTeX |
No. |
Sign |
LaTeX |
| 1 |
\(\parallel\) |
\parallel |
14 |
\(\lozenge\) |
\lozenge |
| 2 |
\(\nparallel\) |
\nparallel |
15 |
\(\blacklozenge\) |
\blacklozenge |
| 3 |
\(\shortparallel\) |
\shortparallel |
16 |
\(\bigstar\) |
\bigstar |
| 4 |
\(\nshortparallel\) |
\nshortparallel |
17 |
\(\bigcirc\) |
\bigcirc |
| 5 |
\(\perp\) |
\perp |
18 |
\(\triangle\) |
\triangle |
| 6 |
\(\angle\) |
\angle |
19 |
\(\bigtriangleup\) |
\bigtriangleup |
| 7 |
\(\sphericalangle\) |
\sphericalangle |
20 |
\(\bigtriangledown\) |
\bigtriangledown |
| 8 |
\(\measuredangle\) |
\measuredangle |
21 |
\(\vartriangle\) |
\vartriangle |
| 9 |
\(45^\circ\) |
45^\circ |
22 |
\(\triangledown\) |
\triangledown |
| 10 |
\(\Box\) |
\Box |
23 |
\(\blacktriangle\) |
\blacktriangle |
| 11 |
\(\blacksquare\) |
\blacksquare |
24 |
\(\blacktriangledown\) |
\blacktriangledown |
| 12 |
\(\diamond\) |
\diamond |
25 |
\(\blacktriangleleft\) |
\blacktriangleleft |
| 13 |
\(\Diamond \lozenge\) |
\Diamond \lozenge |
26 |
\(\blacktriangleright\) |
\blacktriangleright |
Logic Sign
| No. |
Sign |
LaTeX |
No. |
Sign |
LaTeX |
| 1 |
\(\forall\) |
\forall |
20 |
\(\neg\) |
\neg |
| 2 |
\(\exists\) |
\exists |
21 |
\(\not\operatorname{R}\) |
\not\operatorname{R} |
| 3 |
\(\nexists\) |
\nexists |
22 |
\(\bot\) |
\bot |
| 4 |
\(\therefore\) |
\therefore |
23 |
\(\top\) |
\top |
| 5 |
\(\because\) |
\because |
24 |
\(\vdash\) |
\vdash |
| 6 |
\(\And\) |
\And |
25 |
\(\dashv\) |
\dashv |
| 7 |
\(\lor\) |
\lor |
26 |
\(\vDash\) |
\vDash |
| 8 |
\(\vee\) |
\vee |
27 |
\(\Vdash\) |
\Vdash |
| 9 |
\(\curlyvee\) |
\curlyvee |
28 |
\(\models\) |
\models |
| 10 |
\(\bigvee\) |
\bigvee |
29 |
\(\Vvdash\) |
\Vvdash |
| 11 |
\(\land\) |
\land |
30 |
\(\nvdash\) |
\nvdash |
| 12 |
\(\wedge\) |
\wedge |
31 |
\(\nVdash\) |
\nVdash |
| 13 |
\(\curlywedge\) |
\curlywedge |
32 |
\(\nvDash\) |
\nvDash |
| 14 |
\(\bigwedge\) |
\bigwedge |
33 |
\(\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 |
|
|
|
Set Sign
| No. |
Sign |
LaTeX |
No. |
Sign |
LaTeX |
| 1 |
\(\{ \}\) |
\{ \} |
23 |
\(\sqsubset\) |
\sqsubset |
| 2 |
\(\emptyset\) |
\emptyset |
24 |
\(\supset\) |
\supset |
| 3 |
\(\varnothing\) |
\varnothing |
25 |
\(\Supset\) |
\Supset |
| 4 |
\(\in\) |
\in |
26 |
\(\sqsupset\) |
\sqsupset |
| 5 |
\(\notin\) |
\notin |
27 |
\(\subseteq\) |
\subseteq |
| 6 |
\(\ni\) |
\ni |
28 |
\(\nsubseteq\) |
\nsubseteq |
| 7 |
\(\cap\) |
\cap |
29 |
\(\subsetneq\) |
\subsetneq |
| 8 |
\(\Cap\) |
\Cap |
30 |
\(\varsubsetneq\) |
\varsubsetneq |
| 9 |
\(\sqcap\) |
\sqcap |
31 |
\(\sqsubseteq\) |
\sqsubseteq |
| 10 |
\(\bigcap\) |
\bigcap |
32 |
\(\supseteq\) |
\supseteq |
| 11 |
\(\cup\) |
\cup |
33 |
\(\nsupseteq\) |
\nsupseteq |
| 12 |
\(\Cup\) |
\Cup |
34 |
\(\supsetneq\) |
\supsetneq |
| 13 |
\(\sqcup\) |
\sqcup |
35 |
\(\varsupsetneq\) |
\varsupsetneq |
| 14 |
\(\bigcup\) |
\bigcup |
36 |
\(\sqsupseteq\) |
\sqsupseteq |
| 15 |
\(\bigsqcup\) |
\bigsqcup |
37 |
\(\subseteqq\) |
\subseteqq |
| 16 |
\(\uplus\) |
\uplus |
38 |
\(\nsubseteqq\) |
\nsubseteqq |
| 17 |
\(\biguplus\) |
\biguplus |
39 |
\(\subsetneqq\) |
\subsetneqq |
| 18 |
\(\setminus\) |
\setminus |
40 |
\(\varsubsetneqq\) |
\varsubsetneqq |
| 19 |
\(\smallsetminus\) |
\smallsetminus |
41 |
\(\supseteqq\) |
\supseteqq |
| 20 |
\(\times\) |
\times |
42 |
\(\nsupseteqq\) |
\nsupseteqq |
| 21 |
\(\subset\) |
\subset |
43 |
\(\supsetneqq\) |
\supsetneqq |
| 22 |
\(\Subset\) |
\Subset |
44 |
\(\varsupsetneqq\) |
\varsupsetneqq |
Arrow Sign
| No. |
Sign |
LaTeX |
No. |
Sign |
LaTeX |
| 1 |
\(\Rrightarrow\) |
\Rrightarrow |
36 |
\(\longmapsto\) |
\longmapsto |
| 2 |
\(\Lleftarrow\) |
\Lleftarrow |
37 |
\(\rightharpoonup\) |
\rightharpoonup |
| 3 |
\(\Rightarrow\) |
\Rightarrow |
38 |
\(\rightharpoondown\) |
\rightharpoondown |
| 4 |
\(\nRightarrow\) |
\nRightarrow |
39 |
\(\leftharpoonup\) |
\leftharpoonup |
| 5 |
\(\Longrightarrow\) |
\Longrightarrow |
40 |
\(\leftharpoondown\) |
\leftharpoondown |
| 6 |
\(\implies\) |
\implies |
41 |
\(\upharpoonleft\) |
\upharpoonleft |
| 7 |
\(\Leftarrow\) |
\Leftarrow |
42 |
\(\upharpoonright\) |
\upharpoonright |
| 8 |
\(\nLeftarrow\) |
\nLeftarrow |
43 |
\(\downharpoonleft\) |
\downharpoonleft |
| 9 |
\(\Longleftarrow\) |
\Longleftarrow |
44 |
\(\downharpoonright\) |
\downharpoonright |
| 10 |
\(\Leftrightarrow\) |
\Leftrightarrow |
45 |
\(\rightleftharpoons\) |
\rightleftharpoons |
| 11 |
\(\nLeftrightarrow\) |
\nLeftrightarrow |
46 |
\(\leftrightharpoons\) |
\leftrightharpoons |
| 12 |
\(\Longleftrightarrow\) |
\Longleftrightarrow |
47 |
\(\curvearrowleft\) |
\curvearrowleft |
| 13 |
\(\iff\) |
\iff |
48 |
\(\circlearrowleft\) |
\circlearrowleft |
| 14 |
\(\Uparrow\) |
\Uparrow |
49 |
\(\Lsh\) |
\Lsh |
| 15 |
\(\Downarrow\) |
\Downarrow |
50 |
\(\upuparrows\) |
\upuparrows |
| 16 |
\(\Updownarrow\) |
\Updownarrow |
51 |
\(\rightrightarrows\) |
\rightrightarrows |
| 17 |
\(\rightarrow\) |
\rightarrow |
52 |
\(\rightleftarrows\) |
\rightleftarrows |
| 18 |
\(\to\) |
\to |
53 |
\(\rightarrowtail\) |
\rightarrowtail |
| 19 |
\(\nrightarrow\) |
\nrightarrow |
54 |
\(\looparrowright\) |
\looparrowright |
| 20 |
\(\longrightarrow\) |
\longrightarrow |
55 |
\(\curvearrowright\) |
\curvearrowright |
| 21 |
\(\leftarrow\) |
\leftarrow |
56 |
\(\circlearrowright\) |
\circlearrowright |
| 22 |
\(\gets\) |
\gets |
57 |
\(\Rsh\) |
\Rsh |
| 23 |
\(\nleftarrow\) |
\nleftarrow |
58 |
\(\downdownarrows\) |
\downdownarrows |
| 24 |
\(\longleftarrow\) |
\longleftarrow |
59 |
\(\leftleftarrows\) |
\leftleftarrows |
| 25 |
\(\leftrightarrow\) |
\leftrightarrow |
60 |
\(\leftrightarrows\) |
\leftrightarrows |
| 26 |
\(\nleftrightarrow\) |
\nleftrightarrow |
61 |
\(\leftarrowtail\) |
\leftarrowtail |
| 27 |
\(\longleftrightarrow\) |
\longleftrightarrow |
62 |
\(\looparrowleft\) |
\looparrowleft |
| 28 |
\(\uparrow\) |
\uparrow |
63 |
\(\hookrightarrow\) |
\hookrightarrow |
| 29 |
\(\downarrow\) |
\downarrow |
64 |
\(\hookleftarrow\) |
\hookleftarrow |
| 30 |
\(\updownarrow\) |
\updownarrow |
65 |
\(\multimap\) |
\multimap |
| 31 |
\(\nearrow\) |
\nearrow |
66 |
\(\leftrightsquigarrow\) |
\leftrightsquigarrow |
| 32 |
\(\swarrow\) |
\swarrow |
67 |
\(\rightsquigarrow\) |
\rightsquigarrow |
| 33 |
\(\nwarrow\) |
\nwarrow |
68 |
\(\twoheadrightarrow\) |
\twoheadrightarrow |
| 34 |
\(\searrow\) |
\searrow |
69 |
\(\twoheadleftarrow\) |
\twoheadleftarrow |
| 35 |
\(\mapsto\) |
\mapsto |
|
|
|
Special Sign
| No. |
Sign |
LaTeX |
No. |
Sign |
LaTeX |
| 1 |
\(\infty\) |
\infty |
33 |
\(\flat\) |
\flat |
| 2 |
\(\aleph\) |
\aleph |
34 |
\(\natural\) |
\natural |
| 3 |
\(\complement\) |
\complement |
35 |
\(\sharp\) |
\sharp |
| 4 |
\(\backepsilon\) |
\backepsilon |
36 |
\(\diagup\) |
\diagup |
| 5 |
\(\eth\) |
\eth |
37 |
\(\diagdown\) |
\diagdown |
| 6 |
\(\Finv\) |
\Finv |
38 |
\(\centerdot\) |
\centerdot |
| 7 |
\(\hbar\) |
\hbar |
39 |
\(\ltimes\) |
\ltimes |
| 8 |
\(\Im\) |
\Im |
40 |
\(\rtimes\) |
\rtimes |
| 9 |
\(\imath\) |
\imath |
41 |
\(\leftthreetimes\) |
\leftthreetimes |
| 10 |
\(\jmath\) |
\jmath |
42 |
\(\rightthreetimes\) |
\rightthreetimes |
| 11 |
\(\Bbbk\) |
\Bbbk |
43 |
\(\eqcirc\) |
\eqcirc |
| 12 |
\(\ell\) |
\ell |
44 |
\(\circeq\) |
\circeq |
| 13 |
\(\mho\) |
\mho |
45 |
\(\triangleq\) |
\triangleq |
| 14 |
\(\wp\) |
\wp |
46 |
\(\bumpeq\) |
\bumpeq |
| 15 |
\(\Re\) |
\Re |
47 |
\(\Bumpeq\) |
\Bumpeq |
| 16 |
\(\circledS\) |
\circledS |
48 |
\(\doteqdot\) |
\doteqdot |
| 17 |
\(\amalg\) |
\amalg |
49 |
\(\risingdotseq\) |
\risingdotseq |
| 18 |
\(\%\) |
\% |
50 |
\(\fallingdotseq\) |
\fallingdotseq |
| 19 |
\(\dagger\) |
\dagger |
51 |
\(\intercal\) |
\intercal |
| 20 |
\(\ddagger\) |
\ddagger |
52 |
\(\barwedge\) |
\barwedge |
| 21 |
\(\ldots\) |
\ldots |
53 |
\(\veebar\) |
\veebar |
| 22 |
\(\cdots\) |
\cdots |
54 |
\(\doublebarwedge\) |
\doublebarwedge |
| 23 |
\(\smile\) |
\smile |
55 |
\(\between\) |
\between |
| 24 |
\(\frown\) |
\frown |
56 |
\(\pitchfork\) |
\pitchfork |
| 25 |
\(\wr\) |
\wr |
57 |
\(\vartriangleleft\) |
\vartriangleleft |
| 26 |
\(\triangleleft\) |
\triangleleft |
58 |
\(\ntriangleleft\) |
\ntriangleleft |
| 27 |
\(\triangleright\) |
\triangleright |
59 |
\(\vartriangleright\) |
\vartriangleright |
| 28 |
\(\diamondsuit\) |
\diamondsuit |
60 |
\(\ntriangleright\) |
\ntriangleright |
| 29 |
\(\heartsuit\) |
\heartsuit |
61 |
\(\trianglelefteq\) |
\trianglelefteq |
| 30 |
\(\clubsuit\) |
\clubsuit |
62 |
\(\ntrianglelefteq\) |
\ntrianglelefteq |
| 31 |
\(\spadesuit\) |
\spadesuit |
63 |
\(\trianglerighteq\) |
\trianglerighteq |
| 32 |
\(\Game\) |
\Game |
64 |
\(\ntrianglerighteq\) |
\ntrianglerighteq |
Points
| Type |
Sign |
LaTeX |
| point |
\(\frac{2}{4}x=0.5x \, \text{or} \, {2 \over 4}x=0.5x\) |
\frac{2}{4}x=0.5x or {2 \over 4}x=0.5x |
| small point |
\(\tfrac{2}{4}x = 0.5x\) |
\tfrac{2}{4}x = 0.5x |
| big point (non-nested) |
\(\dfrac{2}{4} = 0.5 \, \, \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 |
| big point (nested) |
\(\cfrac{2}{c + \cfrac{2}{d + \cfrac{2}{4}}} = a\) |
\cfrac{2}{c + \cfrac{2}{d + \cfrac{2}{4}}} = a |
Numeric Function
| Sign |
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) |
If a special function Sign is required, then it can be customized using the \operatorname{} command:
| Sign |
LaTeX |
| \(\operatorname{mydefine}x\) |
\operatorname{mydefine}x |
Surd
| Sign |
LaTeX |
Sign |
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}}*_ |
Differentiation and Derivatives
| Sign |
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 |
Modal Operation
| Sign |
LaTeX |
| \(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 |
Limit
| Sign |
LaTeX |
| \(\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 |
Scope and Projections
| Sign |
LaTeX |
| \(\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 |
Integral
| Sign |
LaTeX |
| \(\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 |
| \(\iiiint\limits_F dx\,dy\,dz\,dt\) |
\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 |
Note: Integral Sign is invoked by \int\_{}^{} command, Double Integral Sign is invoked by \iint\_{}^{}, and so on, up to four integrals can be supported.
Curve integrals can be invoked with the \oint command, but MathJax does not support this syntax, so it can be invoked with the \unicode{} command with the Unicode extension enabled:
| Sign |
LaTeX |
Description |
| \(\unicode{8751} \unicode{x222F}_C\) |
\unicode{8751} \unicode{x222F}_C |
The Unicode code for the surface integral Sign is 8751 in decimal and x222F in hexadecimal; |
| \(\unicode{8752} \unicode{x2230}_C\) |
\unicode{8752} \unicode{x2230}_C |
The Unicode code for the 3D surface integral Sign is 8752 in decimal and x2230 in hexadecimal; |
| \(\unicode{8753} \unicode{x2231}_c \unicode{8754} \unicode{x2232}_c \unicode{8755} \unicode{x2233}_c\) |
\unicode{8753} \unicode{x2231}_c \unicode{8754} \unicode{x2232}_c \unicode{8755} \unicode{x2233}_c |
Other points Sign; |
Large-scale Operators
| Class |
Sign |
LaTeX |
Sign |
LaTeX |
| Summation |
\(\sum_{a}^{b}\) |
\sum_{a}^{b} |
\(\textstyle \sum_{a}^{b}\) |
\textstyle \sum_{a}^{b} |
| coproduct |
\(\prod_{a}^{b}\) |
\prod_{a}^{b} |
\(\textstyle \prod_{a}^{b}\) |
\textstyle \prod_{a}^{b} |
| residual product |
\(\coprod_{a}^{b}\) |
\coprod_{a}^{b} |
\(\textstyle \coprod_{a}^{b}\) |
\textstyle \coprod_{a}^{b} |
| union |
\(\bigcup_{a}^{b}\) |
\bigcup_{a}^{b} |
\(\textstyle \bigcup_{a}^{b}\) |
\textstyle \bigcup_{a}^{b} |
| intersection |
\(\bigcap_{a}^{b}\) |
\bigcap_{a}^{b} |
\(\textstyle \bigcap_{a}^{b}\) |
\textstyle \bigcap_{a}^{b} |
| disjunction |
\(\bigvee_{a}^{b}\) |
\bigvee_{a}^{b} |
\(\textstyle \bigvee_{a}^{b}\) |
\textstyle \bigvee_{a}^{b} |
| connective |
\(\bigwedge_{a}^{b}\) |
\bigwedge_{a}^{b} |
\(\textstyle \bigwedge_{a}^{b}\) |
\textstyle \bigwedge_{a}^{b} |
Superscript
| Type |
Sign |
Code |
| superscript |
\(a^2\) |
a^2 |
| |
\(a^{x+3}\) |
a^{x+3} |
| |
|
|
| suffix |
\(a_2\) |
a_2 |
| combo |
\(10^{30} a^{2+2}\) |
10^{30} a^{2+2} |
| |
\(a{i,j} b{f’}\) |
a{i,j} b{f'} |
| |
|
|
| mix of upper and lower scales |
\(x_2^3\) |
x_2^3 |
| |
\({x_2}^3\) |
{x_2}^3 |
| |
|
|
| superscript of superscript |
\(10^{10^{8}}\) |
10^{10^{8}} |
| hybrid logo |
\(\sideset{1^2}{3^4}X_a^b\) |
\sideset{1^2}{3^4}X_a^b |
| |
\({}_1^2!\Omega_3^4\) |
{}_1^2!\Omega_3^4 |
| |
|
|
| Top markups |
\(\overset{\alpha}{\omega}\) |
\overset{\alpha}{\omega} |
| |
\(\underset{\alpha}{\omega}\) |
\underset{\alpha}{\omega} |
| |
\(\overset{\alpha}{\underset{\gamma}{\omega}}\) |
\overset{\alpha}{\underset{\gamma}{\omega}} |
| |
\(\stackrel{\alpha}{\omega}\) |
\stackrel{\alpha}{\omega} |
| |
|
|
| |
|
|
| |
|
|
| derivative |
\(x’, y’’, f’, f’’\) \(x^\prime, y^{\prime\prime}\) |
x', y'', f', f'' x^\prime, y^{\prime\prime} |
| derivative point |
\(\dot{x}, \ddot{x}\) |
\dot{x}, \ddot{x} |
| Underline, upperline and Vector |
\(\hat a \ \bar b \ \vec c\) |
\hat a \ \bar b \ \vec c |
| |
\(\overrightarrow{a b} \ \overleftarrow{c d} \ \widehat{d e f}\) |
\overrightarrow{a b} \ \overleftarrow{c d} \ \widehat{d e f} |
| |
\(\overline{g h i} \ \underline{j k l}\) |
\overline{g h i} \ \underline{j k l} |
| |
|
|
| |
|
|
| arc |
\(\overset{\frown} {AB}\) |
\overset{\frown} {AB} |
| arrow |
\(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 |
| curly brackets |
\(\overbrace{ 1+2+\cdots+100 }^{5050}\) |
\overbrace{ 1+2+\cdots+100 }^{5050} |
| bottom curly brackets |
\(\underbrace{ a+b+\cdots+z }_{26}\) |
\underbrace{ a+b+\cdots+z }_{26} |
| sum calculus |
\(\sum_{k=1}^N k^2\) |
\sum_{k=1}^N k^2 |
| summation in text mode |
\(\textstyle \sum_{k=1}^N k^2\) |
\textstyle \sum_{k=1}^N k^2 |
| summation in fractions |
\(\frac{\sum_{k=1}^N k^2}{a}\) |
\frac{\sum_{k=1}^N k^2}{a} |
| summation in fractions |
\(\frac{\displaystyle \sum_{k=1}^N k^2}{a}\) |
\frac{\displaystyle \sum_{k=1}^N k^2}{a} |
| summation in fractions |
\(\frac{\sum\limits^{^N}_{k=1} k^2}{a}\) |
\frac{\sum\limits^{^N}_{k=1} k^2}{a} |
| product operation |
\(\prod_{i=1}^N x_i\) |
\prod_{i=1}^N x_i |
| product operation |
\(\textstyle \prod_{i=1}^N x_i\) |
\textstyle \prod_{i=1}^N x_i |
| subtractive operation |
\(\coprod_{i=1}^N x_i\) |
\coprod_{i=1}^N x_i |
| subtractive operation |
\(\textstyle \coprod_{i=1}^N x_i\) |
\textstyle \coprod_{i=1}^N x_i |
| limit |
\(\lim_{n \to \infty}x_n\) |
\lim_{n \to \infty}x_n |
| limit |
\(\textstyle \lim_{n \to \infty}x_n\) |
\textstyle \lim_{n \to \infty}x_n |
| limit |
\(\int\limits_{1}^{3}\frac{e^3/x}{x^2}\, dx\) |
\int\limits_{1}^{3}\frac{e^3/x}{x^2}\, dx |
| limit |
\(\int_{1}^{3}\frac{e^3/x}{x^2}\, dx\) |
\int_{1}^{3}\frac{e^3/x}{x^2}\, dx |
| limit |
\(\textstyle \int\limits_{-N}^{N} e^x dx\) |
\textstyle \int\limits_{-N}^{N} e^x dx |
| limit |
\(\textstyle \int_{-N}^{N} e^x dx\) |
\textstyle \int_{-N}^{N} e^x dx |
| double integral |
\(\iint\limits_D dx\,dy\) |
\iint\limits_D dx\,dy |
| triple integral |
\(\iiint\limits_E dx\,dy\,dz\) |
\iiint\limits_E dx\,dy\,dz |
| quadruple integral |
\(\iiiint\limits_F dx\,dy\,dz\,dt\) |
\iiiint\limits_F dx\,dy\,dz\,dt |
| path integral |
\(\int_{(x,y)\in C} x^3\, dx + 4y^2\, dy\) |
\int_{(x,y)\in C} x^3\, dx + 4y^2\, dy |
| loop integral |
\(\oint_{(x,y)\in C} x^3\, dx + 4y^2\, dy\) |
\oint_{(x,y)\in C} x^3\, dx + 4y^2\, dy |
| intersection |
\(\bigcap_{i=1}^n E_i\) |
\bigcap_{i=1}^n E_i |
| union |
\(\bigcup_{i=1}^n E_i\) |
\bigcup_{i=1}^n E_i |
Binomial Coefficient
| Type |
Sign |
LaTeX |
| binomial coefficient |
\(\binom{n}{k}\) |
\binom{n}{k} |
| small binomial coefficients |
\(\tbinom{n}{k}\) |
\tbinom{n}{k} |
| big binomial coefficients |
\(\dbinom{n}{k}\) |
\dbinom{n}{k} |
Matrix
| \[ \begin{matrix} x & y \\ z & v \end{matrix} \] |
1 2 3 4
| \begin{matrix} x & y \\ z & v \end{matrix}
|
| |
| \[ \begin{vmatrix} x & y \\ z & v \end{vmatrix} \] |
1 2 3 4
| \begin{vmatrix} x & y \\ z & v \end{vmatrix}
|
| |
| \[ \begin{Vmatrix} x & y \\ z & v \end{Vmatrix} \] |
1 2 3 4
| \begin{Vmatrix} x & y \\ z & v \end{Vmatrix}
|
| |
| \[ \begin{bmatrix} 0 & \cdots & 0 \\ \vdots & \ddots & \vdots \\ 0 & \cdots & 0 \end{bmatrix} \] |
1 2 3 4 5
| \begin{bmatrix} 0 & \cdots & 0 \\ \vdots & \ddots & \vdots \\ 0 & \cdots & 0 \end{bmatrix}
|
| |
| \[ \begin{Bmatrix} x & y \\ z & v \end{Bmatrix} \] |
1 2 3 4
| \begin{Bmatrix} x & y \\ z & v \end{Bmatrix}
|
| |
| \[ \begin{pmatrix} x & y \\ z & v \end{pmatrix} \] |
1 2 3 4
| \begin{pmatrix} x & y \\ z & v \end{pmatrix}
|
| |
| \[ \bigl( \begin{smallmatrix} a&b\\ c&d \end{smallmatrix} \bigr) \] |
1 2 3 4
| \bigl( \begin{smallmatrix} a&b\\ c&d \end{smallmatrix} \bigr)
|
Array
| Sign |
LaTeX |
|
|
|
|  |
1 2 3 4 5 6 7 8
| \begin{array}{ | c | c | c | } a & b & S \\ \hline 0 & 0 & 1 \\ 0 & 1 & 1 \\ 1 & 0 & 1 \\ 1 & 1 & 0 \end{array}
|
Equations and Systems of Equations

1 2 3 4 5
| \begin{cases} 3x + 5y + z \\ 7x - 2y + 4z \\ -6x + 3y + 2z \end{cases}
|
Definition of conditions
| Sign | LaTeX |
| —- | —– |
=\begin{cases}n/2,&\text{if}\,\,n\,\,\text{is&space;even}\\3&space;n+1,&\text{if}\,\,n\,\,\text{is&space;odd}\end{cases})
1 2 3 4 5
| f(n) = \begin{cases} n/2, & \text{if }n\text{ is even} \\ 3n+1, & \text{if }n\text{ is odd} \end{cases}
|
Multi-linear Equation
| Sign | LaTeX |
| —- | —– |
&=(a+b)^2\\&=a^2+2&space;a&space;b+b^2\end{aligned})
1 2 3 4
| \begin{align} f(x) & = (a+b)^2\\ & = a^2+2ab+b^2 \end{align}
|
&=(a-b)^2\\&=a^2-2&space;a&space;b+b^2\end{aligned})
1 2 3 4
| \begin{alignat}{2} f(x) & = (a-b)^2 \\ & = a^2-2ab+b^2 \end{alignat}
|
&=x+y+z\end{array})
1 2 3 4
| \begin{array}{lcl} z & = & a \\ f(x,y,z) & = & x + y + z \end{array}
|
&=&x+y+z\end{array})
1 2 3 4
| \begin{array}{lcr} z & = & a \\ f(x,y,z) & = & x + y + z \end{array}
|
Auto-Numbering
1 2 3 4
| \begin{eqnarray} E = mc^2 \\ e^{i\pi}+1=0 \end{eqnarray}
|
| |
|
The entire equation is unnumbered, and you can use the {equation*}, {eqnarray*} environments; |
\[ \begin{eqnarray*} E = mc^2 \\ e^{i\pi}+1=0 \end{eqnarray*} \] |
1 2 3 4
| \begin{eqnarray*} E = mc^2 \\ e^{i\pi}+1=0 \end{eqnarray*}
|
| |
|
Individual equations are not numbered, you can add the \nonumber command after the specified equation; |
\[ \begin{eqnarray} E = mc^2 \\ e^{i\pi}+1=0 \nonumber \end{eqnarray} \] |
1 2 3 4
| \begin{eqnarray} E = mc^2 \\ e^{i\pi}+1=0 \nonumber \end{eqnarray}
|
| |
|
Individual formulas appear or do not appear numbered, you can use the \tag{} or \notag command after the formula; |
\[ \begin{eqnarray} E = mc^2 \notag\\ e^{i\pi}+1=0 \tag{b} \end{eqnarray} \] |
1 2 3 4
| \begin{eqnarray} E = mc^2 \notag\\ e^{i\pi}+1=0 \tag{b} \end{eqnarray}
|
Bracket Size
| Sign |
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 |
Spaces and Line Breaks
| No. |
Sign |
LaTeX |
| double space |
\(a \qquad b\) |
a \qquad b |
| single space |
\(a \quad b\) |
a \quad b |
| character space |
\(a\ b\) |
a\ b |
| character spaces in text mode |
\(a \text{ } b\) |
a \text{ } b |
| big space |
\(a\;b\) |
a\;b |
| small space |
\(a\,b\) |
a\,b |
| tiny space |
\(ab\) |
ab |
| tiny space(Used to differentiate syntax) |
\(a b\) |
a b |
| no space(Used to distinguish multi-letter variables) |
\(\mathit{ab}\) |
\mathit{ab} |
MathJax 3.0 removes the \\ forced line break function in single line equation environment, so the forced line break command \\ can only be used in multi-line environment such as eqnarray, align, array, matrix, etc. Besides, you can use \displaylines{} in line display commands: \displaylines{} forced line break command. In addition, you can use \\displaylines{} to force line breaks in \displaylines{} line display commands:
| Sign |
LaTeX |
| \(\displaylines{y=1729x \\ y=1729-x}\) |
\displaylines{y=1729x \\ y=1729-x} |
Color
When writing LaTeX, it is supported to set Text, Sign or Background to the colors in the table below:
\(\color{Apricot}{Apricot}\) - Apricot | \(\color{Emerald}{Emerald}\) - Emerald | \(\color{OliveGreen}{OliveGreen}\) - OliveGreen | \(\color{RubineRed}{RubineRed}\) - RubineRed |
\(\color{Aquamarine}{Aquamarine}\) - Aquamarine | \(\color{ForestGreen}{ForestGreen}\) - ForestGreen | \(\color{Orange}{Orange}\) - Orange | \(\color{Salmon}{Salmon}\) - Salmon |
\(\color{Bittersweet}{Bittersweet}\) - Bittersweet | \(\color{Fuchsia}{Fuchsia}\) - Fuchsia | \(\color{OrangeRed}{OrangeRed}\) - OrangeRed | \(\color{SeaGreen}{SeaGreen}\) - SeaGreen |
\(\color{Black}{Black}\) - Black | \(\color{Goldenrod}{Goldenrod}\) - Goldenrod | \(\color{Orchid}{Orchid}\) - Orchid | \(\color{Sepia}{Sepia}\) - Sepia |
\(\color{Blue}{Blue}\) - Blue | \(\color{Gray}{Gray}\) - Gray | \(\color{Peach}{Peach}\) - Peach | \(\color{SkyBlue}{SkyBlue}\) - SkyBlue |
\(\color{BlueGreen}{BlueGreen}\) - BlueGreen | \(\color{Green}{Green}\) - Green | \(\color{Periwinkle}{Periwinkle}\) - Periwinkle | \(\color{SpringGreen}{SpringGreen}\) - SpringGreen |
\(\color{Blueviolet}{Blueviolet}\) - Blueviolet | \(\color{GreenYellow}{GreenYellow}\) - GreenYellow | \(\color{PineGreen}{PineGreen}\) - PineGreen | \(\color{Tan}{Tan}\) - Tan |
\(\color{BrickRed}{BrickRed}\) - BrickRed | \(\color{JungleGreen}{JungleGreen}\) - JungleGreen | \(\color{Plum}{Plum}\) - Plum | \(\color{TealBlue}{TealBlue}\) - TealBlue |
\(\color{Brown}{Brown}\) - Brown | \(\color{Lavender}{Lavender}\) - Lavender | \(\color{ProcessBlue}{ProcessBlue}\) - ProcessBlue | \(\color{Thistle}{Thistle}\) - Thistle |
\(\color{BurntOrange}{BurntOrange}\) - BurntOrange | \(\color{LimeGreen}{LimeGreen}\) - LimeGreen | \(\color{Purple}{Purple}\) - Purple | \(\color{Turquoise}{Turquoise}\) - Turquoise |
\(\color{CadetBlue}{CadetBlue}\) - CadetBlue | \(\color{Magenta}{Magenta}\) - Magenta | \(\color{RawSienna}{RawSienna}\) - RawSienna | \(\color{Violet}{Violet}\) - Violet |
\(\color{CarnationPink}{CarnationPink}\) - CarnationPink | \(\color{Mahogany}{Mahogany}\) - Mahogany | \(\color{Red}{Red}\) - Red | \(\color{VioletRed}{VioletRed}\) - VioletRed |
\(\color{CornFlowerBlue}{CornFlowerBlue}\) - CornFlowerBlue | \(\color{Melon}{Melon}\) - Melon | \(\color{Redviolet}{Redviolet}\) - Redviolet | \(\color{WildStrawberry}{WildStrawberry}\) - WildStrawberry |
\(\color{Cerulean}{Cerulean}\) - Cerulean | \(\color{Maroon}{Maroon}\) - Maroon | \(\color{RedOrange}{RedOrange}\) - RedOrange | \(\color{white}{white}\) - white |
\(\color{Cyan}{Cyan}\) - Cyan | \(\color{MidnightBlue}{MidnightBlue}\) - MidnightBlue | \(\color{Rhodamine}{Rhodamine}\) - Rhodamine | \(\color{Yellow}{Yellow}\) - Yellow |
\(\color{Dandelion}{Dandelion}\) - Dandelion | \(\color{Mulberry}{Mulberry}\) - Mulberry | \(\color{RoyalBlue}{RoyalBlue}\) - RoyalBlue | \(\color{YellowGreen}{YellowGreen}\) - YellowGreen |
\(\color{DarkOrchid}{DarkOrchid}\) - DarkOrchid | \(\color{NavyBlue}{NavyBlue}\) - NavyBlue | \(\color{RoyalPurple}{RoyalPurple}\) - RoyalPurple | \(\color{YellowOrange}{YellowOrange}\) - YellowOrange |
Font Color
In the formula, you can use {\color{hues}text} to call the color command, where the hues parameter is the font color and the text parameter is the formula content:
| Sign |
LaTeX |
| \({\color{Blue}x^2}+{\color{Orange}2x}-{\color{LimeGreen}1}\) |
{\color{Blue}x^2}+{\color{Orange}2x}-{\color{LimeGreen}1} |
Background Color
The background color command can be invoked in the text environment using \colorbox{hues}{text}, where the hues parameter is the background color and the text parameter is the equation content:
| Sign |
LaTeX |
| \(\colorbox{yellow}{Thistext}\) |
\colorbox{yellow}{Thistext} |
When this command is used in a math environment, you need to add $\displaystyle + formula$ to the second argument:
| Sign |
LaTeX |
| \[ \colorbox{yellow}{$\displaystyle \frac{a}{b}$} \] |
\colorbox{yellow}{$\displaystyle \frac{a}{b}$} |
Note: Using the $\displaystyle + formula $ syntax in Markdown inline LaTeX formulas $.... $ will cause conflicts when using the $\displaystyle + formula $ syntax in Markdown, so this syntax should only be used for multi-line formulas $$... $$.
RGB Color
The colors of LaTeX formulas can be customized by using the \definecolor command:
| Sign |
LaTeX |
| \(\definecolor{mygreen}{RGB}{0,200,0} {\color{mygreen}e^{i \pi} + 1 = 0 }\) |
\definecolor{mygreen}{RGB}{0,200,0} {\color{mygreen}e^{i \pi} + 1 = 0 } |
Font Style
Font Bold
| Sign |
LaTeX |
| \(\boldsymbol{ABCDEFGHIJKLMNOPQRSTUVWXYZ}\) |
\boldsymbol{ABCDEFGHIJKLMNOPQRSTUVWXYZ} |
| \(\boldsymbol{abcdefghijklmnopqrstuvwxyz}\) |
\boldsymbol{abcdefghijklmnopqrstuvwxyz} |
| \(\boldsymbol{0123456789}\) |
\boldsymbol{0123456789} |
Boldface
| Sign |
LaTeX |
| \(\mathbf{ABCDEFGHIJKLMNOPQRSTUVWXYZ}\) |
\mathbf{ABCDEFGHIJKLMNOPQRSTUVWXYZ} |
| \(\mathbf{abcdefghijklmnopqrstuvwxyz}\) |
\mathbf{abcdefghijklmnopqrstuvwxyz} |
| \(\mathbf{0123456789}\) |
\mathbf{0123456789} |
Chalkboard Newspaper
| Sign |
LaTeX |
| \(\mathbb{ABCDEFGHIJKLMNOPQRSTUVWXYZ}\) |
\mathbb{ABCDEFGHIJKLMNOPQRSTUVWXYZ} |
| \(\mathbb{abcdefghijklmnopqrstuvwxyz}\) |
\mathbb{abcdefghijklmnopqrstuvwxyz} |
| \(\mathbb{0123456789}\) |
\mathbb{0123456789} |
Italic
| Sign |
LaTeX |
| \(\mathit{ABCDEFGHIJKLMNOPQRSTUVWXYZ}\) |
\mathit{ABCDEFGHIJKLMNOPQRSTUVWXYZ} |
| \(\mathit{abcdefghijklmnopqrstuvwxyz}\) |
\mathit{abcdefghijklmnopqrstuvwxyz} |
| \(\mathit{0123456789}\) |
\mathit{0123456789} |
Times New Roman
| Sign |
LaTeX |
| \(\mathrm{ABCDEFGHIJKLMNOPQRSTUVWXYZ}\) |
\mathrm{ABCDEFGHIJKLMNOPQRSTUVWXYZ} |
| \(\mathrm{abcdefghijklmnopqrstuvwxyz}\) |
\mathrm{abcdefghijklmnopqrstuvwxyz} |
| \(\mathrm{0123456789}\) |
\mathrm{0123456789} |
Sans Serif
| Sign |
LaTeX |
| \(\mathsf{ABCDEFGHIJKLMNOPQRSTUVWXYZ}\) |
\mathsf{ABCDEFGHIJKLMNOPQRSTUVWXYZ} |
| \(\mathsf{abcdefghijklmnopqrstuvwxyz}\) |
\mathsf{abcdefghijklmnopqrstuvwxyz} |
| \(\mathsf{0123456789}\) |
\mathsf{0123456789} |
Handwriting
| Sign |
LaTeX |
| \(\mathcal{ABCDEFGHIJKLMNOPQRSTUVWXYZ}\) |
\mathcal{ABCDEFGHIJKLMNOPQRSTUVWXYZ} |
| \(\mathcal{abcdefghijklmnopqrstuvwxyz}\) |
\mathcal{abcdefghijklmnopqrstuvwxyz} |
| \(\mathcal{0123456789}\) |
\mathcal{0123456789} |
Gothic
| Sign |
LaTeX |
| \(\mathfrak{ABCDEFGHIJKLMNOPQRSTUVWXYZ}\) |
\mathfrak{ABCDEFGHIJKLMNOPQRSTUVWXYZ} |
| \(\mathfrak{abcdefghijklmnopqrstuvwxyz}\) |
\mathfrak{abcdefghijklmnopqrstuvwxyz} |
| \(\mathfrak{0123456789}\) |
\mathfrak{0123456789} |
Small Script
| Sign |
LaTeX |
| \({\scriptstyle\text{ABCDEFGHIJKLMNOPQRSTUVWXYZ}}\) |
{\scriptstyle\text{ABCDEFGHIJKLMNOPQRSTUVWXYZ}} |
| \({\scriptstyle\text{abcdefghijklmnopqrstuvwxyz}}\) |
{\scriptstyle\text{abcdefghijklmnopqrstuvwxyz}} |
| \({\scriptstyle\text{0123456789}}\) |
{\scriptstyle\text{0123456789}} |
Font Size
| Sign |
LaTeX |
| \({\tiny abc tiny}\) |
{\tiny abc tiny} |
| \({\scriptsize abc scriptsize}\) |
{\scriptsize abc scriptsize} |
| \({\small abc small}\) |
{\small abc small} |
| \({\normalsize abc normal}\) |
{\normalsize abc normal} |
| \({\large abc large}\) |
{\large abc large} |
| \({\Large abc Large}\) |
{\Large abc Large} |
| \({\LARGE abc LARGE}\) |
{\LARGE abc LARGE} |
| \({\huge abc huge}\) |
{\huge abc huge}s |
| \({\Huge abc Huge}\) |
{\Huge abc Huge} |