latex中连字符、波折号和负号

来源:互联网 发布:淘宝直通车充值记录 编辑:程序博客网 时间:2024/05/16 06:53
作者:Clerk Ma
链接:https://www.zhihu.com/question/20332423/answer/15367988
来源:知乎
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

> Hyphens are used for compound words like ‘daughter-in-law’ and ‘X-rated’. En-dashes are used for number ranges like ‘pages 13–34’, and also in contexts like ‘exercise 1.2.6–52’. Em-dashes are used for punctuation in sentences—they are what we often call simply dashes. And minus signs are used in formulas. A conscientious user of TeX will be careful to distinguish these four usages, and here is how to do it:
   for a hyphen, type a hyphen (-);
   for an en-dash, type two hyphens (--);
   for an em-dash, type three hyphens (---);
   for a minus sign, type a hyphen in mathematics mode ($-$).
0 0