I've written a document in LaTeX, using two-column format, 11pt, times font. Many of my words appear hyphenated, and for every description list item, I get a badbox warning (no problems visible in the output though). How can I fix this?
The \nolinebreak command prevents LaTeX from breaking the current line at the point of the command. With the optional argument, number, you can convert the \nolinebreak command from a demand to a request. The number must be a number from 0 to 4. The higher the number, the more insistent the request is.
The correct answer may be to put the two word in an \mbox{keep together} . Then you avoid hyphenation, but not overfull lines. Then, you can write \MSA/ (notice the slash), and LaTeX will not eat a following space. Unfortunately, such commands may be awkward to type keyboards other than US-English.
The command \- inserts a discretionary hyphen into a word. This also becomes the only point where hyphenation is allowed in this word.
While, yes, you could make TeX less picky or even go the ragged option, this is best fixed by the microtype
package. Just loading it should do the trick:
\usepackage{microtype}
It provides two features to improve the typesetting of paragraphs:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With