空格
latex中有6种间隔
latex 语法 | 描述 | 效果 |
---|---|---|
\, | a small space | a b a \, b ab |
\; | larger space like a keyboard space | a b a\; b ab |
\quad | a larger space | a b a \quad b ab |
\qquad | two m width | a b a\qquad b ab |
| no space | a b ab ab |
\! | close | a b a\!b ab |
运算关系符号
Symbol | Meaning | Actual Effect |
---|---|---|
\sim | Similar to | ∼ \sim ∼ |
\approx | Approximately equal to | ≈ \approx ≈ |
\simeq | Asymptotically equal to | ≃ \simeq ≃ |
\cong | Congruent to | ≅ \cong ≅ |
\equiv | Equivalent to | ≡ \equiv ≡ |
\propto | Proportional to | ∝ \propto ∝ |
一个实际公式的例子
∑ x p θ ( x ) = 1 and p θ ( x ) ≥ 0 for all x \sum_{x} p_{\theta}(x) = 1 \quad \text{and} \quad p_{\theta}(x) \geq 0 \text{ for all } x x∑pθ(x)=1andpθ(x)≥0 for all x
\sum_{x} p_{\theta}(x) = 1 \quad \text{and} \quad p_{\theta}(x) \geq 0 \text{ for all } x
\sum 表示求和
p_{} 括号中的是下方里面的
\geq >=