Try to use the t1enc package, which will tell LaTeX to
use the T1 encoding.
--
Alain Kessi (alain...@psi.ch)
at Paul Scherrer Institut, Zuerich, Switzerland
Hello Martin,
as far as I know, the primary question in this is what fonts you are
using. If they represent accented characters by a single sign then
hyphenation works fine. If the character set produces accented
characters only by combining two different signs (e.g. kerning),
hyphenation of those words is no longer possible after the syllab
containing such a combined character.
That means all the computer modern fonts aren't suitable for texts
with umlauts, etc.
You should use the new T1 fonts and hyphenation of words with umlauts
is no longer a problem. With these fonts, i found the following
preambel to be useful:
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[french,german]{babel}
Hope that helps
Gerald
___________________________________________
Gerald Wildgruber No one can have an idea
ge...@ue801be.ppp. once he starts really
lrz-muenchen.de listening. - John Cage
(NeXTMail and MIME
welcome)
Hi,
I have some problems with TeX/LaTeX hyphenating german
words with umlauts. I think this is a known problem, but
I don't remember the solution :-(
I use teTeX 0.3.3 with german hyphenation patterns loaded,
and I've got
\usepackage[german]{babel}
in my header.
Now LaTex won't hyphenate words like ''Oberfl"achenspannung''.
Question 1: Why this???
If I write it as ''Ober\-fl"a\-chen\-span\-nung'' everything
works fine. Now, I didn't wan't to do this every time (my
thesis is a lot about tensions...) and tried
\hyphenation{Ober-fl"a-chen-span-nung}
in the header. This produces the error
! Not a letter.
\normal@char" ->"
Question 2: Is there any way to use \hyphenation with umlauts?
Thanks for any help,
Martin
Yes, if you use a font encoding that includes the accented characters
directly. This works best either with DC fonts and T1 encoding, or
with `PostScript' fonts (using DC or some other encoding like TeX 'n
ANSI that makes all 58 `standard' accented glyphs accessible).
Of course your hyphenation package has to be set up for the same encoding
as the font. Fortunately DC encoding matches ISO Latin 1 in the
critical parts, as does TeX 'n ANSI, so the same hyphenation tables can be
used for these three encodings.
------------------------------------------------------------------------------
Berthold K.P. Horn
>\usepackage[german]{babel}
>Now LaTex won't hyphenate words like ''Oberfl"achenspannung''.
>Question 1: Why this???
Most probably because "a makes an \accent, and words including
\accent cannot be hyphenated, a basic restriction of TeX.
>Question 2: Is there any way to use \hyphenation with umlauts?
Well, basically, you cannot use \accent. That's tough. And it is
the reason the DC fonts were cooked up: they contain accented
letters already. And LaTeX2e contains the mechanisms where
it can use such letters if they are encoded like the DC fonts.
Just put
\usepackage[T1]{fontenc}
at the top of your file. And be sure to have the DC fonts
installed.
--
David Kastrup, Goethestr. 20, D-52064 Aachen Tel: +49-241-72419
Email: d...@pool.informatik.rwth-aachen.de Fax: +49-241-79502
I have some problems with TeX/LaTeX hyphenating german
words with umlauts. I think this is a known problem, but
I don't remember the solution :-(
I use teTeX 0.3.3 with german hyphenation patterns loaded,
and I've got
\usepackage[german]{babel}
in my header.
Now LaTex won't hyphenate words like ''Oberfl"achenspannung''.
Question 1: Why this???
If I write it as ''Ober\-fl"a\-chen\-span\-nung'' everything
works fine. Now, I didn't wan't to do this every time (my
thesis is a lot about tensions...) and tried
\hyphenation{Ober-fl"a-chen-span-nung}
in the header. This produces the error
! Not a letter.
\normal@char" ->"
Question 2: Is there any way to use \hyphenation with umlauts?
Thanks for any help,
Martin
--
====================================================================
| Martin Kraus kr...@iff143.iff.kfa-juelich.de |
| kr...@mpikg-teltow.mpg.de |
====================================================================
| IFF - KFA, 52425 Juelich, GERMANY Tel. 02461-61-6131, Fax -2850 |
| MPIKG, Kantstr. 55, 14513 Teltow, Tel. 03328-46-589, Fax -212 |
====================================================================
| Robert-Koch-Str.2, 52428 Juelich, Tel. 02461-55468 |
| c/o Ocon, Fregestr. 35, 12161 Berlin, Tel. 030-8515230 |
====================================================================