A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
\mathrm{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
ABCDEFGHIJKLMNOPQRSTUVWXYZ
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
\mathrm{abcdefghijklmnopqrstuvwxyz}
abcdefghijklmnopqrstuvwxyz
0123456789
\mathrm{0123456789}
0123456789
黑体
\mathbf{abc}
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
\mathbf{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
ABCDEFGHIJKLMNOPQRSTUVWXYZ
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
\mathbf{abcdefghijklmnopqrstuvwxyz}
abcdefghijklmnopqrstuvwxyz
0123456789
\mathbf{0123456789}
0123456789
粗体
\boldsymbol{abc}
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
\boldsymbol{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
ABCDEFGHIJKLMNOPQRSTUVWXYZ
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
\boldsymbol{abcdefghijklmnopqrstuvwxyz}
abcdefghijklmnopqrstuvwxyz
0123456789
\boldsymbol{0123456789}
0123456789
黑板粗字体
\mathbb{abc}
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
\mathbb{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
ABCDEFGHIJKLMNOPQRSTUVWXYZ
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
\mathbb{abcdefghijklmnopqrstuvwxyz}
abcdefghijklmnopqrstuvwxyz
0123456789
\mathbb{0123456789}
0123456789
花体字
\mathcal{abc}
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
\mathcal{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
ABCDEFGHIJKLMNOPQRSTUVWXYZ
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
\mathcal{abcdefghijklmnopqrstuvwxyz}
abcdefghijklmnopqrstuvwxyz
0123456789
\mathcal{0123456789}
0123456789
意大利体
\mathit{abc}
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
\mathit{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
ABCDEFGHIJKLMNOPQRSTUVWXYZ
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
\mathit{abcdefghijklmnopqrstuvwxyz}
abcdefghijklmnopqrstuvwxyz
0123456789
\mathit{0123456789}
0123456789
剧本体
\mathscr{abc}
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
\mathscr{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
ABCDEFGHIJKLMNOPQRSTUVWXYZ
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
\mathscr{abcdefghijklmnopqrstuvwxyz}
abcdefghijklmnopqrstuvwxyz
0123456789
\mathscr{0123456789}
0123456789
等线体
\sf{abc}
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
\sf{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
ABCDEFGHIJKLMNOPQRSTUVWXYZ
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
\sf{abcdefghijklmnopqrstuvwxyz}
abcdefghijklmnopqrstuvwxyz
0123456789
\sf{0123456789}
0123456789
打字机字体
\tt{abc}
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
\tt{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
ABCDEFGHIJKLMNOPQRSTUVWXYZ
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
\tt{abcdefghijklmnopqrstuvwxyz}
abcdefghijklmnopqrstuvwxyz
0123456789
\tt{0123456789}
0123456789
4. 逻辑运算符号
4.1 逻辑推理
语法
效果
描述
语法
效果
描述
\because
∵
\because
∵
因为
\therefore
∴
\therefore
∴
所以
\forall
∀
\forall
∀
任意
\exisists
∃
\exists
∃
存在
\vee
∨
\vee
∨
逻辑与
\wedge
∧
\wedge
∧
逻辑或
\lnot 或者 \neg
¬
\lnot
¬
逻辑非
\bar{q} \to p
q
ˉ
→
p
\bar{q} \to p
qˉ→p
q
ˉ
\bar{q}
qˉ 指向
p
p
p
4.2 二元运算符
语法
效果
语法
效果
语法
效果
语法
效果
\pm
±
\pm
±
\mp
∓
\mp
∓
\times
×
\times
×
\div
÷
\div
÷
\cdot
⋅
\cdot
⋅
\odot
⊙
\odot
⊙
\otimes
⊗
\otimes
⊗
\oplus
⊕
\oplus
⊕
\bullet
∙
\bullet
∙
\bigodot
⨀
\bigodot
⨀
\bigotimes
⨂
\bigotimes
⨂
\bigoplus
⨁
\bigoplus
⨁
\< 或 \lt
<
\lt
<
\> 或 \gt
>
\gt
>
\leq
≤
\leq
≤
\ge
≥
\ge
≥
\ll
≪
\ll
≪
\gg
≫
\gg
≫
\leqq
≦
\leqq
≦
\geqq
≧
\geqq
≧
\lll
⋘
\lll
⋘
\ggg
⋙
\ggg
⋙
\mid
∣
\mid
∣
\nmid
∤
\nmid
∤
=
=
=
=
\neq
≠
\neq
=
\equiv
≡
\equiv
≡
\dot=
=
˙
\dot=
=˙
\sim
∼
\sim
∼
\approx
≈
\approx
≈
\simeq
≃
\simeq
≃
\cong
≅
\cong
≅
\sum
∑
\sum
∑
\prod
∏
\prod
∏
\coprod
∐
\coprod
∐
\propto
∝
\propto
∝
4.3 几何运算符
语法
效果
语法
效果
语法
效果
语法
效果
\ast
∗
\ast
∗
\star
⋆
\star
⋆
\circ
∘
\circ
∘
\bigcirc
◯
\bigcirc
◯
\diamond
⋄
\diamond
⋄
\Diamond
◊
\Diamond
◊
\ominus
⊖
\ominus
⊖
\oslash
⊘
\oslash
⊘
\triangle
△
\triangle
△
\bigtriangleup
△
\bigtriangleup
△
\bigtriangledown
▽
\bigtriangledown
▽
\amalg
⨿
\amalg
⨿
\rtiangleleft
◃
\triangleleft
◃
\triangleright
▹
\triangleright
▹
\dagger
†
\dagger
†
\ddagger
‡
\ddagger
‡
\lhd
⊲
\lhd
⊲
\rhd
⊳
\rhd
⊳
\unlhd
⊴
\unlhd
⊴
\unrhd
⊵
\unrhd
⊵
4.4 省略号
语法
效果
语法
效果
\dots 或 \ldots
…
\dots
…
\cdots
⋯
\cdots
⋯
\vdots
⋮
\vdots
⋮
\ddots
⋱
\ddots
⋱
5. 函数公式等
语法
效果
语法
效果
语法
效果
\frac{a}{b}
a
b
\frac{a}{b}
ba
\sqrt{a + b}
a
+
b
\sqrt{a + b}
a+b
\sqrt[n]{a + b}
a
+
b
n
\sqrt[n]{a + b}
na+b
\ln{a + b}
ln
a
+
b
\ln{a + b}
lna+b
\log_{a}^{b}
log
a
b
\log_{a}^{b}
logab
\lg{a + b}
lg
a
+
b
\lg{a + b}
lga+b
\lim_{n \rightarrow +\infty} n
lim
n
→
+
∞
n
\lim_{n \rightarrow +\infty} n
limn→+∞n
\rightarrow
→
\rightarrow
→
\infty
∞
\infty
∞
\sin
sin
\sin
sin
\cos
cos
\cos
cos
\tan
tan
\tan
tan
\cot
cot
\cot
cot
\sec
sec
\sec
sec
\csc
csc
\csc
csc
40^ \circ
4
0
∘
40^ \circ
40∘
\bot
⊥
\bot
⊥
\angle
∠
\angle
∠
6. 微分/积分/累加/累乘
语法
效果
语法
效果
语法
效果
语法
效果
语法
效果
\nabla
∇
\nabla
∇
\partial
∂
\partial
∂
\mathrm{d}x
d
x
\mathrm{d}x
dx
\dot{x}
x
˙
\dot{x}
x˙
\ddot{x}
x
¨
\ddot{x}
x¨
\int
∫
\int
∫
\iint
∬
\iint
∬
\iiint
∭
\iiint
∭
\oint
∮
\oint
∮
\int_0^x
∫
0
x
\int_0^x
∫0x
\sum
∑
\sum
∑
\sum_{i=0}^{n}
∑
i
=
0
n
\sum_{i=0}^{n}
∑i=0n
\prod
∏
\prod
∏
\prod_{i=0}^{n}
∏
i
=
0
n
\prod_{i=0}^{n}
∏i=0n
7. 括号
语法
效果
语法
效果
语法
效果
语法
效果
语法
效果
(x)
(
x
)
(x)
(x)
\lvert x \rvert
∣
x
∣
\lvert x \rvert
∣x∣
\lVert x \rVert
∥
x
∥
\lVert x \rVert
∥x∥
\lang x \rang
⟨
x
⟩
\lang x \rang
⟨x⟩
\{ x \}
{
x
}
\{ x \}
{x}
(x)
(
x
)
(x)
(x)
\big( x \big)
(
x
)
\big( x \big)
(x)
\Big( x \Big)
(
x
)
\Big( x \Big)
(x)
\bigg( x \bigg)
(
x
)
\bigg( x \bigg)
(x)
\Bigg( x \Bigg)
(
x
)
\Bigg( x \Bigg)
(x)
8. 集合相关符号
语法
效果
语法
效果
语法
效果
语法
效果
语法
效果
\forall
∀
\forall
∀
\exists
∃
\exists
∃
\emptyse
∅
\emptyset
∅
\varnothing
∅
\varnothing
∅
\not \subset
⊄
\not \subset
⊂
\in
∈
\in
∈
\ni
∋
\ni
∋
\not \in
∉
\not \in
∈
\notin
∉
\notin
∈/
\subset
⊂
\subset
⊂
\subseteq
⊆
\subseteq
⊆
\supset
⊃
\supset
⊃
\supseteq
⊇
\supseteq
⊇
\cap
∩
\cap
∩
\bigcap
⋂
\bigcap
⋂
\cup
∪
\cup
∪
\bigcup
⋃
\bigcup
⋃
\biguplus
⨄
\biguplus
⨄
\sqsubset
⊏
\sqsubset
⊏
\sqsubseteq
⊑
\sqsubseteq
⊑
\sqsupset
⊐
\sqsupset
⊐
\sqsupseteq
⊒
\sqsupseteq
⊒
\sqcap
⊓
\sqcap
⊓
\sqcup
⊔
\sqcup
⊔
\bigsqcup
⨆
\bigsqcup
⨆
9. 箭头符号
语法
效果
语法
效果
\leftarrow 或 \gets
←
\leftarrow
←
\rightarrow 或 \to
→
\rightarrow
→
\longleftarrow
⟵
\longleftarrow
⟵
\longrightarrow
⟶
\longrightarrow
⟶
\leftrightarrow
↔
\leftrightarrow
↔
\leftharpoonup
↼
\leftharpoonup
↼
\rightharpoonup
⇀
\rightharpoonup
⇀
\leftharpoondown
↽
\leftharpoondown
↽
\rightharpoondown
⇁
\rightharpoondown
⇁
\rightleftharpoons
⇌
\rightleftharpoons
⇌
\leadsto
⇝
\leadsto
⇝
\Leftarrow
⇐
\Leftarrow
⇐
\Rightarrow
⇒
\Rightarrow
⇒
\Longleftarrow
⟸
\Longleftarrow
⟸
\Longrightarrow
⟹
\Longrightarrow
⟹
\Leftrightarrow
⇔
\Leftrightarrow
⇔
\Longleftrightarrow 或 \iff
⟺
\Longleftrightarrow
⟺
\hookleftarrow
↩
\hookleftarrow
↩
\hookrightarrow
↪
\hookrightarrow
↪
\uparrow
↑
\uparrow
↑
\downarrow
↓
\downarrow
↓
\updownarrow
↕
\updownarrow
↕
\upharpoonleft
↿
\upharpoonleft
↿
\downharpoonleft
⇃
\downharpoonleft
⇃
\upharpoonrigh
↾
\upharpoonright
↾
\downharpoonright
⇂
\downharpoonright
⇂
\Uparrow
⇑
\Uparrow
⇑
\Downarrow
⇓
\Downarrow
⇓
\Updownarrow
⇕
\Updownarrow
⇕
\searrow
↘
\searrow
↘
\swarrow
↙
\swarrow
↙
\nearrow
↗
\nearrow
↗
\nwarrow
↖
\nwarrow
↖
\mapsto
↦
\mapsto
↦
\longmapsto
⟼
\longmapsto
⟼
10. 字体颜色
字体颜色︰{\color{色调}表达式}
背景颜色︰{\pagecolor{色调}表达式} 注:输入时颜色第一个字母必需以大写输入
eg: \${\color{Blue}x^2}+{\color{Brown}2x} -{\color{OliveGreen}1}\$
x
2
+
2
x
−
1
{\color{Blue}x^2}+{\color{Brown}2x} -{\color{OliveGreen}1}
x2+2x−1 \$x_{\color{Red}{1,2}}=\frac{-b\pm\sqrt{{\color{Red}{b^2-4ac}}}}{2a}\$
x
1
,
2
=
−
b
±
b
2
−
4
a
c
2
a
x_{\color{Red}{1,2}}=\frac{-b\pm\sqrt{{\color{Red}{b^2-4ac}}}}{2a}
x1,2=2a−b±b2−4ac
色调表(Colors supported)
\color{Red}{Red}
R
e
d
\color{Red}{Red}
Red
\color{Tan}{Tan}
T
a
n
\color{Tan}{Tan}
Tan
\color{Plum}{Plum}
P
l
u
m
\color{Plum}{Plum}
Plum
\color{Blue}{Blue}
B
l
u
e
\color{Blue}{Blue}
Blue
\color{Cyan}{Cyan}
C
y
a
n
\color{Cyan}{Cyan}
Cyan
\color{Gray}{Gray}
G
r
a
y
\color{Gray}{Gray}
Gray
\color{LimeGreen}{LimeGreen}
L
i
m
e
G
r
e
e
n
\color{LimeGreen}{LimeGreen}
LimeGreen
\color{Orange}{Orange}
O
r
a
n
g
e
\color{Orange}{Orange}
Orange
\color{OrangeRed}{OrangeRed}
O
r
a
n
g
e
R
e
d
\color{OrangeRed}{OrangeRed}
OrangeRed
\color{CornflowerBlue}{CornflowerBlue}
C
o
r
n
f
l
o
w
e
r
B
l
u
e
\color{CornflowerBlue}{CornflowerBlue}
CornflowerBlue
\color{SpringGreen}{SpringGreen}
S
p
r
i
n
g
G
r
e
e
n
\color{SpringGreen}{SpringGreen}
SpringGreen
\color{Magenta}{Magenta}
M
a
g
e
n
t
a
\color{Magenta}{Magenta}
Magenta
\color{Yellow}{Yellow}
Y
e
l
l
o
w
\color{Yellow}{Yellow}
Yellow
\color{GreenYellow}{GreenYellow}
G
r
e
e
n
Y
e
l
l
o
w
\color{GreenYellow}{GreenYellow}
GreenYellow
\color{Salmon}{Salmon}
S
a
l
m
o
n
\color{Salmon}{Salmon}
Salmon
11. 公式排版
11.1 分支公式
$$
y=
\begin{cases}
-x,\quad x \leq 0 \\
x, \quad x > 0
\end{cases}
\tag{1}
$$
\quad:空格
y
=
{
−
x
,
x
≤
0
x
,
x
>
0
(1)
y= \begin{cases} -x,\quad x\leq 0 \\ x, \quad x>0 \end{cases} \tag{1}
y={−x,x≤0x,x>0(1)
A
x
+
B
y
+
C
z
+
D
=
0
A
D
x
+
B
D
y
+
C
D
z
+
1
=
0
(1)
\begin{aligned} Ax + By + Cz + D &= 0 \\ \frac{A}{D}x + \frac{B}{D}y + \frac{C}{D}z + 1 &= 0 \end{aligned} \tag{1}
Ax+By+Cz+DDAx+DBy+DCz+1=0=0(1)
$$
\left[
\begin{matrix}
a & b & \cdots & a \\
b & b & \cdots & b \\
\vdots & \vdots & \ddots & \vdots \\
c & c & \cdots & c
\end{matrix}
\right]
\tag{5}
$$
[
a
b
⋯
a
b
b
⋯
b
⋮
⋮
⋱
⋮
c
c
⋯
c
]
(5)
\left[ \begin{matrix} a & b & \cdots & a\\ b & b & \cdots & b\\ \vdots & \vdots & \ddots & \vdots\\ c & c & \cdots & c \end{matrix} \right] \tag{5}
ab⋮cbb⋮c⋯⋯⋱⋯ab⋮c(5)