Why can't I show accents in latex?

As soon as I use accents in my text, it will no longer work. It reports an error:

! Undefined control sequence.
<argument> R\UTF 
                 {00E9}seau Ethernet
l.88 \section{R\UTF{00E9}seau Ethernet}

? 

To explain the output a bit, I'm trying to compile \section{Réseau Ethernet}on this line.

I think this is due to the encoding. Can someone tell me where should I look to fix this? I use TeXShop with MacOS X. Is there any additional information I need to provide?

Edit: I think the actual problem seems to be related to this warning:

Package frenchb.ldf Warning: The definition of \@makecaption has been changed,
(frenchb.ldf)                frenchb will NOT customize it;
(frenchb.ldf)                reported on input line 83.

Since I already use

\usepackage[french]{babel}
\usepackage[T1]{fontenc}
+3
source share
4 answers

Have a look here: http://en.wikibooks.org/wiki/LaTeX/Internationalization .

TeXlive, GNU/Linux:

\usepackage[french]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}

, . TeTeX \usepackage{ucs} utf8x utf8.

+7

LaTeX cheatsheet [PDF ]. é e. , .

+3

Try to add;

\usepackage[utf8]{inputenc}

before the start of the document.

+2
source

From version 1.35 TexShop supports XeTeX , so say goodbye to LaTeX utf8 hell and write in any language and font that you want.

+1
source

Source: https://habr.com/ru/post/1709603/


All Articles