更新于2019.06.14。
命令 | 示例 |
---|---|
\mathscr {abcdefghigklmnopqrstuvwxyz} | a b c d e f g h i g k l m n o p q r s t u v w x y z \mathscr {abcdefghigklmnopqrstuvwxyz} abcdefghigklmnopqrstuvwxyz |
\mathscr {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 |
\mathcal {abcdefghigklmnopqrstuvwxyz} | a b c d e f g h i g k l m n o p q r s t u v w x y z \mathcal {abcdefghigklmnopqrstuvwxyz} abcdefghigklmnopqrstuvwxyz |
\mathcal {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 |
\mathbb {abcdefghigklmnopqrstuvwxyz} | a b c d e f g h i g k l m n o p q r s t u v w x y z \mathbb {abcdefghigklmnopqrstuvwxyz} abcdefghigklmnopqrstuvwxyz |
\mathbb {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 |
注:如果出现mathbb报错,则需要在latex文件开头加上\usepackage{amsfonts}
。
命令 | 示例 |
---|---|
\Alpha \alpha | A \Alpha A α \alpha α |
\Beta \beta | B \Beta B β \beta β |
\Gamma \gamma | Γ \Gamma Γ γ \gamma γ |
\Delta \delta | Δ \Delta Δ δ \delta δ |
\Epsilon \epsilon \varepsilon | E \Epsilon E ϵ \epsilon ϵ ε \varepsilon ε |
\Zeta \zeta | Z \Zeta Z ζ \zeta ζ |
\Nu \nu | N \Nu N ν \nu ν |
\Xi \xi | Ξ \Xi Ξ ξ \xi ξ |
\Omicron \omicron | O \Omicron O ο \omicron ο |
\Pi \pi | Π \Pi Π π \pi π |
\Rho \rho | R \Rho R ρ \rho ρ |
\Sigma \sigma \varsigma | Σ \Sigma Σ σ \sigma σ ς \varsigma ς |
\Eta \eta | H \Eta H η \eta η |
\Theta \theta \vartheta | Θ \Theta Θ θ \theta θ ϑ \vartheta ϑ |
\Iota \iota | I \Iota I ι \iota ι |
\Kappa \kappa \varkappa | K \Kappa K κ \kappa κ ϰ \varkappa ϰ |
\Lambda \lambda | Λ \Lambda Λ λ \lambda λ |
\Mu \mu | M \Mu M μ \mu μ |
\Tau \tau | T \Tau T τ \tau τ |
\Upsilon \upsilon | Υ \Upsilon Υ υ \upsilon υ |
\Phi \phi \varphi | Φ \Phi Φ ϕ \phi ϕ φ \varphi φ |
\Chi \chi | X \Chi X χ \chi χ |
\Psi \psi | Ψ \Psi Ψ ψ \psi ψ |
\Omega \omega | Ω \Omega Ω ω \omega ω |
含义 | 命令 | 示例 |
---|---|---|
\text{\H e} | e ˝ \text{\H e} e˝ | |
\text{'e} | e ˊ \text{\'e} eˊ | |
\text{`e} | e ˋ \text{\`e} eˋ | |
\text{"o} | o ¨ \text{\"o} o¨ | |
\hat{a} | a ^ \hat{a} a^ | |
\grave{a} | a ˋ \grave{a} aˋ | |
\bar{a} | a ˉ \bar{a} aˉ | |
\acute{a} | a ˊ \acute{a} aˊ | |
\breve{a} | a ˘ \breve{a} a˘ | |
\widetilde{A} | A ~ \widetilde{A} A | |
\check{a} | a ˇ \check{a} aˇ | |
\tilde{a} | a ~ \tilde{a} a~ | |
\dot{a} | a ˙ \dot{a} a˙ | |
\ddot{a} | a ¨ \ddot{a} a¨ | |
\vec{a} | a ⃗ \vec{a} a | |
\widehat{A} | A ^ \widehat{A} A |
含义 | 命令 | 示例 |
---|---|---|
括号 | \{ \} [ ] | { \{ { } \} } [ [ [ ] ] ] |
希望括号根据内容改变大小,在前面加上\left(开始处)和\right(结束处) | \left \right | { a b } \left\{ \frac{a}{b} \right\} {ba} |
取整 | \lfloor a \rfloor | ⌊ a ⌋ \lfloor a \rfloor ⌊a⌋ |
取顶 | \lceil a \rceil | ⌈ a ⌉ \lceil a \rceil ⌈a⌉ |
点积 | \cdot | ⋅ \cdot ⋅ |
横向多个点 | \cdots | ⋯ \cdots ⋯ |
纵向多个点 | \vdots | ⋮ \vdots ⋮ |
斜向多个点 | \ddots | ⋱ \ddots ⋱ |
含义 | 命令 | 示例 |
---|---|---|
绝对值 | \vert | ∣ \vert ∣ |
范数 | \Vert | ∥ \Vert ∥ |
正比于 | \propto | ∝ \propto ∝ |
\star | ⋆ \star ⋆ | |
\ast | ∗ \ast ∗ | |
根号 | \sqrt{a} | a \sqrt{a} a |
加 | + | + + + |
减 | - | − - − |
乘 | \times | × \times × |
除 | \div | ÷ \div ÷ |
\setminus | ∖ \setminus ∖ | |
\pm | ± \pm ± | |
\mp | ∓ \mp ∓ | |
\circ | ∘ \circ ∘ | |
\bullet | ∙ \bullet ∙ | |
\diamond | ⋄ \diamond ⋄ | |
\odot | ⊙ \odot ⊙ | |
\oslash | ⊘ \oslash ⊘ | |
\ominus | ⊖ \ominus ⊖ | |
\otimes | ⊗ \otimes ⊗ | |
\oplus | ⊕ \oplus ⊕ | |
\uplus | ⊎ \uplus ⊎ | |
\amalg | ⨿ \amalg ⨿ | |
\dagger | † \dagger † | |
\ddagger | ‡ \ddagger ‡ | |
\wr | ≀ \wr ≀ | |
\vee | ∨ \vee ∨ | |
\lor | ∨ \lor ∨ | |
\wedge | ∧ \wedge ∧ | |
\land | ∧ \land ∧ | |
\cup | ∪ \cup ∪ | |
\cap | ∩ \cap ∩ | |
\sqcap | ⊓ \sqcap ⊓ | |
\int | ∫ \int ∫ | |
\bigvee | ⋁ \bigvee ⋁ | |
\bigwedge | ⋀ \bigwedge ⋀ | |
连乘 | \prod | ∏ \prod ∏ |
\coprod | ∐ \coprod ∐ | |
\bigcup | ⋃ \bigcup ⋃ | |
\bigsqcup | ⨆ \bigsqcup ⨆ | |
\oint | ∮ \oint ∮ | |
\bigoplus | ⨁ \bigoplus ⨁ | |
\bigodo | ⨀ \bigodot ⨀ | |
\biguplus | ⨄ \biguplus ⨄ | |
\bigtriangleup | △ \bigtriangleup △ | |
\bigtriangledown | ▽ \bigtriangledown ▽ | |
空集 | \emptyset | ∅ \emptyset ∅ |
\bigcirc | ◯ \bigcirc ◯ | |
\triangleleft | ◃ \triangleleft ◃ | |
\triangleright | ▹ \triangleright ▹ | |
\rhd | ⊳ \rhd ⊳ | |
\unrhd | ⊵ \unrhd ⊵ | |
\lhd | ⊲ \lhd ⊲ | |
\unlhd | ⊴ \unlhd ⊴ | |
映射乘法 | \circ | ∘ \circ ∘ |
偏导 | \partial | ∂ \partial ∂ |
\nabla | ∇ \nabla ∇ | |
\int | ∫ \int ∫ | |
\iint | ∬ \iint ∬ | |
\iiint | ∭ \iiint ∭ | |
\oint | ∮ \oint ∮ | |
\triangle | △ \triangle △ |
含义 | 命令 | 示例 |
---|---|---|
右箭头 | \to或\rightarrow | → \to → |
\uparrow | ↑ \uparrow ↑ | |
\downarrow | ↓ \downarrow ↓ | |
\updownarrow | ↕ \updownarrow ↕ | |
\Uparrow | ⇑ \Uparrow ⇑ | |
\Downarrow | ⇓ \Downarrow ⇓ | |
\leftarrow | ← \leftarrow ← | |
\Rightarrow | ⇒ \Rightarrow ⇒ | |
\Leftarrow | ⇐ \Leftarrow ⇐ | |
\leftrightarrow | ↔ \leftrightarrow ↔ | |
\Leftrightarrow | ⇔ \Leftrightarrow ⇔ | |
\longrightarrow | ⟶ \longrightarrow ⟶ | |
\longleftarrow | ⟵ \longleftarrow ⟵ | |
\Longrightarrow | ⟹ \Longrightarrow ⟹ | |
\Longleftarrow | ⟸ \Longleftarrow ⟸ | |
\longleftrightarrow | ⟷ \longleftrightarrow ⟷ | |
\Longleftrightarrow | ⟺ \Longleftrightarrow ⟺ | |
\mapsto | ↦ \mapsto ↦ | |
\longmapsto | ⟼ \longmapsto ⟼ | |
\hookleftarrow | ↩ \hookleftarrow ↩ | |
\hookrightarrow | ↪ \hookrightarrow ↪ | |
\leftharpoonup | ↼ \leftharpoonup ↼ | |
\rightharpoonup | ⇀ \rightharpoonup ⇀ | |
\leftharpoondown | ↽ \leftharpoondown ↽ | |
\rightharpoondown | ⇁ \rightharpoondown ⇁ | |
\rightleftharpoons | ⇌ \rightleftharpoons ⇌ | |
\leadsto | ⇝ \leadsto ⇝ | |
\nearrow | ↗ \nearrow ↗ | |
\searrow | ↘ \searrow ↘ | |
\swarrow | ↙ \swarrow ↙ | |
\nwarrow | ↖ \nwarrow ↖ | |
\nleftarrow | ↚ \nleftarrow ↚ | |
\nrightarrow | ↛ \nrightarrow ↛ | |
\nLeftarrow | ⇍ \nLeftarrow ⇍ | |
\nRightarrow | ⇏ \nRightarrow ⇏ | |
\nleftrightarrow | ↮ \nleftrightarrow ↮ | |
\nLeftrightarrow | ⇎ \nLeftrightarrow ⇎ | |
\dashrightarrow | ⇢ \dashrightarrow ⇢ | |
\dashleftarrow | ⇠ \dashleftarrow ⇠ | |
\leftleftarrows | ⇇ \leftleftarrows ⇇ | |
\leftrightarrows | ⇆ \leftrightarrows ⇆ | |
\Lleftarrow | ⇚ \Lleftarrow ⇚ | |
\twoheadleftarrow | ↞ \twoheadleftarrow ↞ | |
\leftarrowtail | ↢ \leftarrowtail ↢ | |
\looparrowleft | ↫ \looparrowleft ↫ | |
\leftrightharpoons | ⇋ \leftrightharpoons ⇋ | |
\curvearrowleft | ↶ \curvearrowleft ↶ | |
\circlearrowleft | ↺ \circlearrowleft ↺ | |
\Lsh | ↰ \Lsh ↰ | |
\upuparrows | ⇈ \upuparrows ⇈ | |
\upharpoonleft | ↿ \upharpoonleft ↿ | |
\downharpoonleft | ⇃ \downharpoonleft ⇃ | |
\multimap | ⊸ \multimap ⊸ | |
\leftrightsquigarrow | ↭ \leftrightsquigarrow ↭ | |
\rightrightarrows | ⇉ \rightrightarrows ⇉ | |
\rightleftarrows | ⇄ \rightleftarrows ⇄ | |
\rightrightarrows | ⇉ \rightrightarrows ⇉ | |
\rightleftarrows | ⇄ \rightleftarrows ⇄ | |
\twoheadrightarrow | ↠ \twoheadrightarrow ↠ | |
\rightarrowtail | ↣ \rightarrowtail ↣ | |
\looparrowright | ↬ \looparrowright ↬ | |
\rightleftharpoons | ⇌ \rightleftharpoons ⇌ | |
\curvearrowright | ↷ \curvearrowright ↷ | |
\circlearrowright | ↻ \circlearrowright ↻ | |
\Rsh | ↱ \Rsh ↱ | |
\downdownarrows | ⇊ \downdownarrows ⇊ | |
\upharpoonright | ↾ \upharpoonright ↾ | |
\downharpoonright | ⇂ \downharpoonright ⇂ | |
\rightsquigarrow | ⇝ \rightsquigarrow ⇝ |
含义 | 命令 | 示例 |
---|---|---|
上标 | a^b | a b a^b ab |
下标 | a_b | a b a_b ab |
分数 | \frac{a}{b} | a b \frac{a}{b} ba |
下括号 | \underbrace{a_1,\cdot\cdot\cdot,a_n}_n | a 1 , ⋅ ⋅ ⋅ , a n ⎵ n \underbrace{a_1,\cdot\cdot\cdot,a_n}_n n a1,⋅⋅⋅,an |
上括号 | \overbrace{a_1,\cdot\cdot\cdot,a_n}^n | a 1 , ⋅ ⋅ ⋅ , a n ⏞ n \overbrace{a_1,\cdot\cdot\cdot,a_n}^n a1,⋅⋅⋅,an n |
顶部波浪 | \tilde a \widetilde b | a ~ b ~ \tilde a \widetilde b a~b |
估 | \hat{a} | a ^ \hat{a} a^ |
向量 | \vec x | x ⃗ \vec x x |
求和 | \sum{F_i}_a^b | ∑ F i a b \sum{F_i}_a^b ∑Fiab |
最大值 | \max_f(一个$ 和两个$) | max f \max_f maxf max f \max_f fmax |
最小值 | \min | min \min min |
无穷 | \infty | ∞ \infty ∞ |
大于 | \gt | > \gt > |
小于 | \lt | < \lt < |
小于等于 | \leq | ≤ \leq ≤ |
大于等于 | \geq | ≥ \geq ≥ |
相似于 | \sim | ∼ \sim ∼ |
约等于 | \approx | ≈ \approx ≈ |
约等于 | \approxeq | ≊ \approxeq ≊ |
不等于 | \neq | ≠ \neq ̸= |
恒等于 | \equiv | ≡ \equiv ≡ |
不恒等于 | \not\equiv | ̸ ≡ \not\equiv ̸≡ |
属于 | \in | ∈ \in ∈ |
\notin | ∉ \notin ∈/ | |
包含于 | \subset | ⊂ \subset ⊂ |
包含于 | \subseteq | ⊆ \subseteq ⊆ |
任意 | \forall | ∀ \forall ∀ |
存在 | \exists | ∃ \exists ∃ |
文本 | \text{and} | and \text{and} and |
空格(2个m) | a \qquad b | a b a \qquad b ab |
空格(1个m) | a \quad b | a b a\quad b ab |
大空格 | a\ b | a b a\ b a b |
中等空格 | a \; b | a    b a\;b ab |
小空格 | a\, b | a   b a\, b ab |
紧贴 | a\!b | a ​ b a\!b ab |
公式编号:
\begin{equation}
\label{E1}
\end{equation}
\begin{equation}
\label{E1}
\begin{split}
\end{split}
\end{equation}
并用\\
换行,用&
定义需要对齐的位置。
项目编号:
符号为圆点:
\begin{itemize}
\item good morning....
\item good morning....
\end{itemize}
自定义符号:
\begin{itemize}
\item[-] good morning....
\item[-] good morning....
\end{itemize}
命令 | 示例 |
---|---|
\max\limits_{A} | max A \max\limits_{A} Amax |
命令 | 示例 |
---|---|
\mathop{MAX}\limits_{A} | M A X A \mathop{MAX}\limits_{A} AMAX |
命令 | 示例 | 备注 |
---|---|---|
\bf{u} = a | u = a \bf{u} = a u=a | bf会丢失斜体,且后面所有的字母都变成粗体 |
\bm{u} = a | u = a \bm{u} = a u=a | bm仅加粗后面的文字,且不丢失斜体 |
\mathbf{h}(x) | h x \mathbf{h}x hx | mathbf加粗后边的文字并取消斜体,但不影响{}外的文字 |
\textbf{MAX} | MAX \textbf{MAX} MAX | 加粗文字 |
命令:
a=\begin{cases}
case1 & condition1 \\
case2 & condition2
\end{cases}\tag{1}
示例:
(1) a = { c a s e 1 c o n d i t i o n 1 c a s e 2 c o n d i t i o n 2 a=\begin{cases} case1 & condition1 \\ case2 & condition2 \end{cases}\tag{1} a={case1case2condition1condition2(1)
命令:
$$
\left\vert\begin{matrix}
a & b & c \
d & e & f
\end{matrix} \right\vert\tag{1}
$$
示例:
(1) ∣ a b c d e f ∣ \left\vert\begin{matrix} a & b & c \\ d & e & f \end{matrix} \right\vert\tag{1} ∣∣∣∣adbecf∣∣∣∣(1)
在该段落最前面添加\noindent
即可。
Latex中字体大小的设置从小到大为:
\tiny
\scriptsize
\footnotesize
\small
\normalsize
\large
\Large
\LARGE
\huge
\Huge