Urgent.News

What's breaking now, across thousands of outlets.

Tech

“I just chose words carefully”

Article URL: https://unsung.aresluna.org/i-just-chose-words-carefully/ Comments URL: https://news.ycombinator.com/item?id=49503601 Points: 238 # Comments: 59

Typesetting in monospace is often perceived as less enjoyable than regular text. Right alignment is acceptable, provided the inconvenience of counting spaces doesn't bother you. Centering, however, presents more challenges due to the absence of a half-space for true evenness. Full justification takes it to another level, with excessively large spaces that cannot be evenly distributed, resulting in an uncomfortable experience.

The conventional method employed in other typesetting processes is hyphenation; yet, in monospace, hyphenation feels equally unpleasant due to the hyphens drawing too much attention to themselves and disrupting the copy and paste functionality. Consequently, it is uncommon to encounter full justification in text files. However, there exists an alternative approach.

By rewriting the text to select words that precisely match the line length, you can eliminate the need for double spaces. This is precisely what rs1n accomplished in the late 1990s for his Super Metroid guide. The resulting text features a right margin perfectly aligned on a letter, devoid of any twin spaces. This method was documented in the FAQ at the end of the document.

The author mentions utilizing an ASCII editor for the text justification, emphasizing that it was achieved solely through careful word selection to align everything on the right-hand side. The author shares this information primarily as a curious observation, as physical books occasionally undergo rewrites to avoid issues like widows and orphans.

Nevertheless, such meticulous adjustments in onscreen writing are less common. The passage concludes by acknowledging that many individuals can relate to the experience of painstakingly adjusting button UI strings or tooltips to fit within a specific width in a densely packed interface.

Written by urgent.news from Hacker News Best's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

This story

This is one outlet's version. Read the fullest account.

Read the original at unsung.aresluna.org →

More in Tech

Kernel prepatch 7.3-rc1

Linus has released 7.3-rc1 and closed the merge window for this release. " Nothing really stands out - except for the fact that it's big.

More from Sunday 30 August →