Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
composition:langues:cesure:empecher_la_cesure_de_certains_mots [2018/12/03 23:19] – jejust | 3_composition:langues:cesure:empecher_la_cesure_de_certains_mots [2021/12/01 21:29] (Version actuelle) – Suppression de la page reportée sur une page plus générale. yannick.tanguy | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== Preventing hyphenation of a particular word ====== | ||
- | |||
- | |||
- | It's quite possible for (//any//) hyphenation of a particular word | ||
- | to seem " | ||
- | hyphenated. | ||
- | |||
- | If the word occurs in just one place, put it in a box: | ||
- | |||
- | <code latex> | ||
- | \mbox{oddword} | ||
- | </ | ||
- | (Plain TeX users should use '' | ||
- | of paragraphs.) | ||
- | unless you are sure it only occurs once. | ||
- | |||
- | If the word occurs commonly, the best choice is to assert an | ||
- | hyphenation exception for it: | ||
- | |||
- | <code latex> | ||
- | \hyphenation{oddword} | ||
- | </ | ||
- | This hyphenation exception (with no break points) will be used in | ||
- | preference to what TeX's hyphenation algorithm may come up with. | ||
- | |||
- | In a multilingual document, repeat the exception specification for | ||
- | each language the word may appear in. So: | ||
- | |||
- | <code latex> | ||
- | \usepackage[french, | ||
- | \selectlanguage{english} | ||
- | \hyphenation{oddword} | ||
- | \selectlanguage{french} | ||
- | \hyphenation{oddword} | ||
- | </ | ||
- | (note that [[ctanpkg> | ||
- | document --- English, in this case --- at '' | ||
- | |||
- | A particular instance of this requirement is avoiding the hyphenation | ||
- | of acronyms; a general rule for those that concoct acronyms seems to | ||
- | be to make the capital-letter sequence read as near as is possible | ||
- | like a " | ||
- | The TeX control '' | ||
- | behaviour: | ||
- | |||
- | <code latex> | ||
- | \uchyph=0 | ||
- | </ | ||
- | will stop hyphenation of upper-case words. | ||
- | syntax is needed here: there' | ||
- | this value.) | ||
- | |||
- | |||
- | ----- | ||
- | |||
- | //Source:// [[faquk> | ||
- | |||
- | {{htmlmetatags> | ||
- | metatag-og: | ||
- | metatag-og: | ||
- | }} | ||