blob: 4b1eb28c382c57619e1a44666725204b5353e278 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
<head>
<title>UK TeX FAQ -- question label hyphenaccents</title>
</head><body>
<h3>Accented words aren’t hyphenated</h3>
<p/>TeX’s algorithm for hyphenation gives up when it encounters an
<code>\</code><code>accent</code> command; there are good reasons for this, but it means
that quality typesetting in non-English languages can be difficult.
<p/>For TeX macro packages, you can avoiding the effect by using an
appropriately encoded font (for example, a Cork-encoded font — see
<a href="FAQ-ECfonts.html">the EC fonts</a>) which contains accented
letters as single glyphs. LaTeX users can achieve this end simply
by adding the command
<pre>
\usepackage[T1]{fontenc}
</pre>
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.
<p/>One might hope that, with the many aspirant successors to TeX such
as
<a href="FAQ-omegaleph.html">Omega</a>, <a href="FAQ-luatex.html">LuaTeX</a> and
<a href="FAQ-extex.html">ExTeX</a>,
all of which base their operations on Unicode, that the whole basis of
encodings will change.
<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=hyphenaccents">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=hyphenaccents</a>
</body>
|