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/05/23 13:56] – d.p.carlisle | 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: | ||
- | ```latex | ||
- | \mbox{oddword} | ||
- | ``` | ||
- | (Plain TeX users should use `\hbox`, and take care at the start | ||
- | 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: | ||
- | ```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: | ||
- | ```latex | ||
- | \usepackage[french, | ||
- | \selectlanguage{english} | ||
- | \hyphenation{oddword} | ||
- | \selectlanguage{french} | ||
- | \hyphenation{oddword} | ||
- | ``` | ||
- | (note that [`babel`](https:// | ||
- | document& | ||
- | |||
- | 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 `\uchyph` is designed for suppressing such | ||
- | behaviour: | ||
- | ```latex | ||
- | \uchyph=0 | ||
- | ``` | ||
- | will stop hyphenation of upper-case words. | ||
- | syntax is needed here: there' | ||
- | this value.) | ||
- | |||
- | |||
- | ---- | ||
- | |||
- | Content last updated: 2014-06-10 | ||