Forgot password
 Register account
View 16979|Reply 4

哪个是空集?

[Copy link]

677

Threads

110K

Posts

214

Reputation

Show all posts

kuing posted 2014-10-10 13:38 |Read mode
kj1.gif


上图的代码是:
  1. \documentclass{article}
  2. \usepackage{amsmath,amssymb}
  3. \begin{document}
  4. which is kongji ?
  5. \o, \O, $\emptyset$, $\varnothing$
  6. \end{document}
Copy the Code

677

Threads

110K

Posts

214

Reputation

Show all posts

original poster kuing posted 2014-10-10 13:47
故此,一般来说,我们推荐使用 \varnothing

但是,这单词长且容易记错,不方便,所以本论坛自定义了 \kongji 以代之

其实,在真 LaTeX 中,还可以有更方便的定义方式:

\def\o{\ensuremath\varnothing}

这样,不论是文本中,还是公式中,都可以用 \o 打出空集。

例:
  1. \documentclass{article}
  2. \usepackage{amsmath,amssymb}
  3. \begin{document}
  4. \def\o{\ensuremath\varnothing}
  5. kongji is \o , but $\o \in \{\o\}$
  6. \end{document}
Copy the Code
效果是
kj2.gif

766

Threads

4684

Posts

27

Reputation

Show all posts

isee posted 2014-10-12 13:59
哈哈,楼主喜欢把 默认代码 自定义一个 看着简单的

677

Threads

110K

Posts

214

Reputation

Show all posts

original poster kuing posted 2014-11-9 15:08
回复 3# isee

嗯,善用自定义命令才能使latex更强大更方便,不过也不适宜自定义太多,特别是太常用的东东就尽量不要自定义,否则容易产生辅作用,也不方便别人阅读或移植你的代码。

3203

Threads

7842

Posts

48

Reputation

Show all posts

hbghlyj posted 2023-5-16 03:38
Ø is a Scandinavian vowel letter. The twenty-eighth letter of the Norwegian alphabet.
Null sign
In mathematics, the null sign (∅) denotes the empty set. Note that a null set is not necessarily an empty set. Common notations for the empty set include "{}", "∅", and "$\emptyset$". The latter two symbols were introduced by the Bourbaki group (specifically André Weil) in 1939, inspired by the letter Ø in the Danish and Norwegian alphabets (and not related in any way to the Greek letter Φ)

Quick Reply

Advanced Mode
B Color Image Link Quote Code Smilies
You have to log in before you can reply Login | Register account

$\LaTeX$ formula tutorial

Mobile version

2025-7-3 12:00 GMT+8

Powered by Discuz!

Processed in 0.016383 seconds, 25 queries