this post was submitted on 05 Jul 2023
1 points (100.0% liked)

TeX typesetting

106 readers
1 users here now

A place to share ideas, resources, tips, and hacks for Donald Knuths typesetting software TeX. All variants and formats like OpTeX, LaTeX and ConTeXt are welcome.

Tagging your post with [] is optional, but can help others to know if it uses or pertains to a certain format/engine/system.

Rules: Posts and comments should be civil and somehow related to *TeX and/or typesetting in general.

founded 1 year ago
MODERATORS
 

What's your method for dealing with underfull/overfull \hboxes and unacceptable badness in general?

LaTeX has the \sloppy command which IIRC sets \tolerance to 9999, and \emergencystretch to a large value. But the default \tolerance is 200 (I think), which is a big difference. It's very "either/or" when maybe there's a more optimal way.

For my native language (swedish) I've found that many issues arise because TeX doesn't find all the possible hyphenation points, so I usually spend time adding words to the hyphenation list.

But still, in any longer text there's usually a couple of paragraphs that just won't set right, I'm curious about your tricks or methods for dealing with them.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here