Unify em dashes to spaced version#1188
Conversation
963bbdb to
14a6031
Compare
|
I know that most style guides recommend no spaces around em dashes, but I think there's an argument that in mathematical writing with inline math spaces are preferable, since an em dash adjacent to inline math without a space might be mistaken for part of the formula. I think we might even have had an informal convention of using spaces around em dashes. How many instances are there of em dashes without spaces? |
|
There are 26 em dashes without spaces – forming 22.2% of the em dashes: $ grep --include=\*.tex -ro '[^ ]---[^ ]' | wc -l
26
$ grep --include=\*.tex -ro ' --- ' | wc -l
90
$ grep --include=\*.tex -ro '^---[^ ]' | wc -l
0
$ grep --include=\*.tex -ro '^--- ' | wc -l
1So if unspaced em dashes are ruled out, @mikeshulman, what should we convert the em dashes to?
|
|
Well, we used spaced em dashes in the rest of the book, so I'd be inclined to standardize on that. |
fae47de to
47abd63
Compare
Em dashes were annoyingly randomly spaced and unspaced. For mathematical writing, the spaced version was requested as clearer.
47abd63 to
1f36555
Compare
I redid this to standardize on spaced em dashes as requested. The branch name is unchanged to avoid creating a new PR. |
|
Thanks! |
Em dashes were annoyingly randomly spaced and unspaced. Edit: For mathematical writing, the spaced version was requested as clearer.