# Beamer and italian accented letters

I'm trying to use beamer class for my thesis, I'm italian so my language use a lot of accented letters, but beamer misunderstand that letters. This is a MWE of my problem:

\documentclass{beamer}
\mode<presentation>

\usetheme{Warsaw}
\usepackage[latin1]{inputenc}

\begin{document}
Test: à
\end{document}


All that I get from this is an A with ~ on it.

-
Have you saved in Latin-1 encoding? It works for me if you do, but fails as you describe when saved in UTF-8. –  Joseph Wright May 3 '12 at 20:46
where can I choose how to save file? –  Mariano May 3 '12 at 20:49
That depends on which editor you use. –  Joseph Wright May 3 '12 at 20:50
TexMaker: xm1math.net/texmaker –  Mariano May 3 '12 at 20:51
add comment

## 2 Answers

The best way I found to put accented letters and ensure multiuser and multisystem compatibility is to encode the document in UTF8.

If you use texmaker Preferences -> Editor -> Font Encoding. Select UTF8.

Then in the document preamble write:

\usepackage[utf8]{inputenc}

-
Perfect. Thank you! –  Mariano May 3 '12 at 21:01
I'm italian too, and I remember the pains when I started using LaTeX :) –  Edo May 3 '12 at 21:01
add comment

Try a semi-automatic input selection by the selinput package from the oberdiek bundle.

\documentclass[italian]{beamer}
\mode<presentation>
\usetheme{Warsaw}
\usepackage[T1]{fontenc}
\usepackage{selinput}     % Replacement for »inputenc«
\SelectInputMappings{     % Semi-automatic input selection
agrave={à},             % by a list of selected glyphs
egrave={è},             % see: http://partners.adobe.com/public/developer/en/opentype/glyphlist.txt
Euro={€}
}
\usepackage{babel}

\begin{document}
\begin{frame}
Test: à ì
\end{frame}
\end{document}

-
add comment