Linked by Andy Roberts on Mon 6th Jun 2005 18:19 UTC
Features, Office Anyone who has used Microsoft Word for a reasonable amount of time will recognise my very own Andy's Laws on Word:
Permalink for comment
To read all comments associated with this story, please click here.
Horizontal spacing issues.
by CBrachyrhynchos on Tue 7th Jun 2005 17:15 UTC

For horizontal spacing issues, however, you have the reverse problem: LaTeX is that it would rather overrun a right margin than leave too much space between words. (The infamous "overfull hbox", whose black slug indicating an error certain styles remove incidentally, even in draft mode... grrrr) I'm not sure why Knuth thought an overrun was such a better idea than extra whitespace in an hbox, while extra white space was preferable to an overrun in a vbox, but the result in many published papers, and even some books, has been ugly.

Well Knuth's reasoning behind this actually has been explained. LaTeX has no idea what the optimal solution for a given line-break problem might be. Rather than make a blind choice between bad white-space or hyphenation, LaTeX is designed to warn the editor and let him or her decide how to deal with the problem. Usually what I do is just bump up tolerance for small problems. If you want for LaTeX to NEVER overrun, there is sloppy.

For the specific case of $S$-poly-nomial, this seems like the perfect case for a command: newcommand{spoly}{$S$-poly-nomial}. spoly in your LaTeX source file will be expanded to the full expression with the manual hyphenation rule. Of course since LaTeX are just text files, you can also just do a mass search and replace as well and get them all in one shot. For other cases, there is also the hyphenation list for dealing with frequently used words that are not hyphenated properly: hyphenation{man-u-script}.