File: FAQ-hyphenaccents.html

package info (click to toggle)
tetex-base 3.0.dfsg.3-5
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 239,540 kB
  • ctags: 10,610
  • sloc: xml: 103,461; perl: 9,398; ruby: 2,850; python: 1,551; php: 1,067; sh: 981; lisp: 494; makefile: 371; awk: 88
file content (27 lines) | stat: -rw-r--r-- 1,191 bytes parent folder | download | duplicates (3)
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
<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&amp;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>In the future, perhaps, <a href="FAQ-omega.html">Omega</a> will provide a rather
different solution.
<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>