Hacker News new | ask | show | jobs
by OJFord 1265 days ago
Not a single mention of 'hbox' (I opened and immediately grepped) - surely the primary issue (or seemingly non-issue but annoying error/warning) anyone runs into is 'overfull hbox', typically without any idea what an hbox even is anyway.
2 comments

The linked post is not a comprehensive manual of LaTeX but just a collection of typesetting tips that the author found interesting.

TeX is at heart a system for setting, breaking and laying out boxes. Each character (e.g. 'T' from font Helvetica, say) is a box, a paragraph is a sequence of these boxes (with "glue" for the words), which is broken into lines (each line is a hbox), which are assembled into paragraphs and pages (vboxes).

It is a remarkable evolution in patterns of computer usage (since the 1970s/early 1980s when TeX was written) that people today expect to use programs without even skimming the manual (e.g. this is covered on page 27–28 of The TeXbook). Using TeX without caring about boxes and glue is missing the point, I think. (Surely there are alternative simpler programs if one doesn't want to be bothered about the finer points of typesetting.)

Anyway, see e.g.

https://texfaq.org/FAQ-overfull

https://tex.stackexchange.com/questions/35/what-does-overful...

https://tex.stackexchange.com/questions/138/what-are-underfu...

> The linked post is not a comprehensive manual of LaTeX but just a collection of typesetting tips that the author found interesting.

I realise that, I suppose I was partly joking, but partly did assume 'common mistakes and advice' would mention it; it's extremely common.

Yeah! When I make my book into PDFs, I get a ton of those yet see no issues visually.
If you look carefully, you should be able to see that the mentioned line slightly overreaches the edge of the page.