跳到正文

LaTeX 数学中的关系符

在数学模式中,用 \leq(或 \le)得到 ≤,用 \neq(或 \ne)得到 ≠,用 \in 得到 ∈;大多数关系符都有否定形式,在前面加 n,如 \nleq,或在符号前加 \not。

使用关系符

关系符比较两个对象,LaTeX 会在两侧各加一个较宽的空白,比运算符周围的空白略多。直接输入的 <、> 和 = 本身就是关系符,其他关系符则有各自的命令。

正文中的关系符

For all $n \geq 44$ we have $a_n \leq b_n$, so $\lim a_n \neq \infty$.
The set satisfies $x \in A \subseteq B$, and $\pi \approx 3.14$.
由 Scissor LaTeX 排版: 正文中的关系符

许多关系符都有否定形式。如果有现成的命令,例如 \neq、\notin、\nleq 或 \nsubseteq,就使用它:斜线会画得恰到好处。在其他关系符前加 \not 会给它加上一道删除线。

否定的关系符

a \neq b \qquad x \notin A \qquad p \nmid q \qquad A \nsubseteq B \qquad x \not\equiv y

定义中常用 :=。使用 mathtools 时,\coloneqq 会让冒号与等号垂直居中对齐,比直接输入 := 更美观。

定义和等价关系

LaTeX导言区: \usepackage{mathtools}在编辑器中打开 (在新标签页中打开)
f(x) \coloneqq x^2 + 44 \qquad a \equiv b \pmod{n} \qquad A \cong B \qquad x \propto y

全部关系符

以下符号在 Scissor LaTeX 中都能使用。点击复制按钮即可复制命令。

  • \in
  • \isin
  • \notin
  • \subset
  • \subseteq
  • \subsetneqq
  • \ne
  • \neq
  • \lt
  • \gt
  • \le
  • \ge
  • \leq
  • \geq
  • \leqslant
  • \geqslant
  • \eqslantgtr
  • \eqslantless
  • \approx
  • \sim
  • \simeq
  • \backsimeq
  • \cong
  • \ncong
  • \nsim
  • \backsim
  • \eqsim
  • \triangleq
  • \curlyeqprec
  • \curlyeqsucc
  • \gtrdot
  • \gg
  • \ngeq
  • \geqq
  • \gtrless
  • \gneqq
  • \ngtr
  • \gnsim
  • \gtrsim
  • \vartriangleright
  • \trianglerighteq
  • \ntrianglerighteq
  • \ntriangleright
  • \ggg
  • \lessdot
  • \ll
  • \nleq
  • \leqq
  • \lessgtr
  • \lneqq
  • \nless
  • \lnsim
  • \lesssim
  • \vartriangleleft
  • \trianglelefteq
  • \ntrianglelefteq
  • \ntriangleleft
  • \lll
  • \approxeq
  • \prec
  • \precapprox
  • \preceq
  • \preccurlyeq
  • \npreceq
  • \precnapprox
  • \nprec
  • \precnsim
  • \precsim
  • \succ
  • \succapprox
  • \succeq
  • \succcurlyeq
  • \nsucceq
  • \succnapprox
  • \nsucc
  • \succnsim
  • \succsim
  • \equiv
  • \propto
  • \ni
  • \nsubseteq
  • \sqsubseteq
  • \subsetneq
  • \supset
  • \supseteq
  • \nsupseteq
  • \sqsupseteq
  • \supsetneq
  • \models
  • \therefore
  • \because
  • \mid
  • \nmid
  • \parallel
  • \shortparallel
  • \nparallel
  • \perp
  • \Join
  • \vdash
  • \nvdash
  • \vDash
  • \nvDash
  • \dashv
  • \asymp
  • \circeq
  • \smile
  • \doteq
  • \Vdash
  • \Vvdash
  • \gnapprox
  • \ngeqslant
  • \precneqq
  • \gneq
  • \between
  • \bowtie
  • \Bumpeq
  • \bumpeq
  • \coloneq
  • \coloneqq
  • \doteqdot
  • \eqcolon
  • \eqqcolon
  • \fallingdotseq
  • \frown
  • \lessapprox
  • \lnapprox
  • \lneq
  • \nVDash
  • \nVdash
  • \owns
  • \pitchfork
  • \risingdotseq
  • \sqsubset
  • \sqsupset
  • \subseteqq
  • \succneqq
  • \supseteqq
  • \supsetneqq
  • \unlhd
  • \unrhd
  • \varpropto

常见问题

\le 和 \leq 有什么区别?

没有区别。\le 和 \leq 是 ≤ 的两个名称,\ge 和 \geq 都表示 ≥。amssymb 中的 \leqslant 和 \geqslant 给出倾斜的形式。

如何在 LaTeX 中输入“不属于”?

用 \notin:$x \notin A$ 得到 x ∉ A。\not\in 也可以,但 \notin 画得更好。

如何在 LaTeX 中输入“约等于”?

\approx 得到 ≈。“相似”用 \sim(∼),“渐近相等”用 \simeq(≃)。

本页的每个示例都在构建网站时由 Scissor LaTeX 排版。 最后更新:2026-11-07