hyphenation exceptions
![](https://secure.gravatar.com/avatar/cedc4d83943006afe3994fb0a0455f82.jpg?s=120&d=mm&r=g)
Hello, I don't want to tell TeX about hyphenation exceptions in the text, only once for all in an environment file. How can I do this with words like "DNA-Fragmente" or "$\beta$-Verknüpfung" ? \hyphenation{...} does not seem to work here, and I don't want to write DNA-Frag\-men\-te nor $\beta$-Ver\-knüp\-fung in the text. TIA for any help! Cheers, Peter -- http://pmrb.free.fr/contact/
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
Peter Münster wrote:
Hello,
I don't want to tell TeX about hyphenation exceptions in the text, only once for all in an environment file. How can I do this with words like "DNA-Fragmente" or "$\beta$-Verknüpfung" ?
Write: $\beta$||Verknüpfung instead. The two bars break the single word in two seperate ones, and both are hyphenated normally ($\beta$ will not hyphenate of course, but you get the idea, I hope). A few things can be inbetween the ||'s, for words like |(|multi|)|valued but normally you use just ||. This even makes sure that the compound hyphen is slightly longer then the auto-inserted one, so that it is still possible to distinguish that it is a compound word if hyphenation happens right at the ||. Cheers, Taco
![](https://secure.gravatar.com/avatar/cedc4d83943006afe3994fb0a0455f82.jpg?s=120&d=mm&r=g)
On Sun, 29 Jan 2006, Taco Hoekwater wrote:
Write: $\beta$||Verknüpfung instead. The two bars break the single word in two seperate ones, and both are hyphenated normally ($\beta$ will not hyphenate of course, but you get the idea, I hope). A few things can be inbetween the ||'s, for words like
|(|multi|)|valued
but normally you use just ||. This even makes sure that the compound hyphen is slightly longer then the auto-inserted one, so that it is still possible to distinguish that it is a compound word if hyphenation happens right at the ||.
Hello Taco, thanks, this is a nice little feature! Is it already documented somewhere, or should I add something to the wiki? Cheers, Peter -- http://pmrb.free.fr/contact/
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
� wrote:
On Sun, 29 Jan 2006, Taco Hoekwater wrote:
Write: $\beta$||Verkn�pfung instead. The two bars break the single word in two seperate ones, and both are hyphenated normally ($\beta$ will not hyphenate of course, but you get the idea, I hope). A few things can be inbetween the ||'s, for words like
|(|multi|)|valued
but normally you use just ||. This even makes sure that the compound hyphen is slightly longer then the auto-inserted one, so that it is still possible to distinguish that it is a compound word if hyphenation happens right at the ||.
Hello Taco, thanks, this is a nice little feature! Is it already documented somewhere,
it's an old feature so there should be docu in several places (at least it's shown here and there) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/5a39f1335b6eff433673ed987859fb24.jpg?s=120&d=mm&r=g)
Am 2006-01-30 um 15:06 schrieb Hans Hagen:
thanks, this is a nice little feature! Is it already documented somewhere, it's an old feature so there should be docu in several places (at least it's shown here and there)
But a wiki page on hyphenation won't hurt. \hyphenation, \setuphyphenmark, perhaps \tolerance etc. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://contextgarden.net http://www.cacert.org (I'm an assurer)
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
� wrote:
Hello,
I don't want to tell TeX about hyphenation exceptions in the text, only once for all in an environment file. How can I do this with words like "DNA-Fragmente" or "$\beta$-Verkn�pfung" ? \hyphenation{...} does not seem to work here, and I don't want to write DNA-Frag\-men\-te nor $\beta$-Ver\-kn�p\-fung in the text.
DNA||Fragmente DNA|-|Fragmente Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (4)
-
Hans Hagen
-
Henning Hraban Ramm
-
Peter Münster
-
Taco Hoekwater