With respect to using the glossaries
package, if I have an acronym with a long hyphenated word, it often result in sentences that runs into margins. For example:
\newacronym[sort=WH]{WH}{Wh}{Wiener-Hammerstein}
results in:
I have also tried
\newacronym[sort=WH]{WH}{Wh}{Wiener\-Hammerstein}
But that fails as well, it just produces WienerHammerstein
.
How do I get round this problem and allow the hyphenated ord to break across the hyphen, but always write the hyphen in normal situations?
Best Answer
The issue is not related to
glossaries
. As soon as a word has an explicit hyphen TeX assumes it is only allowed to break there. A quick solution would bethat is, adding allowed break points manually.
Another solution would be to use
babel
shorthands.