Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I compile LaTeX in UTF8? [closed]

Tags:

utf-8

latex

I did my document in an ISO-standard. It does not support umlaut alphabets, such as ä and ö. I need them. The document gets compiled without UTF8, but not with UTF8. More precisely, the document does not get compiled with the line at the beginning of my main.tex:

\usepackage[utf8]{inputenc} 

How can I compile my LaTeX document in UTF8?

like image 561
Léo Léopold Hertz 준영 Avatar asked Aug 10 '09 03:08

Léo Léopold Hertz 준영


People also ask

What is UTF-8 LaTeX?

Encoding. Overleaf uses the UTF-8 encoding for all text files. UTF-8 is the most widely used character encoding on the web today. You can use it to represent any unicode character, which includes an enormous variety of letters, numbers and symbols, including Greek letters and letters with accents.

What does \Usepackage UTF-8 ]{ Inputenc do in LaTeX?

In fact UTF-8 is so popular that the LaTeX team decided to make \usepackage[utf8]{inputenc} the default in LaTeX. Since the April 2018 release of LaTeX, LaTeX has automatically pre-loaded \usepackage[utf8]{inputenc} . That means that you no longer need to specify \usepackage[utf8]{inputenc} in order to use UTF-8 input.

What is UTF-8 package?

utf8 is an R package for manipulating and printing UTF-8 text that fixes multiple bugs in R's UTF-8 handling.

What is Inputenc in LaTeX?

The inputenc package is how LaTeX knows what encoding is used. For instance, the following command explicitly says that the input file is UTF-8 (note the lack of a dash). \usepackage[utf8]{inputenc} Caution: use inputenc only with the pdfTeX engine (see TeX engines).


1 Answers

I'm not sure whether I got your problem but maybe it helps if you store the source using a UTF-8 encoding.

I'm also using \usepackage[utf8]{inputenc} in my LaTeX sources and by storing the files as UTF-8 files everything works just peachy.

like image 134
Uwe Honekamp Avatar answered Oct 11 '22 23:10

Uwe Honekamp