3 ms·
Two dashes are an en dash or a range for me --- so 1--3 is my hyphen encoding count range!
by DamonHD 9y ago
Two dashes are an en dash or a range for me --- so 1--3 is my hyphen encoding count range!
- ReidZB 9y agoThat's how it works in TeX as well: one dash is a hyphen, two an en dash, three an em dash.
- cup-of-tea 9y agoAnd a fourth is the minus symbol, in maths mode $-$.
- evanb 9y agoNothing makes me crazier than seeing hyphen1 in TeX documents. hyphen != minus!
- DamonHD 9y agoThat's where I almost certainly picked up my habit from, though I haven't touched much (La)TeX in ~25Y. Rgds Damon
- steamer25 9y agoI try to avoid hyphen-based range notation. It's sometimes hard to tell if a single hyphen was intended to be a minus sign. Double hyphens look like ASCII em-dashes. I've never heard of of the triple convention and would be confused if you neglected an inline explanation. Here are some alternatives: * English: from 1 to 3 * Some programming languages: 1..3 * Math: [1, 3) I guess this also the main purpose of the en-dash* : http://www.thepunctuationguide.com/en-dash.html http://www.thepunctuationguide.com/en-dash.html . The problem there is that en-dashes can be inaccessible as in my case--typing on a phone. * I actually originally missed your point because you forgot the hyphen between 'en' and 'dash'.