Text FormattingAccent like "è"...

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
speed field
Posts: 1
Joined: Sun Jul 21, 2013 11:36 pm

Accent like "è"...

Post by speed field »

I've got a problem with accent in Latex. I use Miktex 2.9 on windows vista, with TeXstudio. If I write \'e I read é but I would like to read "è". \usepackage[latin1]{inputenc} doesn't work, the only way is \usepackage[italian]{babel} \usepackage[T1]{fontenc}, but work correctly only in the main, in the chapter which I include with command \input{name_chapter} the commands does not work.

How can I resolve this problem?
Last edited by cgnieder on Mon Jul 22, 2013 10:50 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Accent like "è"...

Post by Johannes_B »

This seems to be a file encoding problem. All your files should have the same encoding. With the right options, you can input accented letter directly. Try the following (you can also click on Open in Writelatex):

Code: Select all

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\begin{document}
é and è or \'e and \`e

and also with ú and ù or \'u and \`u
\end{document}
With modern editors utf8 should be the right encoding.

Please also read about Minimal working examples. They help to show the problem.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply