how to get latex to hyphenate a word that contains a dash ?

Posted by Gyom on Stack Overflow See other posts from Stack Overflow or by Gyom
Published on 2010-02-03T16:02:57Z Indexed on 2010/05/12 22:34 UTC
Read the original article Hit count: 298

Filed under:
|
|

In a latex document I'm writing, I get an overfull hbox warning because of the word "multi-disciplinary", which happens to be rendered at the end of a line.

I can get rid of this particular warning by changing it into multi-discipli\-nary, but the same problem will happen elsewhere, since this word is used a lot in the paper.

I'd like to use the \hyphenation{} command instead, but obviously my tentative \hyphenation{multi-disci-pli-na-ry} does not work, because it does not understand the first dash correctly.

What incantation do I need to get correct indentation in a word that already contains a dash ?

Bonus question: where could I have found the answer to that question myself ?

© Stack Overflow or respective owner

Related posts about latex

Related posts about hyphenation