-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

LaTeX Cookbook
By :

By default, LaTeX works with simple ASCII characters. For accented characters, such as in the German word "schön", you need to type sch\"on
into your editor. The babel
command with the ngerman
option simplifies the syntax to sch"on
. But there is an easier way.
We will activate extended input character support as follows:
Check your editor's configuration and find out its input encoding setting. utf8
(UTF-8 means Unicode) is standard for Linux, Mac OS X, and some Windows editors. However, some Windows editors still work with latin1
or cp1250/cp1252
, while some older Macs use applemac
.
Load the inputenc
package with the corresponding option, like so:
\usepackage[utf8]{inputenc}
Now you can directly type characters such as a, ü, ö, é, and è in to your document.
If you need help with editor settings, you can post a question in the forum at http://latex-community.org/forum/. This web site provides support forums for various LaTeX editors.