跳到主要內容

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