Manual: Spaces
95 points
15 hours ago
| 6 comments
| type.today
| HN
Smaug123
7 hours ago
[-]
On the layout side rather than the "what spaces are available" side, I really recommend https://gwern.net/doc/design/typography/tex/1981-knuth.pdf , the paper in which the Knuth-Plass algorithm for paragraph layout is defined. (The Knuth-Plass algorithm decides how wide spaces should be on each line and which choices of hyphenation out of some predefined set should be used to lay out a paragraph.) It's super readable and generally quite joyful. Knuth describes TeX as a "labor of love", and it shines through that paper.
reply
bayesnet
5 hours ago
[-]
For those interested in typst, Laurenz wrote[0] about the differences between the typst and TeX layout algorithms a while ago. The paragraph layout algorithm is the same but the way it interacts with page placement is quite different.

[0]: https://laurmaedje.github.io/posts/layout-models/

reply
levmiseri
36 minutes ago
[-]
There is something oddly beautiful in invisible complexity. These little tweaks and minuscule details without which the whole would suffer in quality.
reply
dbuxton
6 hours ago
[-]
One thing I find interesting about discussions of typography in Cyrillic is how poor the overall readability of text is in most fonts compared to Latin because of the relative scarcity of risers and descenders (e.g. pqlt etc)

One of my tutors at university claimed that she was able to read 9th century manuscript Cyrillic faster than modern printed books because the orthography was more varied and easier to scan/speed-read.

(That wasn't something I found to be true)

reply
Antibabelic
6 hours ago
[-]
I remember seeing some studies that experimentally show this to be true for Hebrew (another de/ascender-poor writing system), but can't find them at the moment.
reply
tuetuopay
6 hours ago
[-]
Thanks for the factual explanation! I found the example cyrillic texts unreadable as a set of horizontal lines (serif) and vertical lines (characters themselves) giving the feeling of a grid, but I dimissed it as "I can't read cyrillic anyways".

Now that you wrote it down, it does actually makes sense.

reply
lockranore2
2 hours ago
[-]
I learned to type in Junior High School in the nineties, and it is extremely difficult to leave a single space after a period. Like that, it took a huge effort for me to break conditioning.
reply
nticompass
2 hours ago
[-]
Whenever I type, be it on my phone or on a computer, I always use double spaces after a period. Like you, I'm just used to it and un-learning it is hard!
reply
oneeyedpigeon
2 hours ago
[-]
This was in the US? As someone who didn't learn that rule, I've always found it very strange and, frankly, ugly.

From the article:

> There was just one space width available in the typewriter, so words and sentences were separated by the same distance. The double space was used to differentiate sentences and improve the readability of the text.

I would dispute this. Sentences are separated by a period as well as a single space character, and that's not the same distance as just a single space because the period doesn't have the same visual weight as a word character. A ". " still looks 'wider' than a " ", even if it technically isn't!

reply
stronglikedan
1 hour ago
[-]
> I would dispute this.

I wouldn't. Typewriters don't work like computers. The additional space was objectively beneficial. I personally witnessed that.

reply
doener
15 hours ago
[-]
reply
jbverschoor
5 hours ago
[-]
Of all spaces, the space between sentences is discarded because a period is whitespace. However, kerning partly removes this.

Perhaps this is why monospaced fonts are so readable? I like having double-space between sentences.

reply
giraffe_lady
48 minutes ago
[-]
The space isn't discarded except in monospaced fonts. All the main computer layout engines (web browser, word processor) will add additional spacing there. It's also where line-width and inter-word padding are corrected first so often ends up being at least as big a space as you'd get double-spacing anyway.

Monospace fonts aren't considered generally more readable by people who make or work with fonts. Their particular strength is in reducing character ambiguity and preserving vertical alignment. But "readability" is subjective and depends on particulars of the specific font and of course personal expectation and preference. I find them almost always less readable than a good proportional serif font, except for code.

reply
layer8
29 minutes ago
[-]
In monospace the dot is wider than in proportional fonts, thereby adding more space by itself. In addition, the space character itself is wider in monospace than in proportional fonts, relative to the average letter width. In combination, this balances out the difference from proportional typesetting, in my opinion. A dot plus two spaces is jarringly wide in monospace.

I do agree that monospace doesn’t make for readable prose either way.

reply