Giter Club home page Giter Club logo

Comments (12)

stone-zeng avatar stone-zeng commented on July 24, 2024 1

我觉得普通文本的排版不应该借助数学公式来完成,在现代的环境中还是尽量用符合语义的 character 比较合适。所以最好就是用正文字体自带的 U+007E 或者 U+223C。

众所周知传统上 TeX 用了很多 hack 的手段(比如不区分 glyph 和 character,用 \sim 表示 tilde 这样),我们是不是可以考虑标注/说明一下?

from lshort-zh-cn.

louisstuart96 avatar louisstuart96 commented on July 24, 2024

这个可能有得商榷,在 https://en.wikipedia.org/wiki/Tilde#Punctuation 里说的是,有些西文也用这个波浪号表示范围,不过可能英文不太用?另外表示近似的用法还是很常见的,要不把后一种用法写上去好了。

from lshort-zh-cn.

zepinglee avatar zepinglee commented on July 24, 2024

目前 lshort-zh-cn 的描述仍然容易误导人。

screen shot 2018-11-22 at 10 57 27 pm

  1. “有些西文也用这个波浪号表示范围”这个结论缺乏证据。而小林章的《西文字体》里说:

而“~”符号在西文里当数学符号用,并没有“从……到……”的意思。

所以不应该在 lshort 里写这样的用法,而应该指出正确的用法(en dash)。

  1. 应该明确指出“有的人可能喜欢用数学公式里的 \sim 符号来代替”是错误的写法,“更合理的波浪号”的表述也让人误以为前一种写法还有合理性。示例更不应该写两个错误的示例“1~2, 1\sim 2”,应该给出正确的示例 U+FF5E “~”符号,目前提到的 5.1.4 节也没有提到波浪号。

from lshort-zh-cn.

zepinglee avatar zepinglee commented on July 24, 2024

Fandol 的 “~”(U+FF5E)字形在顶部,建议不要使用 fandol。

from lshort-zh-cn.

louisstuart96 avatar louisstuart96 commented on July 24, 2024

@zepinglee 我之前对波浪号的写法参考了 https://en.wikipedia.org/wiki/Tilde#Approximation 这里的注释。在科技文献中这是一种比较常用的用法,并无不妥。

from lshort-zh-cn.

zepinglee avatar zepinglee commented on July 24, 2024

表示“大约”的用法是放在数字前面,不是用在两个数字中间

from lshort-zh-cn.

zepinglee avatar zepinglee commented on July 24, 2024

我发现 1675bc6 的 commit 信息拼错了,最好 merge 到 mater 之前 rebase 一下

from lshort-zh-cn.

louisstuart96 avatar louisstuart96 commented on July 24, 2024

字体的话,考虑到 Fandol 是全平台 TeX Live 都能用的,而使用 ctex 默认的 scheme 有各平台不一致之虞。

from lshort-zh-cn.

zepinglee avatar zepinglee commented on July 24, 2024

我个人认为字体本身的质量更重要,跨平台能编译通过就行

from lshort-zh-cn.

louisstuart96 avatar louisstuart96 commented on July 24, 2024

@zepinglee b618b00 把容易引起争论或误导的地方清理了一下,毕竟这个手册的重心不在于某个标点符号的争论上。如果有人坚持要用波浪号,也不好说啥。

from lshort-zh-cn.

zepinglee avatar zepinglee commented on July 24, 2024
  1. 我没觉得这里有什么争议和误导。
  2. 这个手册应该指导用户如何正确使用,而不是给用户错误的目标指一条路。
  3. 1675bc6 的 commit 信息有错,最好 rebase 一下。

from lshort-zh-cn.

louisstuart96 avatar louisstuart96 commented on July 24, 2024

这个改法应该基本上做到了“指导用户如何正确使用”吧,如果你同意这一点的话,这个 issue 就暂时告一段落。

from lshort-zh-cn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.