Ceci est une ancienne révision du document !


— title: Accented words aren't hyphenated category: usage tags: hyphenation permalink: /FAQ-hyphenaccents date: 2014-06-10 —

TeX's algorithm for hyphenation gives up when it encounters an `\accent` command; there are good reasons for this, but it means that quality typesetting in non-English languages can be difficult.

For TeX macro packages, you can avoiding the effect by using an appropriately encoded font (for example, a Cork-encoded font — see [the EC fonts](FAQ-ECfonts)) which contains accented letters as single glyphs. LaTeX users can achieve this end simply by adding the command ```latex

\usepackage[T1]{fontenc}

``` to the preamble of their document. Other encodings (notably LY1, once promoted by Y&Y inc) may be used in place of T1. Indeed, most current 8-bit TeX font encodings will “work” with the relevant sets of hyphenation patterns.

With the advance of XeTeX and LuaTeX to the mainstream, a new regime for generating hyphenation tables is in place. For each language, a table is written in Unicode, and “8-bit” versions are generated for use with various LaTeX font encodings. Original sets of patterns remain on CTAN, for use when an older environment is needed.

2_composition/langues/cesure/pas_de_cesure_dans_les_mots_accentues.1528035556.txt.gz · Dernière modification: 2018/06/03 16:19 par samcarter
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0